Commit Graph

7211 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Adithya R
0846def059 Settings: Display auto rotate settings instead of toggle
* allows to enable auto rotate face detection

Change-Id: I6d3582063ab48d7de60d35a14cbb87421e3b72fb
2025-12-10 00:41:30 +09:00
Pranav Vashi
92ae9b0970 Show appropriate title for gesture navigation settings
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:30 +09:00
Pranav Vashi
b3919c08fa Allow to hide arrow for back gesture [2/2]
* Strings moved to crDroid Settings.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:30 +09:00
maxwen
86d9f8c549 Allow changing back gesture height [2/2]
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:30 +09:00
Danny Baumann
ee39140069 Settings: Add back increasing ring feature (2/3)
This is a squash of the following commits:

Author: Danny Baumann <dannybaumann@web.de>
Date:   Tue Nov 11 13:14:07 2014 +0100

    Add back increasing ring feature (2/3).

    Change-Id: Iafc79a57651db327a100e0f1723b62f442b638be

Author: Danny Baumann <dannybaumann@web.de>
Date:   Mon Nov 24 13:05:39 2014 +0100

    Fix NPE.

    When entering the notification prefs sub activity without the increasing
    ring pref being visible and leaving it right away, onActivityStop()
    threw an NPE because the handler wasn't yet constructed.

    Change-Id: Ia4291d8ac3d1dbf76d432db7e0e973844163c4ae

Author: Danny Baumann <dannybaumann@web.de>
Date:   Fri May 29 08:48:46 2015 +0200

    Fix up increasing ring tone volume preview behaviour.

    Change-Id: Ibe7fdf1ee7f0aa1c7c76052df69fa92e8b6a2ffd

Author: Keith Mok <kmok@cyngn.com>
Date:   Tue Jul 12 09:45:45 2016 -0700

    Settings: Always set ramp-up time value during bindView

    onProgressChange is not always called if we set the
    ramp up time to 5 sec (0 in seekbar value, since it is
    the default value, no change).
    Causing the text showing the ramp up time text value not
    updated and display as empty when user enable/disable
    increasing ring volume with ramp up time set to 5 sec.

    FEIJ-1572

    Change-Id: Id32d6b51aab05e80be59bc1912c4ae7c5d114ac5

Author: Zhao Wei Liew <zhaoweiliew@gmail.com>
Date:   Wed, 18 Jan 2017 15:55:13 +0800

    Move notif volume pref on top of increasing ring pref

    Change Iafc79a57651db327a100e0f1723b62f442b638be added two
    increasing ringtone-related preferences between the notification
    volume preference and the ring volume preference.

    However, the notification volume preference should be grouped
    together with the media, alarm, and ring volume preferences.

    Hence, move the notification volume preference back to where
    it should be.

    Change-Id: I138e6f78b6c231643d86746858e0cbdfcb0942eb

Author: Bruno Martins <bgcngm@gmail.com>
Date:   Mon Dec 11 23:45:39 2017 +0000

    Adapt increasing ring feature to O-MR1 and new Settings UI

     * Make it depend on SettingsLib's version of Lifecycle and Mixin.

     * Create a custom style for the IncreasingRingtonePreference
       and match the new UI in Oreo Settings app.

    Change-Id: I25462159fa39f5cdaddb1898c71f536572e900a4

Author: Bruno Martins <bgcngm@gmail.com>
Date:   Fri Jan 14 17:56:29 2022 +0000

    Adapt increasing ring feature to S and new Settings UI

    Change-Id: Ib70f6f71f62e59c945d69ab9c23ca185fde4a4b0

Change-Id: I3f22c77504a5014f9dbd40909d760149143570fe
2025-12-10 00:41:30 +09:00
jhenrique09
2ad3bcbcd7 Settings: Use AOSP translations for MSIM ringtone
Change-Id: I048a161e33eaabe8d2eb46fee49cae844836258f
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:30 +09:00
Ting Yu
a89d02598f Settings: Phone ringtone setting for Multi SIM device [2/3]
Support displaying phone ringtone setting for each slot as follows:
"Phone ringtone - SIM 1"
"Phone ringtone - SIM 2"

The purpose is to distinguish incoming call from each slot by ringtone.

Depends-On: I9c6ccff938122332d222853d469ad9a623c7d193

Bug: 118735436
Test: Manual
Change-Id: I06c59016e9b6da51ed8a4678a66674fc48c20e40
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:30 +09:00
beanstown106
58864d1c1e Settings: Incall vibration option [3/3]
* allow setting vibration when call is connected
* allow setting vibration when call is disconnected
* allow setting vibration for call waiting
* this works with google and aosp dialer :)

