Commit graph

143672 commits

Author SHA1 Message Date
elpaablo
50de1ef231 Add Scoopdroid logo 2025-02-26 21:38:48 +00:00
elpaablo
5a6671008d Introduce Scoopdroid settings 2025-02-25 00:41:04 +00:00
LineageOS Infra
b722610b9c Automatic translation import
Change-Id: I99e92692cd4bc7520d2f4781ea9beb685110889e
2025-02-15 15:47:27 +00:00
LuK1337
0eb034cc82
Settings: Make SIM toggle unchangable when not supported
Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/8290
Change-Id: I2e566c24969708c31f607af2baad88b388bda74d
2025-02-10 15:06:22 +01:00
Michael Bestas
a0338d65bd Android 15.0.0 Release 14 (AP4A.250205.002)
-----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ6KKkwAKCRDorT+BmrEO
 eNPNAJ9gnkbW1rCJwKCH7wajR7iXhjMKygCgjiUaYDMk8xVbU7cNwFc2rcT1GQE=
 =zte+
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN SSH SIGNATURE-----
 U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgPpdpjxPACTIhnlvYz0GM4BR7FJ
 +rYv3jMbfxNKD3JvcAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5
 AAAAQPtLw2mJs3qa8laKKFRzXqvlUnzU9DE9pFMN+YnPdoYXzovs+hYdkFUAwvneuWtS1O
 AMHiPfSF7NqiZhhU3ZVgE=
 -----END SSH SIGNATURE-----

Merge tag 'android-15.0.0_r14' into staging/lineage-22.1_merge-android-15.0.0_r14

Android 15.0.0 Release 14 (AP4A.250205.002)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ6KKkwAKCRDorT+BmrEO
# eNPNAJ9gnkbW1rCJwKCH7wajR7iXhjMKygCgjiUaYDMk8xVbU7cNwFc2rcT1GQE=
# =zte+
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue Feb  4 23:45:55 2025 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [ultimate]

# By Adam Bookatz (1) and Jason Chiu (1)
# Via Android Build Coastguard Worker
* tag 'android-15.0.0_r14':
  Don't let profiles open the UserSettings overflow
  Block the content scheme intent in AccountTypePreferenceLoader

Change-Id: Ibef81d8e48c3e7bfb9046c784d72052ac230ad7a
2025-02-05 17:50:35 +02:00
LineageOS Infra
31ad24c037 Automatic translation import
Change-Id: I496f8336c605c2166c1790dfbad7333b8c28763a
2025-02-01 14:28:42 +00:00
AnierinB
12ac6298d9 Settings: Set key order on addition
When the activity is created, injected preferences were not setting their order. This could potentially lead to two bottom preferences
in a given category on rebind. Ensure the order is set during key addition to prevent such issues.

Follow up to change: I1dc0148c5595f20daf026970d6514e63776b0499

Change-Id: I9df0bafbc2d2eddde94f07104d803fdc46adec8c
Signed-off-by: AnierinB <anierin@evolution-x.org>
2025-01-31 22:15:22 +00:00
Tommy Webb
8dbb64ddfb fixup! Fix background data clobbering other policies
Fetching the state of policies was not working due to an incorrect use
of Arrays.asList() - if you give it an int array, you just get a list
with that int[] as a single element, so using the contains method with
an int will always return false. This has now all been refactored.

Test: Manual: Open Settings > Network & Internet > Data Saver >
Unrestricted data. Turn it on for something. Go back, and then
return to the page. It should still show as on.

Issue: calyxos#2547
Change-Id: I671544f6fdf9897484c6265c31c8b3cd29ad4a92
2025-01-21 05:30:32 +00:00
LineageOS Infra
a81f96bb17 Automatic translation import
Change-Id: I49421284ab4d812132cc5dee24667030652489c4
2025-01-15 20:54:55 +00:00
Michael Bestas
fa7e6f0919 BatteryTip: Hide Learn more button if URL is empty
When help_url_battery_defender is empty, tapping on Learn more button
causes a NPE.

