Commit Graph

32817 Commits

Author SHA1 Message Date
AnierinB
302437d1e5 Settings: Update gesture LabeledSeekBarPreference to SliderPreference component
Co-authored-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: AnierinB <anierin@evolution-x.org>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:33 +09:00
AnierinB
d86c6e60ed Settings: Update ExtraDim slider to SliderPreference component
For expressive design.

Co-authored-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: AnierinB <anierin@evolution-x.org>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:33 +09:00
Ido Ben-Hur
0103dce92f Settings: Add support for daily and weekly data usage cycles [2/2]
Change-Id: Ib43ca55f0f7fec5202982f5786176184809ab9f8
2025-12-10 00:41:33 +09:00
Henrique Silva
dcaec74227 DevelopmentSettings: Disable automatic updates
Change-Id: Ife413320e73aedffb30e6b056f3f71b0db38bb46
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:33 +09:00
Pranav Vashi
faa325e100 Settings: Update strings for override dark mode
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:33 +09:00
Pranav Vashi
f3b6cea771 Settings: Move force dark mode to dark mode settings
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:33 +09:00
LibXZR
344fcbbe73 Settings: Add preference for resetting auto brightness adjustment
Change-Id: Iec214a30b1cfe3885b94cfd7c69fe60bc93372a1
Signed-off-by: LibXZR <i@xzr.moe>
2025-12-10 00:41:33 +09:00
Chris Crump
bc315d1771 Settings: Introduce Adaptive Playback [2/2]
* Animation by Sahul Krishan
* Adapt to Android 11 by @mickaelmendes50

[Hernán Castañón] Adaptive Playback: allow choosing no timeout.

Co-authored-by: Hernán Castañón Álvarez <herna@paranoidandroid.co>
Change-Id: I82c20b89d06b722d8f9da1bdb14eb096a7d088c9

AdaptivePlayback: Add a intro text to the fragment

 * Let's help users to understand what the feature does
   by adding a little introduction text.

Change-Id: Ie9ef15d7f60ab2197c30c79434c9fb876c498cd5
Co-authored-by: AshutoshSundresh <ashutoshsundresh@gmail.com>
Signed-off-by: Mesquita <mesquita@aospa.co>

Settings: Move "Adaptive Playback" option to Sound Settings.

 * Our gestures category looks bloated with features.
   Move this to Sound Settings where it feels better and more homely.

Change-Id: I28fd022a4998141435a1e89a027b7a1fe6f75537
Signed-off-by: Mesquita <mesquita@aospa.co>

AdaptivePlayback: Rename it to 'Smart Pause' to keep a better fluency

 * As we already have an 'Adaptive Sound' in sound settings

Change-Id: Iaca4b7d65fe490ee6462ba49907316930deaeaa5
Signed-off-by: Mesquita <mesquita@aospa.co>

Change-Id: I82c20b89d06b722d8f9da1bdb14eb096a7d088c9
2025-12-10 00:41:33 +09:00
rmp22
6459858d1d Themes: use legacy material background color
Change-Id: Ibef07b33633ed7d6db40865bfbeb9a547ef2c11e
2025-12-10 00:41:33 +09:00
Ritesh
a65bdfbe44 Settings: Improve strings for hide screen capture status from apps feature
Signed-off-by: Ritesh <SahanyRitesh@proton.me>
2025-12-10 00:41:33 +09:00
Joey Huab
741fea4ee9 Settings: Update HDR strings to match Android Canary release
* Ref: https://www.androidauthority.com/android-canary-hdr-settings-3576420
2025-12-10 00:41:33 +09:00
jhenrique09
9d62214276 AmbientDisplay: Add custom pref for devices with custom doze packages
Change-Id: Ie065f3892360f56d930ad1a373547454fb80892b
Signed-off-by: jhenrique09 <jhenrique09.mcz@hotmail.com>
Signed-off-by: HeroBuxx <me@herobuxx.me>
2025-12-10 00:41:33 +09:00
Adithya R
f840809b4c Settings: Improve udfps enroll introduction layout
Avoid scrolling by making the illustration fit available space.

Change-Id: I5300875b7790ee3664eff22d3517289ed04ef696
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Dmitrii <bankersenator@gmail.com>
2025-12-10 00:41:33 +09:00
Adithya R
5551f258f3 Settings: Fixup fingerprint enroll finish layout
Using a fixed layout size meant that the view was becoming scrollable
in landscape mode. Instead use the parent size with a max height and
width. Center the layout and cleanup unused elements while at it.

