Commit Graph

148224 Commits

Author SHA1 Message Date
minaripenguin
6fa0ecc75f Settings: Introduce shake gesture
Change-Id: Id5f1bd28381566fd6a0facf328098b0b19d5abe4
Signed-off-by: MOVZX <movzx@yahoo.com>
2025-12-11 09:25:10 +07:00
Pranav Vashi
2920b2e817 Settings: Allow dismissing suggestions
Fixes: https://github.com/crdroidandroid/issue_tracker/issues/782
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:49 +09:00
Arindam Bhattacharjee
a69577e4a5 location: Allow to override Mock Location restriction [2/2]
Some apps like PokemonGo & some dating apps uses isFromMockProvider() API to restrict the Mock Location usage.
This change will allow to override the Mock Location usage restriction.

Change-Id: I288f6c0b8f9c0f91f1d1b609eda154b1b7588120
Signed-off-by: Arindam Bhattacharjee <abhattacharjee717@gmail.com>
2025-12-10 00:41:49 +09:00
Weng Su
a34a740fd1 Update WifiDialogActivity to Expressive theme
Bug: 417789078
Flag: EXEMPT refactor
Test: Manual testing
  atest WifiDialogActivityTest
Change-Id: I653b29581ac09b1d834bc86303f38bb4888c3822
Signed-off-by: Ghosuto <clash.raja10@gmail.com>
2025-12-10 00:41:49 +09:00
Valentin Iftime
a67f1a8aa3 Add Notification Summaries Settings animation
Add Lottie animation for the Notification Summaries Settings page.

Flag: EXEMPT bugfix

Test: manual
Bug: 406803581
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b49118104062919f873e3fe62ca0185cfd335fa2)
Merged-In: If542393dd9b514166db38c2ed6dbaec387e233b6
Change-Id: If542393dd9b514166db38c2ed6dbaec387e233b6
2025-12-10 00:41:49 +09:00
Nikhil Nayunigari
4d574a5c83 Feature flag for multiuser wifi configurations
Flag: com.android.settings.connectivity.wifi_multiuser

Adding an aconfig flag for Multiuser WiFi config CUJs as defined in
go/al-wifi-config-prd

Bug: b/406546793

Test: Build

Change-Id: I1610339a7d19daec454f9eb9339093f8825e8513
2025-12-10 00:41:49 +09:00
Haijie Hong
9d7f7c35bd Update button style for audio stream dialog
Bug: 418095662
Test: local tested
Flag: com.android.settings.flags.enable_bluetooth_settings_expressive_design_read_only
Change-Id: Ie8e850d862ec5cde611f2e4c1b62b05f48026c84
2025-12-10 00:41:49 +09:00
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
Edgar Wang
9c81af7a7f [Expressive design] apply new style to SpellCheckerPreference
Bug: 418025176
Test: visual
Flag: EXEMPT resource update
Change-Id: If72d88b835f77d02a26b682b5fa07ede9cef5657
2025-12-10 00:41:35 +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
Edgar Wang
d782498783 [Expressive design] update BatteryHeaderTextPreference
Bug: 422287669
Test: manual
Flag: com.android.settingslib.widget.theme.flags.is_expressive_design_enabled
Change-Id: I469fe48f952a5e8158ab1b1660fdda28cb3fe97d
2025-12-10 00:41:34 +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
Arman-ATI
1668677ddf [VANILLA REVERTME] Settings: Add changes for SettingsGoogle 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
rmp22
643fd29fad Refresh rate: Add display refresh rate illustration
Change-Id: I3397250b383979b4ab40033a7ae632ece90fc305
Signed-off-by: rmp22 <195054967+rmp22@users.noreply.github.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
08c76e85f3 Settings: store cloned profile user id
Change-Id: I1d0d1c7e33ed736c2970f98772e9eff11a728f8c
2025-12-10 00:41:34 +09:00
rmp22
f36e7d8c7a Settings: explicitly enable cloned apps
match 433776538f

Change-Id: I748fb09e7b4fcd9b699042e217b76bab7c3608ac
2025-12-10 00:41:34 +09:00
Pratyush
4b25a824dc Settings: Enable "install available apps"
allowing adding (installed) apps from (owner) user manager ui.

Signed-off-by: Saikrishna1504 <saikrishna26918@gmail.com>
2025-12-10 00:41:34 +09:00
Pranav Vashi
50ea3878c7 Settings: Add config check for screen off UDFPS
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
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
Joey
6e9bc0b6c8 Notification bundles: remove empty drawable 2025-12-10 00:41:34 +09:00
Danny Lin
a2c2c19950 Settings: Fix stray divider in connected devices screen
When no Bluetooth devices are nearby or no slice is present, there is a
stray preference divider at the top of screen that makes the action bar's
shadow look inconsistent. This removes the divider below the slice,
which is likely not that important for visuals anyway, to fix the action
bar appearance issue.

Change-Id: I6c5d0d00fcf7734b8980cc8c50c248aaf105b25f
Signed-off-by: Anushek Prasal <anushekprasal@gmail.com>
Signed-off-by: SuperDroidBond <superdroidbond@yahoo.com>
Signed-off-by: Dmitrii <bankersenator@gmail.com>
2025-12-10 00:41:34 +09:00
Jason Edson
95c7375afc DevelopmentSettings: Remove system update and other prefs
Moved to just disabling most of the controllers for android10
instead of deleting all the preferences.

