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>
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
When help_url_battery_defender is empty, tapping on Learn more button
causes a NPE.
Issue: calyxos#2809
Change-Id: Ib1c52dcff430cae7c4bc0793120ace837f5bf4c7
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
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
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>
... in the same category as Security & privacy
... with an approach that can be reused for other keys in the future
Change-Id: I666ebd7f90c11f1836bac10f7fca38baa5aedf93
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
-----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
mIsInSetupWizard was moved to top of NetworkProviderSetting's onCreate
so it is available for addPreferences().
Change-Id: I9299c3033e96bcd30450ec239f14fb5daa800d63
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>
Change-Id: I5fcff258c878bd12d252321f269b89f3afa334ab
Signed-off-by: Jyotiraditya Panda <jyotiraditya@aospa.co>
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
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
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
* 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
- Taken from Google's material symbols and icons
Change-Id: I0f000193c3590a0c751713d1947778787a90ca47
Signed-off-by: penglezos <panagiotisegl@gmail.com>
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
In the Wi-Fi configuration dialog, properly set the initial value for
the MAC address randomization privacy spinner.
Bug: 279001779
Change-Id: I14f444429a4f4534f361dd25d032c2bae5b662fb