Issue: calyxos#2809
Change-Id: Ib1c52dcff430cae7c4bc0793120ace837f5bf4c7
2025-01-11 22:31:16 +00:00
Michael Bestas
6c6a2b1f38 Android 15.0.0 release 10
-----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ32Y8AAKCRDorT+BmrEO
 eK6hAJ44OmwyzYD7NajWArffVNukCizU/wCdHO/7fo4RbrxnDV0H1EHWP65TyQI=
 =Qjab
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN SSH SIGNATURE-----
 U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgPpdpjxPACTIhnlvYz0GM4BR7FJ
 +rYv3jMbfxNKD3JvcAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5
 AAAAQMmYM9XfCi8n3W/2Umi9dUMBuR6h4W6HtPgAk5codrrIcr6VXT8UhhNFJYgo+nPwU2
 CXw+Gd3jKrU8YZ5kTjfwM=
 -----END SSH SIGNATURE-----

Merge tag 'android-15.0.0_r10' into staging/lineage-22.1_merge-android-15.0.0_r10

Android 15.0.0 release 10

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ32Y8AAKCRDorT+BmrEO
# eK6hAJ44OmwyzYD7NajWArffVNukCizU/wCdHO/7fo4RbrxnDV0H1EHWP65TyQI=
# =Qjab
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue Jan  7 23:13:20 2025 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Can't check signature: No public key

# By Guojing Yuan
# Via Android Build Coastguard Worker
* tag 'android-15.0.0_r10':
  [CDM][NLS] Check if the NLS service has an intent-filter

Change-Id: I07a8de69487474cc25ada7efbf6a530d8ee3dbc3
2025-01-08 02:21:00 +02:00
LineageOS Infra
534a7571f2 Automatic translation import
Change-Id: I9569c045ab94c5616a2a28ee1bca28e6827a0434
2025-01-02 08:11:20 +00:00
Michael Bestas
dc1856d7b1
Revert "Settings: Use display version for, well, displayed version"
This reverts commit f4219c025d0ebc4564255ce62842e316a0a78fc5.

Change-Id: I7fb4d7b60fd5cab14d24e17d7f4b508bffad6e5c
2024-12-26 02:32:25 +02:00
Luca Stefani
0e4260f625 Settings: Migrate VPN upstreams to AOSP settings
Change-Id: Ib6a6108cb1b648611f91e0cfdb877f3551462a56
2024-12-20 09:08:57 +01:00
YK Hung
9212bba66d Fix the NPE in the tryToFetchUsageData() method
Test: atest
Bug: 371490669
Fix: 371490669
Flag: EXEMPT for simple fix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:291e92d6493b9640bc87bc787b58daa0936bae8e)
Merged-In: I4167becf373a6279135261bbaff44ef0888728fa
Change-Id: I4167becf373a6279135261bbaff44ef0888728fa
2024-12-20 00:38:42 +00:00
Michael Bestas
1e271bc838 Merge tag 'android-15.0.0_r6' into staging/lineage-22.0_merge-android-15.0.0_r6
Android 15.0.0 Release 6 (AP4A.241205.013)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ1IssgAKCRDorT+BmrEO
# eFDIAKCOeYTtdt0egok4UBTocTSNNkLmeACeLgNUHO1UvOSfTGYN/LnaoG9W0Dc=
# =pH//
# -----END PGP SIGNATURE-----
# gpg: Signature made Fri Dec  6 00:44:02 2024 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2469 signatures in the past
#      3 years.  Encrypted 4 messages in the past 2 years.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381  0964 E8AD 3F81 9AB1 0E78

# By Bill Yi (94) and others
# Via Automerger Merge Worker (783) and others
* tag 'android-15.0.0_r6': (743 commits)
  [Homepage Revamp] hide the scroll bar of homepage
  Don't show default payment component in search if Wallet role is enabled
  Avoid using MANDATORY_BIOMETRICS bit if flag is not enabled
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Fix Can't Able to Click Sims
  Fix for broken tests in Accessibility Settings
  Change "Open by default" setting page selection to radio buttons
  [Settings] Fix crash
  remove the DSDS dialog
  Migrate "Build number" preference
  Migrate "Kernel version" preference
  Migrate "Baseband version" preference
  Rename AudioSharingRetryDialogFragment
  Rename AudioSharingLoadingStateDialogFragment and layout
  Check canEnterMobileNetworkPage
  Check DISALLOW_CONFIG_MOBILE_NETWORKS when search
  [Audiosharing] Show retry dialog when error occurs in start sharing
  Update color-check-baseline.xml
  ...

 Conflicts:
	Android.bp
	AndroidManifest.xml
	src/com/android/settings/accessibility/AccessibilitySettings.java
	src/com/android/settings/biometrics/fingerprint/FingerprintSettings.java
	src/com/android/settings/fuelgauge/datasaver/DynamicDenylistManager.java
	src/com/android/settings/inputmethod/PhysicalKeyboardFragment.java
	src/com/android/settings/shortcut/CreateShortcutPreferenceController.java
	src/com/android/settings/wifi/WifiConfigController2.java
	tests/robotests/src/com/android/settings/accessibility/AccessibilitySettingsTest.java

