Commit Graph

147986 Commits

Author SHA1 Message Date
Ido Ben-Hur
767a50a987 Settings: Skip auth for USB func ctrl when unlocked in the last 60s
Change-Id: I36e417b93e2e2481368f2fe84eaa4b5dafc3b74b
2025-12-10 00:41:27 +09:00
Ido Ben-Hur
8d9c9c044a Settings: Skip auth for WiFi net share when unlocked in the last 60s
So it matches with the QS tile behavior

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:27 +09:00
Adithya R
a859adcc9d Settings: Move Vo5G toggle right below VoLTE
Change-Id: Ibb221a2cfcc131f125968370d419c1567389f468
Signed-off-by: Anushek Prasal <anushekprasal@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:27 +09:00
minaripenguin
a5cc6b9d2b fuelgauge: Hide screen time since last full charge if not valid
Change-Id: I1c826182b75670241ddfbcf810def21ade476eb8
Signed-off-by: minaripenguin <minaripenguin@users.noreply.github.com>
2025-12-10 00:41:27 +09:00
ezio84
c53126396f Port "Battery Usage Alerts" feature from factory images
thanks @daveyannihilation for suggestions about how to check prebuilt apk

NB: this needs the new Turbo.apk in your vendor blobs:
1305ba501e
Signed-off-by: mydongistiny <jaysonedson@gmail.com>

Change-Id: I51d0213242ad87bfcfecd71c97e3cbb3ff6fd158
Signed-off-by: mydongistiny <jaysonedson@gmail.com>
Signed-off-by: DennySPB <dennyspb@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:27 +09:00
Subhajeet Muhuri
f7bbe61757 Settings: Link smallest width options in display settings
Change-Id: If0c2c43c7be624259d10cddbed1ffd308d062df0
Signed-off-by: mukesh22584 <mks22584@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:27 +09:00
Michael W
1482e2b755 Settings: Follow system theme for SD card activities
* Setting up a new SD card is currently using light theme, no matter
  the system setting
* Convert to DayNight to have it follow system theme

Change-Id: Iaf41c95a03859f40f9895b713c26ee76ff01fed6
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:27 +09:00
ReallySnow
78ec325a8b Settings: Add missing icon for media output
Change-Id: Id4ac89dba079ab46dcb7d97cca7b2c4c8f9fb612
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:27 +09:00
Mukesh Singh
f3be981a26 Settings: Remove typo in manifest to fix predictive back
- Thanks to @Twinchin12 to point out

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:27 +09:00
Your Name
b76af069ff Drawables: Dark mode support for app installation restriction icon
Signed-off-by: Joey Huab <joey@evolution-x.org>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:27 +09:00
Pranav Vashi
aecd3907ff Settings: Add icon for emergency broadcasts
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:27 +09:00
Jyotiraditya
76f9545826 Settings: Move blur toggle to Display options.
Change-Id: I64cadfd69c66a30ada9f5ba5509dd97a85124326
2025-12-10 00:41:27 +09:00
SuperDroidBond
89352269a5 Settings: move Extra Dim feature to display
* It's unjust to keep such useful feature hidden inside Accessibility.
  bringing it to display settings will make it visible and useful.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:27 +09:00
Pranav Vashi
b69d8c3939 Settings: Fix up panel theme and layout
* Ref: 1f7b774ff2
* The reference commit is incomplete.

Change-Id: I2f623b24447b5d8c3988a0061294faf471818c51
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:27 +09:00
ShevT
8672e834a3 Settings: Add icon for 'WiFi cellular data fallback' 2025-12-10 00:41:27 +09:00
ShevT
b7fc4dcf43 Settings: Add icon for 'WiFi direct' 2025-12-10 00:41:27 +09:00
ShevT
9799892c51 Settings: Add icon for WiFi -> Install certificates 2025-12-10 00:41:26 +09:00
ShevT
aadb0dff6c Settings: Add icon for 'WiFi timeout'
Change-Id: I139b7802eef2dd687151c459b702cbe88d914fee
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:26 +09:00
Fabian Leutenegger
82754f2212 Settings: Fix potential NPE in WifiTetherSecurityPreferenceController
* if updateDisplay() gets called but mShouldHidePreference was set to true during init in the constructor, [1] will cause an npe due to securityNames and securityValues being null
 * adding that check as well to updateDisplay() will prevent this from happening

[1]:
for (int i = 0; i < securityNames.length; i++) {
mSecurityMap.put(Integer.parseInt(securityValues[i]), securityNames[i]);
}

