Commit Graph

13741 Commits

Author SHA1 Message Date
Edgar Wang
63db9ece5b [Expressive] Update styling of NLS dialog
Update button styling of NLS dialog to align with Material style, including padding, text size, border, and background color.

Bug: 418881806
Test: Visual
Flag: EXEMPT resource update
Change-Id: I486b7bbb42061103fe15b8be9c275b78143caf2e
2025-12-10 00:41:49 +09:00
Weng Su
7d9db6ffe9 Refine the "Edit VPN profile" dialog layout
- Limit the content layout height to leave enough height for the buttons at the bottom

Bug: 417389474
Flag: EXEMPT resource update only
Test: Manual testing

Change-Id: Idd66a1a3757b59b1bbea998fb17030541095acf6
2025-12-10 00:41:49 +09:00
Nikhil Nayunigari
f7d5ecee9a Adding share toggle to the network details page
Adds the share toggle and checks if there is a conflict when user
attempts to change the toggle. In case of a conflict, an alert dialog in shown
to the user.

Bug: 409845756

Flag: com.android.settings.connectivity.wifi_multiuser

Test: Manual testing
Change-Id: Ia57b967ad933ebb19f27f1e50d6a69210b84ac4c
2025-12-10 00:41:35 +09:00
Nikhil Nayunigari
9bc9820a22 Adding allow edit toggle to the Wifi network details page
This CL adds the toggle and its associated controller. Controller reads
and sets the toggle in the WifiEntry.

Bug: 409845916

Flag: com.android.settings.connectivity.wifi_multiuser

Test: Manual testing
Change-Id: I39b2b991acd1e53acc5c9cf12329e08b3f900ea0
2025-12-10 00:41:35 +09:00
Bruno Martins
1388253756 network: Link to custom eSIM settings
Change-Id: I48cab34d1bb2d7784a4471f17620bc9e8f243bf4
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:34 +09:00
Adithya R
5be56b2af9 Settings: Allow disabling refresh rate lowering in battery saver
Change-Id: Icc6a25d36f84819402007a99b3f8322510d9da15
Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>
2025-12-10 00:41:34 +09:00
cjh1249131356
2fdab6cf4d Settings: Implement RefreshRateManager [SQUASHED] [2/2]
Includes:
- Per-app refresh rate config
- Extreme refresh rate (Force all apps to run in maximum refresh rate)
- Temp refresh rate allowed (Used in MEMC)
- Refresh rate QS tile

Change-Id: I30024eb8ce63f00a6f2fa1ea0230b004ff93ac74
Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>

Settings: Create BasePerAppConfigFragment

* Allow more preference types instead of only ListPreference.

Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>

Settings: Create PerAppSwitchConfigFragment

Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>

Settings: Add top info for per-app settings

Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>

Settings: Don't show system apps for sensor block fragment

Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>

Settings: Pass uid in per-app config fragment

Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>

Settings: Allow specific allowed system app list for per-app fragment

* We need to allow dialer/messages/contact for fullscreen display settings.

Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>

Settings: Make sure per-app list has no duplicates

Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>

Settings: Warn user app reload before switching fullscreen display

Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>

Settings: Adapt for Android U QPR2

Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>

Settings: Use ArrayMap/Set instead of HashMap/Set

Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>

[joeyhuab: Squashed all changes by same author]

Settings: Add null check for PreferenceScreen in BasePerAppConfigFragment

Co-authored-by: NurKeinNeid <nurkeinneid@derpfest.org>
Signed-off-by: NurKeinNeid <nurkeinneid@derpfest.org>
2025-12-10 00:41:34 +09:00
rmp22
418b5a3713 display: allow changing HDR brightness intensity
Change-Id: I96ffa2daa120b6d85bda07633e050f23cd006867
Signed-off-by: GuidixX <guidixm@gmail.com>
Signed-off-by: Dmitrii <bankersenator@gmail.com>
2025-12-10 00:41:34 +09:00
ezio84
b9a820d5bf Settings: Ambient Music Ticker - Allow to pulse on new tracks [2/2]
Change-Id: Ie40955b574722782e01153a9f4434be296a8d5d3
Signed-off-by: Anushek Prasal <anushekprasal@gmail.com>
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2025-12-10 00:41:34 +09:00
Ido Ben-Hur
21985b160e Settings: Use the same color we use for background for statusbar
Also make sure navbar is transparent
Fix applies to both dark and light themes
2025-12-10 00:41:34 +09:00
rmp22
e7dc414869 gesture: allow hiding navigation ime bar [2/2]
Change-Id: I8666f0cb265e3bf698bd45dcea0bab2c9d6c185f
2025-12-10 00:41:34 +09:00
Joey
01ae2271c9 Revert "Add the rest of Cloudflare and Quad9 Private DNS options"
This reverts commit 6cf0ba379f4bba0d625773b995cac393661ecf11.
2025-12-10 00:41:34 +09:00
Joey
b69d610fe1 Revert "Settings: Add Comss DNS provider"
This reverts commit 80e4fd9177712914f4da1ebe420c5d5d3ae2d665.
2025-12-10 00:41:34 +09:00
NurKeinNeid
30c66bec9c Settings: Improve battery divider handling in BatteryHeaderPreferenceController
Added validation and fallback for battery divider to prevent division errors and ensure reasonable values.

Signed-off-by: NurKeinNeid <nurkeinneid@derpfest.org>
2025-12-10 00:41:34 +09:00
rmp22
d05a888a44 Settings: power off verify
Change-Id: I5e99bd38a1ff50ce3e92d662ab5c07f3a8b22d37
2025-12-10 00:41:34 +09:00
rmp22
a029301c3a Settings: add three finger swipe actions/screenshot combo intercept
Change-Id: I605bdf2e5f975edef7a4865ded35345a085799a7
2025-12-10 00:41:34 +09:00
Ido Ben-Hur
c5a5cc1924 Settings: Allow configuring haptics for wake gestures [2/2]
Change-Id: Iaa771adfb1ebe588ebda65cd9e0ce0fcb359eb30
Signed-off-by: Ghosuto <clash.raja10@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
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
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
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
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
ShevT
506fc9a0a5 Settings: Add Comss DNS provider 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
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
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
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
Ido Ben-Hur
6b5f34599b Settings: Allow disabling private DNS for VPN [2/2]
Allows using the VPN's DNS instead of the set private DNS
Automatically restores the previous set mode

Change-Id: Ib7d91bf151ed593648357c1d7e4013d309e2d927
2025-12-10 00:41:30 +09:00