Change-Id: Ideece6940ede6a9247a02dff00f802af84202cb7
2024-12-20 00:37:18 +00:00
Android Build Coastguard Worker
446578ba4f Merge cherrypicks of ['googleplex-android-review.googlesource.com/30291592', 'googleplex-android-review.googlesource.com/30474011'] into 24Q4-release.
Change-Id: I7291fc33e868a433f8da0a1ac87c54d9bb7b24fe
2024-12-18 08:34:03 -08:00
Adam Bookatz
efb8f8401b Don't let profiles open the UserSettings overflow
Really, profiles aren't expected to open Settings at all. But if they
do somehow, the overflow shouldn't appear.

Bug: 352542820
Flag: EXEMPT bugfix
Test: Try to access the overflow of the work profile by launching its Settings in
adb shell am start --user 10 'com.android.settings/.Settings\$UserSettingsActivity'
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:69c7f5dac580361792bbb189178653b297d06c8a)
Merged-In: I5e4c095cda3e19fa5c63c2c550a526f5da8ec5c1
Change-Id: I5e4c095cda3e19fa5c63c2c550a526f5da8ec5c1
2024-12-18 08:26:53 -08:00
Jason Chiu
046a18c9ae Block the content scheme intent in AccountTypePreferenceLoader
Bug: 366401629
Flag: EXEMPT security fix
Test: atest AccountTypePreferenceLoaderTest, manual
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:841fb3846b25dee4ae5924fd798cd48709c69801)
Merged-In: Ica87087341cc983df04190919e33dc369fa18619
Change-Id: Ica87087341cc983df04190919e33dc369fa18619
2024-12-18 08:26:40 -08:00
LineageOS Infra
4921d7935b Automatic translation import
Change-Id: Idf1ae3638deb938356634c4a05e3c11194c192e9
2024-12-16 06:30:08 +00:00
Michael W
c087d56fee Settings: Backup: Apply insets properly
One more forgotten victim to the edge-to-edge chaos

Change-Id: Ifc906e4fee4ba281e3e6d3660e43848afba1e788
2024-12-03 19:28:39 +01:00
LineageOS Infra
0e0d1a5353 Automatic translation import
Change-Id: If700c86022590b9f7b2a9c2bb6ac7220e8b44f8b
2024-12-02 02:54:26 +00:00
AnierinB
8efb33511a Settings: Set key order during rebind
When the activity is resumed, injected preferences were losing their
order. This could potentially lead to two bottom preferences in a
given category. Ensure the order is retained during key rebind to
prevent such issues.

Follow up to change I666ebd7f90c11f1836bac10f7fca38baa5aedf93

Change-Id: I1dc0148c5595f20daf026970d6514e63776b0499
Signed-off-by: AnierinB <anierin@evolution-x.org>
2024-11-24 23:36:23 +00:00
Android Build Coastguard Worker
4a14b60383 Merge cherrypicks of ['googleplex-android-review.googlesource.com/29656688'] into 24Q4-release.
Change-Id: I9671e56d1479d60ff0f44d5aa0de5448ae3a6a61
2024-11-22 16:59:36 +00:00
Guojing Yuan
cd25b83304 [CDM][NLS] Check if the NLS service has an intent-filter
Bug: 363248394
Test: CTS
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:7ae59a42eb13f643d842525208619037c074371a)
Merged-In: Ib79c219cde8d73a218ceb7911f4552d43e384d8e
Change-Id: Ib79c219cde8d73a218ceb7911f4552d43e384d8e
2024-11-22 16:55:44 +00:00
LineageOS Infra
13affa05ae Automatic translation import
Change-Id: Iad1d360b7913b9b4dcfe5150637729585e005e52
2024-11-16 06:48:17 +00:00
Michael W
029d24f5a7 Settings: Place and order Google & Digital Wellbeing
... in the same category as Security & privacy
... with an approach that can be reused for other keys in the future

