Commit Graph

148107 Commits

Author SHA1 Message Date
Pranav Vashi
30f2ddfaca Fix long click intent for Smart Pixels tile [2/2]
Change-Id: Id6b5fffd814f035be1bb75d1434456e0c02aa97f
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
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
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
3ee81b2fcb Settings: Follow new ringtone vibration patterns
For preview

See: 7b3ab13002
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:31 +09:00
Ido Ben-Hur
1ee5267d6d Settings: Preview ringtone vibration pattern
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
Gao Honghua
b893ae175e Fix memory leak on wifi
Google: 3425623
Change-Id: I5cd3c427280ebb2e8ed1b18d39d1b29c962b7658
Signed-off-by: Jia Jia <jia.jia@zte.com.cn>
2025-12-10 00:41:31 +09:00
minaripenguin
c51ca8b50f WifiTetherClientLimitPreference: Fix compilation 2025-12-10 00:41:31 +09:00
someone5678
5cfd1276c1 [TMP] Settings: Bluetooth: Don't check persistable uri permission for BtHelper
Change-Id: I392c70e04bdc64dba7f897cae2b124b195049af5
(cherry picked from commit f1074d6226820ec095abce89b7a387409e69d513)
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
someone5678
d96a54292c Settings: Import androidx.room_room-runtime
Log:
Output:
packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/db/BatteryStateDatabase.java:35: error: Schema export directory was not provided to the annotation processor so Room cannot export the schema. You can either provide `room.schemaLocation` annotation processor argument by applying the Room Gradle plugin (id 'androidx.room') OR set exportSchema to false.
public abstract class BatteryStateDatabase extends RoomDatabase {
                      ^

Change-Id: I493d978ee204761e93fb177680bd102c30b45e9c
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
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
Omkar Chandorkar
d323251adf Settings: Disable financed lock
TODO: Find why DeviceLock APEX misbehaves and re-enable

Change-Id: I76b0738505c67432d1d93c4c03d5c782978a86ca
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:31 +09:00
ReallySnow
29c6ceba2b Settings: Make google's battery widget work
Change-Id: I763a3bdb7bc0385fce04fe2635f06e601f9557ab
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2025-12-10 00:41:31 +09:00
Adithya R
0ec57800a1 Settings: Show package name in app info header
Right below the icon and the app name

We won't show the version name there since it wouldn't be copy-able.

Change-Id: If301986194a609384af5519b5990e62a86e605d7
2025-12-10 00:41:31 +09:00
dragonGR
98fd92aa83 Settings: Address a memory leak
Change-Id: Icd72b0beef66c08a5d11e770c59eaebdb7977272
Signed-off-by: spezi77 <spezi7713@gmx.net>
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
Quick
1201585298 Settings: Add PixelLauncher to allowlist for settings search
* Adapt to kotlin.

Co-authored-by: Joey Huab <joey@evolution-x.org>
2025-12-10 00:41:31 +09:00
aswin7469
1a26a26df3 Settings: gestures: Enable Cycle through ringer modes for all
* why should oplus have all the fun

Signed-off-by: aswin7469 <aswinas@pixysos.com>
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
9ae7f8fe5f Settings: Export an activity for private DNS settings
For the DNS tile long press intent in base
2025-12-10 00:41:30 +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
Anushek Prasal
7340e8ed75 Settings: Change back gesture height intervals
Signed-off-by: Anushek Prasal <anushekprasal@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
ShevT
f8e2ff3311 Settings: Add simcard number title for SIM1
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:30 +09:00
jhenrique09
3c837277e3 Settings: Fix ringtone selection for devices with e-SIM
https://github.com/PixelExperience/android-issues/issues/2651

Change-Id: Ib283876196346b3b5492b8b4403530227cdf961e
(cherry picked from commit 4b275f3f518acc939a73523569602f6112737fc0)
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
jhenrique09
7c29c1956b MSIM Ringtone: Improve on devices with ESIM
Change-Id: Ib0e0348b29d9bcb567f2d3c0725dd6950a3bbc1e
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
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
maxwen
e60e722eb5 Settings: enable SIM card ringtone only if slot not empty [1/2]
same as in SIM card settings page

Change-Id: I3d0478080fdb838e0b730fdf7900dfa2f2e2ffe0
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
Pranav Vashi
f8ef1252b4 Settings: AppLock: Update for kotlin errors
Change-Id: I7115c6e2031d613e59859710f587ee2a26614001
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
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