Change-Id: Ib9dec499b7aebcfa424f2dd9b310317d4fb0eaf0
2025-12-10 00:41:26 +09:00
Alex Cruz
56688edec2 Add back arrow to Desktop backup password
Change-Id: I2da5879885a15698ced67458451f85cb1afa748f
Signed-off-by: Joey Huab <joey@evolution-x.org>
Signed-off-by: Dmitrii <bankersenator@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:26 +09:00
Akash Srivastava
70b79b4b4e Settings: Remove divider from Battery Manager
* This looks bad and inconsistent compared to other elements in the UI

Change-Id: Ide033c864be9cad756fb2d8553ec9af207737490
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:26 +09:00
Pranav Vashi
050a3d04b7 Settings: Remove dividers in Network & Internet
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:26 +09:00
dlwlrma123
60184d4c87 Settings: Add illustration to dark mode preference
Signed-off-by: Sipun Ku Mahanta <sipunkumar85@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:26 +09:00
maxwen
3123a2f7ea Settings: Check wifi direct feature for showing preferences
Change-Id: I706bd7bb35e8da004a0dfc8c0949beea082514ea
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:26 +09:00
Alex
8a5b8b0253 Settings: Desktop backup password: Tint buttons to match system theme
Change-Id: I91e75eab0b6d9ffc608af1f5977ddd79350b22fc
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:26 +09:00
Alvin Francis
61c3c5c976 display: Import screen resolution from cheetah stock
Change-Id: I3716ff409ba3fb830abaa906a55bb49daed47451
Signed-off-by: Alvin Francis <nivlafx@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:26 +09:00
Dmitry Muhomor
a70aa305d2 battery usage UI: use a fallback name for unknown components
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:26 +09:00
Oliver Scott
77909062da Wi-Fi timeout feature
Also includes squashed change:

Author: Tommy Webb <tommy@calyxinstitute.org>
Date:   Thu May 18 13:47:42 2023 -0400

    fixup! Wi-Fi timeout feature

    Only allow admin users to adjust the Wi-Fi timeout.

    Issue: calyxos#1633
    Change-Id: I9379bdd1fae136b2900692b4ea49c10106b3f285

Issue: calyxos#228
Change-Id: Ib35e45c38ca8c4f7146c8868b92ab98ca8d3c5b3
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:26 +09:00
Oliver Scott
03f2f52e6f Bluetooth timeout feature
* Now use AOSP settings storage instead of LineageSettings.
  This is so the Bluetooth APEX module can access the setting.

Also includes squashed change:

Author: Tommy Webb <tommy@calyxinstitute.org>
Date:   Thu May 18 13:49:24 2023 -0400

    fixup! Bluetooth timeout feature

    Only allow admin users to adjust the Bluetooth timeout.

    Issue: calyxos#1633
    Change-Id: I8b3ae8f0faffde194ee417548e7d200842000fb6

Issue: calyxos#124
Change-Id: I4f4646139cd42b7ad20b486ed77dd00499aa3c6e
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:26 +09:00
Pranav Vashi
67f93a4e84 Settings: Remove remaining hardcoded fonts
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:26 +09:00
jhonboy121
c20a46b63a Settings: Fix rest of the edit menu icon tint
Signed-off-by: jhonboy121 <alfredmathew05@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:26 +09:00
Akash
bbf662318c NightDisplay Settings: Use List Preference for NightLight settings
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:26 +09:00
IacobIonut01
3f0760f894 Settings: Use ListPreference instead of DropDownPreference
Change-Id: I34c21377840ec8a298f3c49e03445151eecc3ec4
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:26 +09:00
Pranav Vashi
d52e5688de Settings: Use List Preference for Dark mode
* Rather ugly Drop Down

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Joey Huab <joey@evolution-x.org>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:26 +09:00
ezio84
0ca6f0cb0b Enable FeatureFlags on "user" builds too
Change-Id: I72c90ae2f66eb1d6a9c6a423f50ea9df626559d2
Signed-off-by: Joey Huab <joey@evolution-x.org>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:26 +09:00
Ido Ben-Hur
30f778eacd Settings: Fix regulatory info availability check
queryIntentActivities will return something even if the activity is disabled
directly check the flag that controls the enablement

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:26 +09:00
jhenrique09
ac0dfd3030 Settings: Don't show module version if isn't a date
What's the sense on showing Android version instead of date?

Change-Id: I4cd2ae780c19182db2f66811be63dff131d26d6b
Signed-off-by: Joey Huab <joey@evolution-x.org>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:26 +09:00
hoffc
f55b6bf4b6 Settings: add sim status listener in about phone
Add sim status listener in about phone to dynamiclly update sim status and phone number info when sim card hot-swap.