Change-Id: I666ebd7f90c11f1836bac10f7fca38baa5aedf93
2024-11-11 21:16:46 +01:00
Michael W
3248cf9aab Settings: Move Google Setting way down
Having it at the very top /might/ make sense on a Google centric device
like a Pixel, but on a neither Google focused device or OS, it should
not be as prominent as it is right now

Change-Id: Iff3dae180e19b32ad684c13b9cf7b0263b7b9e89
2024-11-11 19:09:56 +01:00
Tommy Webb
488ab0b537 Fix background data clobbering other policies
Stop removing preexisting UID policies when toggling
Background network access / unrestricted data usage.

Issue: calyxos#2118
Change-Id: If54d0a0925c5da0f3d519d0a85491ff3b7b62351
2024-11-09 15:23:11 +01:00
Michael Bestas
86aae56098 Android 15.0.0 release 5
-----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZyvenQAKCRDorT+BmrEO
 eMv6AJ9R1HOHNYlB4t3eC//tQgLxHGrjygCaA7xwa1Ychbn4tsWPdfSWGuE9ioA=
 =e7Fo
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQJLBAABCgA1FiEEHrBYPudH862glXQBzJUERRm+ZmkFAmcstMYXHG1rYmVzdGFz
 QGxpbmVhZ2Vvcy5vcmcACgkQzJUERRm+ZmmERg/+JPBMxms8Sg7H8WqFAvNDZ5jF
 iVw67H1wcQTPK+MdAnZ2KWjDqlhi508COyTQ/1cbEX/rDxM8tP73UYRgpaHucI2Q
 BmVs3K5L3KUXKz5dTSuryoR8Xrh1B8HWy6oM9YF/jMvX/p5dprhst+3wrdKIdJcT
 YEj7JheaHOSlN+OX+fquWQ3XxrM1RP4eK48CUPpNiMqo26Tpku+L5h4BzzGBOyeu
 AwEPC2FVTtuW8+J8NCIXsReXqwhrlc0FtFIK1knapSXgfsUMtVO6Uj7OK7EEEfjn
 sVyUQ6VnryHLqQDeMBJEPLIQWslGAKJIqj9eoQ4Vn6ZkEpoVZB4XA8Mg8xr+FBqw
 MG5xD10qUX8MDWn+qAF8I1mXUutgPRPTKn8STIWfkgx40LJlUPBjBzJ2NxbneXZh
 aEn6omcAwxYWzI2Mite8PKslf0V+kKwZoF/g1HoJnEJ3If5eyVKk2LN84ZnpKqr1
 320PGaDEq3XDZEqfLBFE0qvtAZQcJTI0KCMDdtZ/0CaJRcm9cxdyXKet6CErxpzL
 fKGDoF5cyoWdREF5bPFqLMb+Joh0Ctkn0XEw6RG6ruxOuRZjESovncWrvOIMBaeD
 2bfTQqdxxV0sYoygaM/zKp9QTXVfB9aCeBMVoBGm+E/zbq6Pm4BeBzPXoY9czG2T
 DvjCKk51TPsS5amNHR8=
 =6ME1
 -----END PGP SIGNATURE-----

Merge tag 'android-15.0.0_r5' into staging/lineage-22.0_merge-android-15.0.0_r5

Android 15.0.0 release 5

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZyvenQAKCRDorT+BmrEO
# eMv6AJ9R1HOHNYlB4t3eC//tQgLxHGrjygCaA7xwa1Ychbn4tsWPdfSWGuE9ioA=
# =e7Fo
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed Nov  6 23:24:45 2024 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2332 signatures in the past
#      3 years.  Encrypted 4 messages in the past 2 years.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381  0964 E8AD 3F81 9AB1 0E78