Change-Id: If39d67d679a3e77bc9210e98885b4addfd1660d7
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Dmitrii <bankersenator@gmail.com>
2025-12-10 00:41:33 +09:00
Joey Huab
f0ca40ccab Settings: Migrate Touchpad visualizer to SwitchPreferenceCompat 2025-12-10 00:41:33 +09:00
Oscar
ddf47ebe6c (fingerprint): guard against out-of-bounds access in getVendorString()
Add null and bounds checks to prevent crashes when accessing the
fingerprint_acquired_vendor string array. This ensures safe fallback
behavior and logs appropriate error messages when the index is invalid.

Also improves stability during enrollment help handling on Google devices.

05-23 22:59:15.144 11647 11647 E AndroidRuntime: FATAL EXCEPTION: main
05-23 22:59:15.144 11647 11647 E AndroidRuntime: Process: com.android.settings, PID: 11647
05-23 22:59:15.144 11647 11647 E AndroidRuntime: java.lang.IllegalArgumentException: vendor string index is out of range of [0, -1] (too high)
05-23 22:59:15.144 11647 11647 E AndroidRuntime: 	at com.android.settings.biometrics.fingerprint.feature.SfpsEnrollmentFeatureImpl.getVendorString(go/retraceme bb4a03fdc34cff7f722829db90aff515e0ae20b72b33e5004f74889672317151:33)
05-23 22:59:15.144 11647 11647 E AndroidRuntime: 	at com.android.settings.biometrics.fingerprint.feature.SfpsEnrollmentFeatureImpl.getFeaturedVendorString(go/retraceme bb4a03fdc34cff7f722829db90aff515e0ae20b72b33e5004f74889672317151:48)
05-23 22:59:15.144 11647 11647 E AndroidRuntime: 	at com.android.settings.biometrics.fingerprint.FingerprintEnrollEnrolling.onEnrollmentHelp(go/retraceme bb4a03fdc34cff7f722829db90aff515e0ae20b72b33e5004f74889672317151:7)
05-23 22:59:15.144 11647 11647 E AndroidRuntime: 	at com.android.settings.biometrics.BiometricEnrollSidecar.onEnrollmentHelp(go/retraceme bb4a03fdc34cff7f722829db90aff515e0ae20b72b33e5004f74889672317151:5)
05-23 22:59:15.144 11647 11647 E AndroidRuntime: 	at com.android.settings.biometrics.fingerprint.FingerprintEnrollSidecar.access$201(go/retraceme bb4a03fdc34cff7f722829db90aff515e0ae20b72b33e5004f74889672317151:1)
05-23 22:59:15.144 11647 11647 E AndroidRuntime: 	at com.android.settings.biometrics.fingerprint.FingerprintEnrollSidecar$1.onEnrollmentHelp(go/retraceme bb4a03fdc34cff7f722829db90aff515e0ae20b72b33e5004f74889672317151:3)
05-23 22:59:15.144 11647 11647 E AndroidRuntime: 	at com.android.settings.biometrics.fingerprint.FingerprintUpdater$NotifyingEnrollmentCallback.onEnrollmentHelp(go/retraceme bb4a03fdc34cff7f722829db90aff515e0ae20b72b33e5004f74889672317151:3)
05-23 22:59:15.144 11647 11647 E AndroidRuntime: 	at android.hardware.fingerprint.FingerprintCallback.sendAcquiredResult(FingerprintCallback.java:199)
05-23 22:59:15.144 11647 11647 E AndroidRuntime: 	at android.hardware.fingerprint.FingerprintManager$FingerprintServiceReceiver.lambda$onAcquired$1(FingerprintManager.java:1572)
05-23 22:59:15.144 11647 11647 E AndroidRuntime: 	at android.hardware.fingerprint.FingerprintManager$FingerprintServiceReceiver.$r8$lambda$wcZms5DTCBGW5VTEeJRCWEIwTW4(Unknown Source:0)
05-23 22:59:15.144 11647 11647 E AndroidRuntime: 	at android.hardware.fingerprint.FingerprintManager$FingerprintServiceReceiver$$ExternalSyntheticLambda10.run(D8$$SyntheticClass:0)
05-23 22:59:15.144 11647 11647 E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:991)
05-23 22:59:15.144 11647 11647 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:102)
05-23 22:59:15.144 11647 11647 E AndroidRuntime: 	at android.os.Looper.loopOnce(Looper.java:232)
05-23 22:59:15.144 11647 11647 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:317)
05-23 22:59:15.144 11647 11647 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:8930)
05-23 22:59:15.144 11647 11647 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
05-23 22:59:15.144 11647 11647 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:595)
05-23 22:59:15.144 11647 11647 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:911)
2025-12-10 00:41:33 +09:00
Dmitry Muhomor
58b0657a69 fix fingerprint enrollment on Google devices with side FP scanner 2025-12-10 00:41:33 +09:00
Chris Lahaye
03c1db305c Settings: Add pocket lock toggle
AICP Pie: Modified defaults to false.
	Brought up to 10 with androidx

@jhenrique09 edits: Adapt strings, and also use config_pocketModeSupported on isAvailable

