Commit Graph

7167 Commits

Author SHA1 Message Date
Nauval Rizky
dc4ea5a0eb Settings: Add Game Space support
Co-authored-by: alanndz <alanndz7@gmail.com>
2025-12-10 00:41:29 +09:00
Oliver Scott
70acdc87e7 Settings: Expose clipboard auto clear setting [2/2]
[someone5678]
* Adapt to current project
* Use Settings instead of DeviceConfig as GMS don't likes it
* Add switch for clipboard auto clear
* Import resources from CalyxOS and crDroid Android and adapt it
* Update summary setting logic

Ref:
72db57c966
48e00e2b81
33c49aa70c
bc81eea9cc

Issue: calyxos#2208
Change-Id: Ie101177aba90ea085d83c0cb641ffed447cceecd
Signed-off-by: someone5678 <59456192+someone5678@users.noreply.github.com>
2025-12-10 00:41:29 +09:00
SKULSHADY
da8ea87e85 Settings: Double tap to trigger doze [2/2]
* Also adapt Add video to Double tap to trigger doze from Pie: a66601a

Change-Id: Id98543542db937c6cc1f176cd55f6b02e472849d

Settings: DoubleTapGesture: Use new material-you illustration preference

* Switch to new Android 12 animation. Huge thanks to aryanata for the animation

Change-Id: Idfc536dff628fb4ba9cd45f6453add68f64a7b46

Settings: Add a preference controller for Double tap to Ambient

* Follows 41903244b1d8cf43c6c657b8ba5d9e7648136c72.
* Hide by default.

Co-authored-by: Akash <akashniki@gmail.com>
Co-authored-by: Aryanata Andipradana <a.ryan.ata.ap@gmail.com>
Co-authored-by: Joey <joey@evolution-x.org>
2025-12-10 00:41:29 +09:00
Adithya R
7ccf58d196 Settings: Add toggle for Smart 5G [2/2]
Change-Id: I72958e2313b48553ba82565ace8ebf5dd9e0cdf4
Signed-off-by: mukesh22584 <mks22584@gmail.com>
2025-12-10 00:41:29 +09:00
cjybyjk
6a3db1f45b Settings: SoftAp: add Hidden SSID preference
Signed-off-by: cjybyjk <cjybyjk@zjnu.edu.cn>
Change-Id: I8a222a9a9ae8f005953b738368168d551a502491
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:29 +09:00
cjybyjk
279130665f Settings: SoftAp: add support for setting shutdown timeout
Change-Id: I80aebe3ca8e13e3dc5c503d5a8527282e96e486a
Co-authored-by: Pranav Vashi <neobuddy89@gmail.com>
Co-authored-by: jhonboy121 <alfredmathew05@gmail.com>
Signed-off-by: cjybyjk <cjybyjk@zjnu.edu.cn>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:29 +09:00
cjybyjk
2a8e418b1e Settings: SoftAP: Add client manager
Change-Id: If9f0c1000ff4e7dd0b602a61299f1eb2c7608ac5
Signed-off-by: cjybyjk <cjybyjk@zjnu.edu.cn>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:29 +09:00
minaripenguin
76718b1ff5 Move developer options to the most bottom part
* it was breaking the scrolling to the most bottom part for some reason

Signed-off-by: minaripenguin <minaripenguin@users.noreply.github.com>
2025-12-10 00:41:29 +09:00
PainKiller3
1392f86fc9 Settings: Add missing summary for Display size and text
Change-Id: I716020461e7d7e5ee0f1041a07b3a21b700f7650
2025-12-10 00:41:28 +09:00
ZeNiXxX
af8db763d1 Settings: Add Default USB Configuration
chiru2000: Add an drawable icon

nurkeinneid: Add missing order attribute