# By Adam Bookatz (1) and others
# Via Android Build Coastguard Worker
* tag 'android-15.0.0_r5':
  Stops hiding a11y services with the same package+label as an activity.
  Only check INTERACT_ACROSS_USERS_FULL when user handle is not current
  Checks cross user permission before handling intent
  startActivityForResult with new Intent

Change-Id: I8d32037caafcf1bbb560a24dbf44f0aa68799e07
2024-11-07 14:38:30 +02:00
Alexander Koskovich
400176ffa3 Add a mobile data toggle for setup
mIsInSetupWizard was moved to top of NetworkProviderSetting's onCreate
so it is available for addPreferences().

Change-Id: I9299c3033e96bcd30450ec239f14fb5daa800d63
2024-11-07 09:53:10 +00:00
Jesse Chan
4b5fe3fc35 Settings: support black theme for dark mode [2/4]
Change-Id: I12451c0b72f73b08b885e8103bbe3e74a0c4e19f
2024-11-04 18:07:33 +01:00
LineageOS Infra
3b116aaa90 Automatic translation import
Change-Id: I4f6fbb3e53decb996d3eb1374cebd33d97266e3d
2024-10-31 17:49:43 +00:00
shoya0x00
1434c5118f
Settings: Set correct categories for GMS top level activities
On new revamped Settings UX dashboard is missing styling for GMS top
level activities. This is fixed by assigning them respective categories.

Change-Id: I5f18fab2419c8346760c4f6bed6f77e1eac8e059
Signed-off-by: shoya0x00 <shoya0x00@users.noreply.github.com>
2024-10-30 18:04:14 +01:00
althafvly
cc197f403e
Revert "[Sim UI enhancement] remove the "Tap to show info""
This reverts commit c6eba747db.

Change-Id: Ib8403ca842a4655d1526b27f1965feeee336c687
2024-10-25 03:11:11 +03:00
Michael Bestas
a59710648d
Make battery cycle count configurable and disable it by default
Most devices don't report valid cycle count.

Change-Id: I32478dac8ff409cd90506495eca42b9df987919b
2024-10-25 03:11:11 +03:00
Michael Bestas
ff000afcad
Hide unavailable battery info
Some devices wrongly report 0 for battery info.

Change-Id: Icee022c7d37c79cdd72c607cb43c9827c871e4da
2024-10-25 03:11:11 +03:00
Jyotiraditya Panda
7d6af248bf
Settings: deviceinfo: Extend Battery info page
Change-Id: I5fcff258c878bd12d252321f269b89f3afa334ab
Signed-off-by: Jyotiraditya Panda <jyotiraditya@aospa.co>
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
2024-10-25 03:11:11 +03:00
Michael Bestas
32537c0cfb
Make battery info configurable and enable it by default
Change-Id: If38db229e420e9f7c0ac26abb42a2a309b2f87c2
2024-10-25 03:11:10 +03:00
Tommy Webb
da270f9fa1
DynamicDenylistManager shall not exist
Remove DynamicDenylistManager to avoid its conflicting behavior
with our firewall. This stops the resetting of firewall policies
on boot and for other reasons. The user is in control of these
policies and doesn't need them to be unexpectedly reset.

Issue: calyxos#2211
Test: Manual: Turn off Background network access for any app. Then,
in Firewall, turn off another toggle like Wi-Fi. Reboot, and check
the toggles. Background network access and Wi-Fi should still be off.
Change-Id: Ie62ddfa3a893c9adf5d4fd0c8670235a5a51e03f
2024-10-25 03:10:45 +03:00
Bruno Martins
c0725de2d0
FingerprintSettings: Add proximity check awareness if supported
Fingerprint authentication when screen is off doesn't nativelly
support checking the proximity sensor status to prevent accidental
unlocks. However, some devices implement this feature, so account
for that. The only thing really needed is just to adapt the
descriptions shown to the users.

Change-Id: I635f7b1a2970c0364b6cd22dfe20e69d009a3f91
2024-10-25 03:10:45 +03:00
Michael W
2da2ec0395
Settings: Hide Flashlight
* Class comment states: "Headless activity that toggles
  flashlight state when launched."