Change-Id: I398c8f0be23c27cbcf1fb57eed44a801b31bc6c9

Settings: Remove pocket lock toggle icons

 * Also move it to lockscreen settings

Change-Id: Iae8a6b4739c317e723c0cfad46db5ceb494f74f8
Signed-off-by: Dmitrii <bankersenator@gmail.com>
2025-12-10 00:41:32 +09:00
Ido Ben-Hur
6f43cd72cd Settings: Allow showing Ambient instead of fully waking [2/2]
* [joeyhuab] Adapt to A16; Remove MainSwitchPreference.updateStatus like 041bc113eb

Separate configs for st2w and lift to wake
Follow our convention in the rest of the switches in that page

Change-Id: Ibd82d808aca2caf3f9c4518eb0c2e5f60669759e
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
Signed-off-by: Edwiin Kusuma Jaya <kutemeikito0905@gmail.com>
2025-12-10 00:41:32 +09:00
AnierinB
fd81964ba3 Settings: Apply expressive design to evolver icon
Signed-off-by: AnierinB <anierin@evolution-x.org>
2025-12-10 00:41:32 +09:00
Joey Huab
4e41856a9b [TMP] Settings: Drop changes for SettingsGoogle
Revert "Settings: Update gesture and security prefs"

This reverts commit bbba3dc66cc38c18c8656b92b5cdcc6c818183dd.

Revert "Settings: Remove duplicate adaptive preferences"

This reverts commit efc40de6ea5bb13a3cdcdd3ce40ddf03794910e6.

Revert "Settings: Import settings from pixel-fw"

This reverts commit 728adfe615efce272c941aaa2ea1fbc4b8252d47.

Revert "Settings: Import columbus preference settings"

This reverts commit 9730ea6ef9dc14f38c0306302943b96d2b040e2e.

Revert "Settings: Replace android:name for SettingsGoogle"

This reverts commit d0bb4734e998a35297de6bf0915d7338dba7fe7d.

Revert "Settings: Define android manifest"

This reverts commit a11e61d788037ebe40a809b5212ebd79d91f0bec.
2025-12-10 00:41:32 +09:00
Joey Huab
51a13a02e3 Revert "Settings: Pass empty lottie resource for quickly open camera animation"
This reverts commit 212730dd7599f49f306214a1fe4923c4c45ebe9f.
2025-12-10 00:41:32 +09:00
rmp22
2cfd52ca24 display: add hdr display switch preference
Change-Id: Ibbafce724ae0386c054394cdd8089ec58593cb30
Signed-off-by: rmp22 <195054967+rmp22@users.noreply.github.com>
2025-12-10 00:41:32 +09:00
Jyotiraditya Panda
241740eada Settings: Use ActionPrimaryButton style for face buttons
Change-Id: I7967bf07a18cedf22b80a99c9c1b59357c22766f
Signed-off-by: Jyotiraditya Panda <jyotiraditya@aospa.co>
2025-12-10 00:41:32 +09:00
ShevT
506fc9a0a5 Settings: Add Comss DNS provider 2025-12-10 00:41:32 +09:00
shivatejapeddi
b7413bbcc7 Settings: Move Notch Cutout to Display
Signed-off-by: minaripenguin <minaripenguin@users.noreply.github.com>
2025-12-10 00:41:32 +09:00
Dmitry Muhomor
d4e7b3a39c add app battery optimization settings link to Battery screen 2025-12-10 00:41:32 +09:00
someone5678
e8e5a0a3e9 colors: Enable Triluminos Display engine
Change-Id: I230c22dc9358e75f8d844c9309059e9a55faabb5
2025-12-10 00:41:32 +09:00
minaripenguin
5e2c84d01b colors: Introduce Reality display engine [2/2]
Change-Id: Ib565b3ffaa8a5f5832d5a620961abffd754e2dfc
Signed-off-by: minaripenguin <minaripenguin@users.noreply.github.com>
2025-12-10 00:41:32 +09:00
ezio84
ec7587d465 Settings: Allow to quickly open Running Services from meminfo view
@/neobuddy89: Updated for A14.

Change-Id: I252ce85bda3daab5c5e4db097a6fd743365bc309
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:32 +09:00
Ido Ben-Hur
d1797ce890 Settings: Add Circle To Search [2/2]
Requires framework overlays:

<string name="config_defaultContextualSearchPackageName" translatable="false">com.google.android.googlequicksearchbox</string>

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:32 +09:00
Ido Ben-Hur
bacd39318a Settings: Add a toggle for long press on navbar to search [3/3]
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:32 +09:00
SamarV-121
7f43f30062 Settings: Add support for disabling fingerprint lockout [2/2]
Change-Id: Iaff463e98be8b8819685cf7e29ba4eb6152c77ae
2025-12-10 00:41:31 +09:00
Ido Ben-Hur
cd032f54c8 Settings: Extend protect sensitive info to MAC [2/2] 2025-12-10 00:41:31 +09:00
Dil3mm4
489912f297 Battery: Implement background process killer [2/2]
Change-Id: I9a07a6866ad1a4f6b07823b7be2dd6ae81a36c1c
Signed-off-by: dlwlrma123 <alexfinhart@gmail.com>
2025-12-10 00:41:31 +09:00
Danny Lin
7b7a181490 Use default letter spacing for category titles
This allows Inter Dynamic Metrics to take effect.

Change-Id: I587d2b94bba73e3c6f85b421e655a3285da6c01b
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:31 +09:00
Ido Ben-Hur
d071bfebf5 Settings: Move custom vib pattern to its own preference
Also improve the code while at it

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:31 +09:00
Ido Ben-Hur
5c1cea77b5 Settings: Allow choosing a custom vibration pattern [3/3]
Change-Id: I574da771ae90321f65d8ffddecd59db430105bb2
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:31 +09:00
Ido Ben-Hur
9b3c789826 Settings: Add vibration patterns from OOS [3/3]
a rewrite of: c4560cafae

Change-Id: If5e776b622d603ed9c4022e23e6904b5c996e195
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:31 +09:00
someone5678
7d5d1b77a7 Settings: Move to lowercase of "Apps" in Cloned Apps title
* Unify with Android's style

Change-Id: Ice8efcdaff26455ca988aa26df041476708a324e
2025-12-10 00:41:31 +09:00
maxwen
ccdde52e98 Settings: buttons text should no longer be allCaps
Change-Id: I60d574c1c0ffc3092148f5f704d75fcad8308d00
2025-12-10 00:41:31 +09:00
maxwen
c86240f23b Settings: disable all bugreport settings
we dont need those

Change-Id: I7dd62da21e7a48b6a8182df60ac1a06461a1fa8e
Signed-off-by: rohan <purohit.rohan@gmail.com>
Signed-off-by: Joey Huab <joey@evolution-x.org>
Signed-off-by: Kunmun <kunmun.devroms@gmail.com>
2025-12-10 00:41:31 +09:00
someone5678
0876b26204 Settings: Use List Preference for Zen mode settings
Change-Id: Id737ab6469012fcc1fbfb5c5bd5112f6c55c0eeb
2025-12-10 00:41:31 +09:00
someone5678
6f6aa340cf Settings: Use List Preference for Dock speaker plays and Emergency tone
Change-Id: Ia899f2ba6d4663c2315ee35c093ca14cb26ae450
2025-12-10 00:41:31 +09:00
Joe Maples
42ab19853b Settings: Add developer setting to set the default GPU renderer.
This reverts commit 7c26e3388c.

DerpFest edit: Migrate to androidx

Change-Id: I3add320d15ee2dc9a22497e40687bc5e1781e043
Signed-off-by: NurKeinNeid <mralexman3000@gmail.com>
Signed-off-by: rezaadi0105 <rezaadipangestu5@gmail.com>
2025-12-10 00:41:31 +09:00
Ido Ben-Hur
61ad4824ce Settings: Introduce AutoDimService [2/2]
Exactly like AutoAODService but for REDUCE_BRIGHT_COLORS_ACTIVATED

Signed-off-by: mukesh22584 <mks22584@gmail.com>
2025-12-10 00:41:31 +09:00
Ido Ben-Hur
2eec709cf1 Settings: Allow scheduling always on display [2/2]
* Squash of
  yaap/packages_apps_YASP@30441ec
  yaap/packages_apps_YASP@b896aa6
  yaap/packages_apps_YASP@f500a60

[jhonboy121]: adapted to A13 and use a preference controller to update the preference

Co-Authored-By: jhonboy121 <alfredmathew05@gmail.com>
Change-Id: If736f5609ca660e3c9797a309c814d2dcd618d31
2025-12-10 00:41:31 +09:00
Joey
f401bbc5ad Settings: Add a preference controller for Volume steps settings
* Enable volume steps pref by default
2025-12-10 00:41:31 +09:00
Ido Ben-Hur
f7df878d2f Settings: Allow customizing volume stream steps [2/2]
only media, calls and alarms seem fit
the rest are pretty much set and forget and don't need vol button granularity

Change-Id: I6ce6fa79df7b94ae84912945f6129048895067b2
2025-12-10 00:41:31 +09:00
rituj
9fab4f5616 Settings: Add option to cycle through ringer modes [2/2]
* @mickaelmendes50 : Adapt to Android 12, 13

Signed-off-by: rituj <ritujbeniwal@gmail.com>
Change-Id: If4a387a9f8a465d33b25b87b0360fa20f1cee7de
2025-12-10 00:41:31 +09:00