Signed-off-by: chiru2000 <chiranthangadi123@gmail.com>
Change-Id: I8cd237155f6df7d67ead592d719efe215375c5eb
Signed-off-by: NurKeinNeid <mralexman3000@gmail.com>
2025-12-10 00:41:28 +09:00
LynnrinChan
7273d25587 Settings: Hide radio info if device don't support voice
Change-Id: I481485b2563fdb27b35b31fa95795db94a863f2f
Signed-off-by: LynnrinChan <lynnrin@lynnrin.moe>
2025-12-10 00:41:28 +09:00
xyyx
ac74a08835 Settings: Expose radio info (*#*#4636#*#*)
idoybh edits: Move to about phone in settings

Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
Change-Id: I7cf1ee8685749212ddeee9b4e7135af3185f78b8
Signed-off-by: DarkJoker360 <simoespo159@gmail.com>
2025-12-10 00:41:28 +09:00
Alvin Francis
340221b94c Settings: Update gesture and security prefs
Signed-off-by: Alvin Francis <nivlafx@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:28 +09:00
Pranav Vashi
8ac1c2ea3a Settings: Import settings from pixel-fw
mnri: Updated for u qpr2
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: minaripenguin <minaripenguin@users.noreply.github.com>
Signed-off-by: Alvin Francis <nivlafx@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:28 +09:00
Alvin Francis
6599d35840 Settings: Import columbus preference settings
Signed-off-by: Alvin Francis <nivlafx@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:28 +09:00
Vishalcj17
46a9894013 ChooseLockPassword: Decrease minimum pin length for auto confirm
This default enables auto confirm on a pin length of 4 and
correctly displays it in setup

Squashed:

    From: Adithya R <gh0strider.2k18.reborn@gmail.com>
    Date: Wed, 27 Dec 2023 20:08:33 +0530
    Subject: ChooseLockPassword: Don't uncheck auto confirm above minimum length

    Fixes aaf4cd67.

    Change-Id: Ic94db010318ecbfc1d58653c3fd85b8cdb653e83

Change-Id: I482be235261de1e636c89e33722df4f4e412b07c
Co-authored-by: Mesquita <mesquita@aospa.co>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:28 +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
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
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
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
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
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
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
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
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
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
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
cjybyjk
c7a35a8bc1 Settings: support per-app volume [3/3]
Change-Id: I3e72a4b0fda68a5cd1e9a35fc161a1d7ddae6d7e

Signed-off-by: AnierinB <anierin@evolution-x.org>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:25 +09:00
Steve Kondik
2c23d3060e Settings: Use seekbar to allow setting arbitrary animation values
frap129: Reworked for Pie, set default scale to 0.5f, and improved
the preference summaries so they match AOSP while keeping translations.

Change-Id: I29d89e532d07a325f6e568b21e4da4ce7e5761ac
Signed-off-by: Joe Maples <joe@frap129.org>
[jaysonedson: Fix fc when not using English and preference]
Signed-off-by: Jason Edson <jaysonedson@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:25 +09:00
DarkJoker360
45939de619 Settings: Add a toggle to force LTE_CA
Change-Id: I017be698dc6c438edf2236df7c0125c05202bf3b
Signed-off-by: DarkJoker360 <simoespo159@gmail.com>
2025-12-10 00:41:25 +09:00
Adithya R
fb08c30d9b Settings: Allow disabling clipboard overlay [2/2]
Change-Id: Icf48949c9fdd44f6412d1491e105e22d80fda131
2025-12-10 00:41:25 +09:00
Pranav Vashi
10ca41a9f6 Add deep sleep preference controller [2/2]
Change-Id: If270186b7788d95bfb4f555c0bc6f7eb3367e95f
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:25 +09:00
someone5678
cd266c38ea Settings: Allow disabling of screenshot shutter sound [2/2]
Change-Id: If214da9416f673f3a9b806d0c49dbcbefb168f10
2025-12-10 00:41:25 +09:00
xoomdev
1c07f1725a Settings: Show full proc/version information
patch set 2: view unformatted kernel version on clicking
  the formatted kernel version

[ Stallix - Evo X ]

* Adapted for KernelVersionPreferenceController on Pie

Change-Id: I2b211fb72c25cc119f2a464b04821fcef77a8908
Signed-off-by: Arghya Chanda <arghyac35@gmail.com>
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Signed-off-by: Joey Huab <joey@evolution-x.org>
Signed-off-by: AnierinB <anierin@evolution-x.org>
2025-12-10 00:41:25 +09:00
someone5678
7713ff29ac fixup! Add option to reset network settings to factory
* Move to SwitchPreferenceCompat

Change-Id: Ic6f4106b0bd91e8ebb978ae39d1c94a2eacaa039
2025-12-10 00:41:25 +09:00
Michael Bestas
f07f272d14 fixup! Add toggle to enable ADB root
Change-Id: I15bb409dd087cfd9c89a6f579c7c69d162516299
2025-12-10 00:41:25 +09:00
AnierinB
f4515f015b Settings: Initial Evolution X rebrand
Co-authored-by: AnierinB <anierin@evolution-x.org>
Co-authored-by: Jackeagle <jackeagle102@gmail.com>
Co-authored-by: Pranav Vashi <neobuddy89@gmail.com>
Co-authored-by: ganeshi4u <ganeshvarmai4u@gmail.com>
Signed-off-by: AnierinB <anierin@evolution-x.org>
2025-12-10 00:41:11 +09:00
Bruno Martins
cccc2e98a6 Display: Assign a key to color preference category
All other categories here have a key assigned, which is quite
useful to allow injecting preferences into the proper group.

Test: m
Change-Id: I56b161c98eb7f669703f46d73f56e081ebf18558
2025-12-03 22:44:23 +00:00