Change-Id: Iee69f34ca85225ea6286f5ba517681b42366a71c
CRs-Fixed: 2978481
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:26 +09:00
Quince
69d252b1d7 Settings: Add a DEVICE field to the getSummary() function
Missing this field results in the text string "Market Name" being displayed instead of the device name.
2025-12-10 00:41:26 +09:00
someone5678
6da36481de Settings: Add Market Name to device info
Change-Id: Ic2bc692eec7d180a97e71b701e345806de78496a
2025-12-10 00:41:26 +09:00
Tim Zimmermann
3a7ae660c1 Settings: Show SoC Model rather than value of ro.board.platform if available
* These properties were introduced in S, so why not use them?

Change-Id: I2abb584e140841c03f8daa7cc6c0107f24a0e234
2025-12-10 00:41:26 +09:00
Rashed Abdel-Tawab
d183b8f95c Settings: Add platform and RAM to Model & Hardware
This seems kinda empty... Fill it with fun stuff

Change-Id: Ia43cb31b7567bed07f2b8a1d8637de4e66320c90
[jaysonedson@gmail.com: Move to new HardwareInfo]
Signed-off-by: Jason Edson <jaysonedson@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:26 +09:00
Dmitry Muhomor
6cd3704eb9 add App info > Storage > Manage storage button for apps that support it
There's a "Clear storage" button in App info > Storage & cache. When app implements a "manage
storage space" activity, that button opens it instead of actually clearing the storage.

"Manage space" activity might not provide an option to clear app storage or it might not work at
all.

This change adds a separate button to launch that activity and makes the "Clear storage" button
ignore its presence.
2025-12-10 00:41:26 +09:00
Joey Huab
b54aa2f650 Settings: Do not hide Now Playing for Pixel devices 2025-12-10 00:41:26 +09:00
Pranav Vashi
184131faec Settings: Add config to display Now Playing
* Disabled by default as most devices dont support it.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:26 +09:00
Dmitry Muhomor
b45269eb32 add per-connection Wi-Fi MAC address randomization option
fixup! add per-connection Wi-Fi MAC address randomization option
2025-12-10 00:41:26 +09:00
Pranav Vashi
e7273c3233 Settings: Prevent NPE in LoadingViewController
Log:

10-26 18:12:35.963 22151 22151 E AndroidRuntime: FATAL EXCEPTION: main
10-26 18:12:35.963 22151 22151 E AndroidRuntime: Process: com.android.settings, PID: 22151
10-26 18:12:35.963 22151 22151 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.View.clearAnimation()' on a null object reference
10-26 18:12:35.963 22151 22151 E AndroidRuntime: 	at com.android.settings.widget.LoadingViewController.setViewShown(LoadingViewController.java:154)
10-26 18:12:35.963 22151 22151 E AndroidRuntime: 	at com.android.settings.widget.LoadingViewController.handleLoadingContainer(LoadingViewController.java:107)
10-26 18:12:35.963 22151 22151 E AndroidRuntime: 	at com.android.settings.SettingsPreferenceFragment.setLoading(SettingsPreferenceFragment.java:226)
10-26 18:12:35.963 22151 22151 E AndroidRuntime: 	at com.android.settings.wifi.tether.WifiTetherSettings.onRestartingChanged(WifiTetherSettings.java:340)
10-26 18:12:35.963 22151 22151 E AndroidRuntime: 	at com.android.settings.wifi.tether.WifiTetherSettings$$ExternalSyntheticLambda5.onChanged(R8$$SyntheticClass:0)
10-26 18:12:35.963 22151 22151 E AndroidRuntime: 	at androidx.lifecycle.LiveData.considerNotify(LiveData.java:133)
10-26 18:12:35.963 22151 22151 E AndroidRuntime: 	at androidx.lifecycle.LiveData.dispatchingValue(LiveData.java:146)
10-26 18:12:35.963 22151 22151 E AndroidRuntime: 	at androidx.lifecycle.LiveData$ObserverWrapper.activeStateChanged(LiveData.java:483)
10-26 18:12:35.963 22151 22151 E AndroidRuntime: 	at androidx.lifecycle.LiveData$LifecycleBoundObserver.onStateChanged(LiveData.java:440)
10-26 18:12:35.963 22151 22151 E AndroidRuntime: 	at androidx.lifecycle.LifecycleRegistry$ObserverWithState.dispatchEvent(LifecycleRegistry.jvm.kt:320)
10-26 18:12:35.963 22151 22151 E AndroidRuntime: 	at androidx.lifecycle.LifecycleRegistry.forwardPass(LifecycleRegistry.jvm.kt:257)
10-26 18:12:35.963 22151 22151 E AndroidRuntime: 	at androidx.lifecycle.LifecycleRegistry.sync(LifecycleRegistry.jvm.kt:293)
10-26 18:12:35.963 22151 22151 E AndroidRuntime: 	at androidx.lifecycle.LifecycleRegistry.moveToState(LifecycleRegistry.jvm.kt:142)
10-26 18:12:35.963 22151 22151 E AndroidRuntime: 	at androidx.lifecycle.LifecycleRegistry.handleLifecycleEvent(LifecycleRegistry.jvm.kt:124)
10-26 18:12:35.963 22151 22151 E AndroidRuntime: 	at androidx.fragment.app.Fragment.performStart(Fragment.java:3193)
10-26 18:12:35.963 22151 22151 E AndroidRuntime: 	at androidx.fragment.app.FragmentStateManager.start(FragmentStateManager.java:640)
10-26 18:12:35.963 22151 22151 E AndroidRuntime: 	at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:296)
10-26 18:12:35.963 22151 22151 E AndroidRuntime: 	at androidx.fragment.app.FragmentStore.moveToExpectedState(FragmentStore.java:114)
10-26 18:12:35.963 22151 22151 E AndroidRuntime: 	at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1663)
10-26 18:12:35.963 22151 22151 E AndroidRuntime: 	at androidx.fragment.app.FragmentManager.dispatchStateChange(FragmentManager.java:3247)
10-26 18:12:35.963 22151 22151 E AndroidRuntime: 	at androidx.fragment.app.FragmentManager.dispatchStart(FragmentManager.java:3172)
10-26 18:12:35.963 22151 22151 E AndroidRuntime: 	at androidx.fragment.app.FragmentController.dispatchStart(FragmentController.java:274)
10-26 18:12:35.963 22151 22151 E AndroidRuntime: 	at androidx.fragment.app.FragmentActivity.onStart(FragmentActivity.java:358)
10-26 18:12:35.963 22151 22151 E AndroidRuntime: 	at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1705)
10-26 18:12:35.963 22151 22151 E AndroidRuntime: 	at android.app.Activity.performStart(Activity.java:9045)
10-26 18:12:35.963 22151 22151 E AndroidRuntime: 	at android.app.ActivityThread.handleStartActivity(ActivityThread.java:4074)
10-26 18:12:35.963 22151 22151 E AndroidRuntime: 	at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:270)
10-26 18:12:35.963 22151 22151 E AndroidRuntime: 	at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:250)
10-26 18:12:35.963 22151 22151 E AndroidRuntime: 	at android.app.servertransaction.TransactionExecutor.executeLifecycleItem(TransactionExecutor.java:222)
10-26 18:12:35.963 22151 22151 E AndroidRuntime: 	at android.app.servertransaction.TransactionExecutor.executeTransactionItems(TransactionExecutor.java:107)
10-26 18:12:35.963 22151 22151 E AndroidRuntime: 	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:81)
10-26 18:12:35.963 22151 22151 E AndroidRuntime: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2637)
10-26 18:12:35.963 22151 22151 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:107)
10-26 18:12:35.963 22151 22151 E AndroidRuntime: 	at android.os.Looper.loopOnce(Looper.java:232)
10-26 18:12:35.963 22151 22151 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:317)
10-26 18:12:35.963 22151 22151 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:8751)
10-26 18:12:35.963 22151 22151 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
10-26 18:12:35.963 22151 22151 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
10-26 18:12:35.963 22151 22151 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:892)

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:26 +09:00
Pranav Vashi
eb7c801c2e Settings: Safeguard ringtone pref against faulty gapps
* Gapps which replaces AOSP sound picker and do not overlay config, crashes this preference.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:26 +09:00
Pranav Vashi
4ada6f56ff Settings: Fix crash with face lock preference for limited access users
Ref: https://xdaforums.com/t/rom-14-0-official-clover-kernelsu-crdroid-14-0-for-xiaomi-mi-pad-4-plus.4675646/post-89634146

Crash log:

07-29 19:55:26.011 E/AndroidRuntime(17429): FATAL EXCEPTION: main
07-29 19:55:26.011 E/AndroidRuntime(17429): Process: com.android.settings, PID: 17429
07-29 19:55:26.011 E/AndroidRuntime(17429): java.lang.RuntimeException: Unable to resume activity {com.android.settings/com.android.settings.SubSettings}: java.lang.ClassCastException: androidx.preference.SwitchPreferenceCompat cannot be cast to com.android.settingslib.RestrictedSwitchPreference
07-29 19:55:26.011 E/AndroidRuntime(17429): 	at android.app.ActivityThread.performResumeActivity(ActivityThread.java:5244)
07-29 19:55:26.011 E/AndroidRuntime(17429): 	at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:5277)
07-29 19:55:26.011 E/AndroidRuntime(17429): 	at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:57)
07-29 19:55:26.011 E/AndroidRuntime(17429): 	at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:60)
07-29 19:55:26.011 E/AndroidRuntime(17429): 	at android.app.servertransaction.TransactionExecutor.executeLifecycleItem(TransactionExecutor.java:282)
07-29 19:55:26.011 E/AndroidRuntime(17429): 	at android.app.servertransaction.TransactionExecutor.executeTransactionItems(TransactionExecutor.java:150)
07-29 19:55:26.011 E/AndroidRuntime(17429): 	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:93)
07-29 19:55:26.011 E/AndroidRuntime(17429): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2595)
07-29 19:55:26.011 E/AndroidRuntime(17429): 	at android.os.Handler.dispatchMessage(Handler.java:107)
07-29 19:55:26.011 E/AndroidRuntime(17429): 	at android.os.Looper.loopOnce(Looper.java:232)
07-29 19:55:26.011 E/AndroidRuntime(17429): 	at android.os.Looper.loop(Looper.java:317)
07-29 19:55:26.011 E/AndroidRuntime(17429): 	at android.app.ActivityThread.main(ActivityThread.java:8594)
07-29 19:55:26.011 E/AndroidRuntime(17429): 	at java.lang.reflect.Method.invoke(Native Method)
07-29 19:55:26.011 E/AndroidRuntime(17429): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:583)
07-29 19:55:26.011 E/AndroidRuntime(17429): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)
07-29 19:55:26.011 E/AndroidRuntime(17429): Caused by: java.lang.ClassCastException: androidx.preference.SwitchPreferenceCompat cannot be cast to com.android.settingslib.RestrictedSwitchPreference
07-29 19:55:26.011 E/AndroidRuntime(17429): 	at com.android.settings.biometrics.face.FaceSettingsLockscreenBypassPreferenceController.updateState(FaceSettingsLockscreenBypassPreferenceController.java:76)
07-29 19:55:26.011 E/AndroidRuntime(17429): 	at com.android.settings.dashboard.DashboardFragment.updatePreferenceStates(DashboardFragment.java:414)
07-29 19:55:26.011 E/AndroidRuntime(17429): 	at com.android.settings.dashboard.DashboardFragment.onResume(DashboardFragment.java:242)
07-29 19:55:26.011 E/AndroidRuntime(17429): 	at androidx.fragment.app.Fragment.performResume(Fragment.java:3206)
07-29 19:55:26.011 E/AndroidRuntime(17429): 	at androidx.fragment.app.FragmentStateManager.resume(FragmentStateManager.java:658)
07-29 19:55:26.011 E/AndroidRuntime(17429): 	at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:302)
07-29 19:55:26.011 E/AndroidRuntime(17429): 	at androidx.fragment.app.FragmentStore.moveToExpectedState(FragmentStore.java:114)
07-29 19:55:26.011 E/AndroidRuntime(17429): 	at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1613)
07-29 19:55:26.011 E/AndroidRuntime(17429): 	at androidx.fragment.app.FragmentManager.dispatchStateChange(FragmentManager.java:3197)
07-29 19:55:26.011 E/AndroidRuntime(17429): 	at androidx.fragment.app.FragmentManager.dispatchResume(FragmentManager.java:3129)
07-29 19:55:26.011 E/AndroidRuntime(17429): 	at androidx.fragment.app.FragmentController.dispatchResume(FragmentController.java:285)
07-29 19:55:26.011 E/AndroidRuntime(17429): 	at androidx.fragment.app.FragmentActivity.onResumeFragments(FragmentActivity.java:333)
07-29 19:55:26.011 E/AndroidRuntime(17429): 	at androidx.fragment.app.FragmentActivity.onPostResume(FragmentActivity.java:322)
07-29 19:55:26.011 E/AndroidRuntime(17429): 	at android.app.Activity.performResume(Activity.java:9163)
07-29 19:55:26.011 E/AndroidRuntime(17429): 	at android.app.ActivityThread.performResumeActivity(ActivityThread.java:5234)
07-29 19:55:26.011 E/AndroidRuntime(17429): 	... 14 more

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:26 +09:00
Chris Crump
08624d528c Settings: Import missing Face Unlock animation
Change-Id: I05fa784d9f7f978be9f5944900a97ad7df19f59e
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:26 +09:00