Change-Id: If4d73b6c5351d8f39fb672713dbe26ff9a225240
Signed-off-by: Jason Edson <jaysonedson@gmail.com>
Signed-off-by: Joey Huab <joey@evolution-x.org>
Signed-off-by: Dmitrii <bankersenator@gmail.com>
2025-12-10 00:41:34 +09:00
rmp22
4950816c14 Settings: Fix gpu renderer options unsetting hwui renderer
Change-Id: Idbc64373aa45061a474cb3b250e8ff7291d0a0b4
Signed-off-by: rmp22 <195054967+rmp22@users.noreply.github.com>
Signed-off-by: Ghosuto <clash.raja10@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
pjgowtham
7dedc4d3fd Update lottie animations from Pixel 9 Pro XL BP2A.250805.005
Change-Id: I8f6e24857018ac19ec2b6c506e59ac4b5b0dfcc9
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
minaripenguin
d3ceb947be Settings: Add system haptics settings [1/2]
Change-Id: I9072b299affaab1fa53853fea099e38fb8a20b57
Signed-off-by: minaripenguin <minaripenguin@users.noreply.github.com>
Signed-off-by: Ghosuto <clash.raja10@gmail.com>
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
Pranav Vashi
4e02b60dff Settings: Reduce the churn for running services
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:34 +09:00
rmp22
2d3231bb29 Settings: enrollment fix for low-positioned udfps
Change-Id: I2dfc84de962152d94e50ba67c552ae8dd681bfac
Signed-off-by: rmp22 <195054967+rmp22@users.noreply.github.com>
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
Cao Peng
2033cb7931 Remove stray closing tag in mode_interstitial_layout.xml
Remove orphaned "/>" tag that was causing incorrect XML layout structure
in the landscape layout file for mode interstitial.

Test: Settings layout renders correctly in landscape mode
Change-Id: I758b892da3591a058b05161665002aa4852ccf7c
2025-12-10 00:41:34 +09:00
rmp22
c743926e72 Settings: biometrics features enhance
Change-Id: I7dccbe13abcf5eb1034eb9aea6cf42eb54712632
Signed-off-by: rmp22 <195054967+rmp22@users.noreply.github.com>
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
rmp22
4faa014582 Settings: add abstract fragment class to reduce fragments boilerplate
Change-Id: I7abc1f6a59419eecb5c6616a66e12e524d2af1a1
Signed-off-by: rmp22 <195054967+rmp22@users.noreply.github.com>
2025-12-10 00:41:34 +09:00
rmp22
6283b95cb7 Settings: add SearchIndexProviderHolder interface
Change-Id: If707962f087511fc08d9c177da8cfaf98000bbe1
2025-12-10 00:41:34 +09:00
cjh1249131356
6e94d6b041 Settings: deviceinfo: Try read designed capacity from PowerProfile if unavailable
Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:34 +09:00
Pranav Vashi
6cb2fd35e5 Settings: Fixup compose preference layout
* This fixes misaligned Developer Options, Data Usage, Roaming toggle, etc.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:34 +09:00
Pranav Vashi
452dd2c86b Settings: Allow using icon for ComposePreference
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:33 +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
Pranav Vashi
e47862be1b Settings: Enable expressive theme layout for various activities
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:33 +09:00
Pranav Vashi
b50a6f3a6b Settings: Make ticks visible for Vibration intensity prefs
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:33 +09:00
Pranav Vashi
8fe65090ff Settings: Fix illegal state exception on StorageSelectionPreferenceController
Log:
time: 1756667643368
msg: java.lang.ClassCastException: android.widget.LinearLayout cannot be cast to android.widget.TextView
stacktrace: java.lang.IllegalStateException: Default drop down view should be a TextView,
	at com.android.settings.deviceinfo.storage.StorageSelectionPreferenceController$StorageAdapter.getDropDownView(StorageSelectionPreferenceController.java:150)
	at android.widget.Spinner$DropDownAdapter.getDropDownView(Spinner.java:1032)
	at android.widget.Spinner$DropDownAdapter.getView(Spinner.java:1028)
	at android.widget.Spinner.measureContentWidth(Spinner.java:889)
	at android.widget.Spinner$DropdownPopup.computeContentWidth(Spinner.java:1265)
	at android.widget.Spinner$DropdownPopup.show(Spinner.java:1291)
	at android.widget.Spinner.performClick(Spinner.java:797)
	at android.view.View.performClickInternal(View.java:8060)
	at android.view.View.-$$Nest$mperformClickInternal(Unknown Source:0)
	at android.view.View$PerformClick.run(View.java:31554)
	at android.os.Handler.handleCallback(Handler.java:995)
	at android.os.Handler.dispatchMessage(Handler.java:103)
	at android.os.Looper.loopOnce(Looper.java:248)
	at android.os.Looper.loop(Looper.java:338)
	at android.app.ActivityThread.main(ActivityThread.java:9068)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:596)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:932)
Caused by: java.lang.ClassCastException: android.widget.LinearLayout cannot be cast to android.widget.TextView
	at com.android.settings.deviceinfo.storage.StorageSelectionPreferenceController$StorageAdapter.getDropDownView(StorageSelectionPreferenceController.java:148)
	... 17 more

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:33 +09:00