Adapted to PE

[arrow-13.0]:
- Move inside accessibility_vibration_settings
  as all the aosp vibration toggles are there

includes:
fixup! Settings: incall vibration options [3/3]

[ghostrider-reborn]
- Enable by default
- Add to the slider-based prefs page as well

Change-Id: I55e99f501a3af07287c57a23939666351f4cef67
Signed-off-by: Karan Parashar <whyredfire@gmail.com>
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Signed-off-by: someone5678 <someone5678@users.noreply.github.com>
2025-12-10 00:41:30 +09:00
Pranav Vashi
7c57f71f72 Settings: add option to enable AOD on charging only [2/2]
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:30 +09:00
Dhina17
49c520a7ab Settings: Move applock to apps section
security advance section is too hidden
so that users even don't know about applock.

Change-Id: Iaaa2fd17befd915df485e16461abcc8ffc0f7191
2025-12-10 00:41:30 +09:00
Joey Huab
7a44c8f5d1 Settings: Don't make app lock settings searchable
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:30 +09:00
Pranav Vashi
81a32f493f Settings: Add app lock settings for alternate security settings provider
* When google security settings provider overrides security settings,
  app lock settings cannot be found.
* Add same to advanced settings.

Fixes: https://github.com/crdroidandroid/crdroid_features/issues/101
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:30 +09:00
Pranav Vashi
d26620b7ce Settings: Update AppLock API
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:29 +09:00
jhonboy121
edadced2f0 Settings: Introduce App Lock [3/4]
Squashed:

* AppLockCredentialActivity is a stripped down version of ConfirmDeviceCredentialActivity in Settings

Signed-off-by: jhonboy121 <alfredmathew05@gmail.com>
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>

Settings: applock: adapt for API changes

Signed-off-by: jhonboy121 <alfredmathew05@gmail.com>

Settings: use a new task stack for app lock fragments

* fixes fragments staying in recents on going home
* also made other preferences do binder calls asynchronously

Signed-off-by: jhonboy121 <alfredmathew05@gmail.com>
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>

Settings: applock: fix unlock prompt disappearing when trying to open apps

Signed-off-by: jhonboy121 <alfredmathew05@gmail.com>

Settings: applock: add hidden app settings

Signed-off-by: jhonboy121 <alfredmathew05@gmail.com>
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>

AppLockPackageConfigFragment: allow launching app from app icon

Signed-off-by: jhonboy121 <alfredmathew05@gmail.com>

FlamingoSettings: applock: early return in setChecked if backing field has the same value

Signed-off-by: jhonboy121 <alfredmathew05@gmail.com>

Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>

[nift4: drop useless plurals.xml, make timeout values translatable]

* Dhina17 <dhinalogu@gmail.com>
        applock: Adapt for Android 14

Change-Id: I85d72ee72353417ead528483bbbe1ac1e6860063
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:29 +09:00
someone5678
6f444282a1 Settings: Hide ADB and developer setting enable status [2/2]
* Code is adapted from cutout force full screen
* Give authorship

Co-authored-by: LuK1337 <priv.luk@gmail.com>
Co-authored-by: Tony Mantler <nicoya@google.com>
Co-authored-by: jhenrique09 <jhsv09@gmail.com>
Co-authored-by: jhonboy121 <alfredmathew05@gmail.com>
Co-authored-by: cjh1249131356 <cjh1249131356@gmail.com>
Co-authored-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Signed-off-by: someone5678 <nemui3353@gmail.com>
2025-12-10 00:41:29 +09:00
someone5678
c45ca9ea52 ExternalStorageProvider: Conditionally remove SAF restrictions [2/2]
* Write title and summary based on  NoStorageRestrict module's descriptions.

Ref:
https://github.com/DanGLES3/NoStorageRestrict

Change-Id: Ie62441f2c8e7ebaca3612100c79e7c24ebfb5b0e
Signed-off-by: someone5678 <someone5678@users.noreply.github.com>
2025-12-10 00:41:29 +09:00
someone5678
84b745ed00 Settings: Allow to hide screen capture status from apps [2/2]
* Allow to hide screen capture detection from privacy invasive apps
* This feature will be extended to screenrecord
  in the future release of Android (A15)

Change-Id: I82989e03b5e181a8a3fcf797a27a70bfa5fd06d1
Signed-off-by: someone5678 <someone5678@users.noreply.github.com>
2025-12-10 00:41:29 +09:00
Ido Ben-Hur
daf89d8b00 Settings: Add a dev option to unlimit screenrecord filesize [2/2] 2025-12-10 00:41:29 +09:00
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