* Comment in constructor states:
  "The sole purpose of this activity is to provide a place
   to index flashlight into Settings search."
* Since it does only the second thing successfully and we
  do neither know why we need a useless search result nor
  does it serve any purpose, hide it from search results
* We could remove the whole class, but since it's from AOSP
  I decided to keep the change footprint minimal

Test: Type "Flashlight" into settings search - result does not
appear anymore
Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/6397

Change-Id: I53541c700e24efd33d386c38a4ea38fb1b8b81d6
2024-10-25 03:10:45 +03:00
Timi Rautamäki
746c5738cb
Settings: make sure Wifi exists before adding controllers
Change-Id: I6c1fd5222aa9fd33cbec67b8f572d031bfe86466
2024-10-25 03:10:45 +03:00
penglezos
f33e8f00c3
Settings: Add private dns icon
- Taken from Google's material symbols and icons

Change-Id: I0f000193c3590a0c751713d1947778787a90ca47
Signed-off-by: penglezos <panagiotisegl@gmail.com>
2024-10-25 03:10:45 +03:00
Danny Trunk
cb4551203a
Settings: Add charging control part
Change-Id: Idd82e304ccdc17cbd95b7bc64785fe579d690152
2024-10-25 03:10:45 +03:00
Chirayu Desai
56f9b53aa0
Add Cloudflare DNS as a private DNS provider
* Handle this entirely in Settings, no need to touch anything
  else at all

Change-Id: I7e8a320d47e7c5ddbcb9acfaf23032ae92d5d70d
2024-10-25 03:10:34 +03:00
juwei
1c55576337
Settings: Add switch preference for AGPS
Allow toggling AGPS (which in turn disables SUPL) using the existing
AOSP mechanism that was simply never exposed to the user.
Based on the following commits from CodeAurora, modified to
use SwitchPreference and improved strings:

Author: juwei <juwei@codeaurora.org>
Date:   Mon May 7 13:31:50 2018 +0800
    Settings: Add AGPS setting menu.

    Add AGPS setting switch to allow user turn on/off
    AGPS function.

    Change-Id: If8a20a8293b9f4b12933bc3820b4cd135a938b72
    CRs-Fixed: 2169854

Author: hoffc <hoffc@codeaurora.org>
Date:   Wed Dec 19 15:56:07 2018 +0800
    Settings: Refactor Agps preference controller code

    (1) Extract inner class AgpsPreferenceController as one standalone file.
    (2) Delete the useless code of reading the SUPL server and port from etc/gps.conf file.
    (3) Remove the config item "config_agps_enabled".

    Change-Id: I20465aa4375c7fe64bc84f579a39178506b8e211
    CRs-Fixed: 2370304

Author: hoffc <hoffc@codeaurora.org>
Date:   Tue Jun 1 08:52:31 2021 +0800
    Settings: fix NPE caused by missing agps preference definition

    No agps preference is defined in location settings, results in NPE when agps controller init

    add agps preference definition in location settings

    Change-Id: I92e3293bccb90da7b6a1057e2dd83f8aa909d308
    CRs-Fixed: 2958241

Issue: calyxos#1490
Co-authored-by: Chirayu Desai <chirayudesai1@gmail.com>
Co-authored-by: Michael Bestas <mkbestas@lineageos.org>
Change-Id: Idea7026f0c954c1f2a056e7b4595a879ef161f5c
2024-10-25 03:10:18 +03:00
Tommy Webb
7410e8742c
Properly set Wi-Fi Privacy spinner initial state
In the Wi-Fi configuration dialog, properly set the initial value for
the MAC address randomization privacy spinner.

Bug: 279001779
Change-Id: I14f444429a4f4534f361dd25d032c2bae5b662fb
2024-10-25 03:10:18 +03:00
LuK1337
75b993ab59
Settings: Pass empty lottie resource for quickly open camera animation
This lets us hide it properly.

Change-Id: I02ac031a835236811b82a7de283335390ffebab9
2024-10-25 03:10:17 +03:00
Michael W
f1ce66758b
Settings: Good news, encryptable=footer is broken
* Add a warning to discourage usage

Change-Id: I1913d6a94ea040d545a7946bc4a21d731c41e612
2024-10-25 03:09:43 +03:00