mirror of
https://github.com/MaintainTeam/LastPipeBender.git
synced 2025-02-28 21:38:20 +03:00
privacy-related changes
This commit is contained in:
parent
2007056b61
commit
3a0bf044ff
3 changed files with 9 additions and 2 deletions
|
@ -101,6 +101,13 @@ android {
|
|||
excludes += ['META-INF/README.md', 'META-INF/CHANGES']
|
||||
}
|
||||
}
|
||||
|
||||
dependenciesInfo {
|
||||
// Disables dependency metadata when building APKs.
|
||||
includeInApk = false
|
||||
// Disables dependency metadata when building Android App Bundles.
|
||||
includeInBundle = false
|
||||
}
|
||||
}
|
||||
|
||||
ext {
|
||||
|
|
|
@ -172,7 +172,7 @@ public class MainActivity extends AppCompatActivity {
|
|||
final App app = App.getApp();
|
||||
final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(app);
|
||||
|
||||
if (prefs.getBoolean(app.getString(R.string.update_app_key), true)) {
|
||||
if (prefs.getBoolean(app.getString(R.string.update_app_key), false)) {
|
||||
// Start the worker which is checking all conditions
|
||||
// and eventually searching for a new version.
|
||||
NewVersionWorker.enqueueNewVersionCheckingWork(app, false);
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
android:title="@string/settings_category_updates_title">
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
android:defaultValue="true"
|
||||
android:defaultValue="false"
|
||||
android:key="@string/update_app_key"
|
||||
android:summary="@string/updates_setting_description"
|
||||
android:title="@string/updates_setting_title"
|
||||
|
|
Loading…
Add table
Reference in a new issue