Commit Graph

2843 Commits

Author SHA1 Message Date
ezio84
ec7587d465 Settings: Allow to quickly open Running Services from meminfo view
@/neobuddy89: Updated for A14.

Change-Id: I252ce85bda3daab5c5e4db097a6fd743365bc309
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:32 +09:00
minaripenguin
8612a9f05b Disable SettingsDumpService
* this consumes a lot of resources for some reason
2025-12-10 00:41:32 +09:00
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
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
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
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
saikiran2001
563e271638 Settings: Whitelist WRITE_DEVICE_CONFIG permission
* Still appears in android 12

* needed after r30 merge

log:-

13:23:56.691  1422  2892 E DatabaseUtils: java.lang.SecurityException: Permission denial: writing to settings requires:android.permission.WRITE_DEVICE_CONFIG
02-02 13:23:56.691  1422  2892 E DatabaseUtils: 	at com.android.providers.settings.SettingsProvider.enforceWritePermission(SettingsProvider.java:2065)
02-02 13:23:56.691  1422  2892 E DatabaseUtils: 	at com.android.providers.settings.SettingsProvider.setAllConfigSettings(SettingsProvider.java:1090)
02-02 13:23:56.691  1422  2892 E DatabaseUtils: 	at com.android.providers.settings.SettingsProvider.call(SettingsProvider.java:422)
02-02 13:23:56.691  1422  2892 E DatabaseUtils: 	at android.content.ContentProvider.call(ContentProvider.java:2448)
02-02 13:23:56.691  1422  2892 E DatabaseUtils: 	at android.content.ContentProvider$Transport.call(ContentProvider.java:517)
02-02 13:23:56.691  1422  2892 E DatabaseUtils: 	at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:295)
02-02 13:23:56.691  1422  2892 E DatabaseUtils: 	at android.os.Binder.execTransactInternal(Binder.java:1154)
02-02 13:23:56.691  1422  2892 E DatabaseUtils: 	at android.os.Binder.execTransact(Binder.java:1123)
02-02 13:23:56.691  1099  4392 E Utils   : did not find channel-count and/or sample-rate

Signed-off-by: saikiran2001 <bjsaikiran@gmail.com>
Signed-off-by: Joey Huab <joey@evolution-x.org>
Signed-off-by: DennySPb <dennyspb@gmail.com>
Change-Id: I8539ae676a97e17b0c328cb4d1f386bda2feae42
Signed-off-by: Dmitrii <bankersenator@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
Signed-off-by: Joey Huab <joey@evolution-x.org>
2025-12-10 00:41:29 +09:00
Alvin Francis
a43e38e39b Settings: Update FaceEnroll ActivityDirector and Confirmation
Signed-off-by: Alvin Francis <nivlafx@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:28 +09:00
Anay Wadhera
78a8af301d Settings: Create face confirmation activity
Change-Id: Id245c958a3f32e36620240fab6b9b4961bee35d5
Signed-off-by: Alvin Francis <nivlafx@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:28 +09:00
Anay Wadhera
7a4c3d129d Settings: Create a ActivityDirector to optionally use SettingsGoogleFutureFaceEnroll
Change-Id: Ie6ca1276165a911c9681bc5a70b4b7f8a799f192
Signed-off-by: Alvin Francis <nivlafx@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:28 +09:00
someone5678
39c5994e06 Settings: Replace android:name for SettingsGoogle
Change-Id: I8562406da48b4f6ecec1945e17a54b7d8e1f7479
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:28 +09:00
Shen Lin
48b7e3f855 Refactor AppPicker page to adopt Settings main theme
AppPicker in Development options has been existed since 2012 without
too much maintanace. This CL mainly adopt Settings main theme into it,
and migrate from depreaced ListActvity to androidx while reamining restraint.

Bug: 277978841
Preview: https://docs.google.com/spreadsheets/d/1vwzriR1mZj2B2Flw1eu1OwfZY5wRz6YOaq7bDcXxStE
Test: manual, presubmit
Change-Id: I8bf3be499202eba894070cffd5f20f44d3d45de5
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:28 +09:00
Pranav Vashi
961f28d8a0 Settings: Add permission to hold wake lock
* Required for our custom doze.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2025-12-10 00:41:28 +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
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
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
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
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
Chris Crump
b7db5c4d60 Add Face Unlock with ParanoidSense
Based on AOSPA's implementation and adapted by @ghostrider-reborn

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: AnierinB <anierin@evolution-x.org>
2025-12-10 00:41:25 +09:00
SagarMakhar
ddcf4dad63 Settings: Add Glide library
[neobuddy89: Updated to 4.16.0]

Change-Id: Icd8f4d35251e9a3fe69387de7bb00bd53326c2c5
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
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
ReallySnow
8f7cf2c861 Settings: DevicePicker: Adapt to S style
Change-Id: Idd83ad50070c0541136afe02502752e75d6b162d
2025-08-28 13:38:21 +03:00
Michael Bestas
13093942c1 Settings: Network setup UI changes for SUW
Co-authored-by: Dhina17 <dhinalogu@gmail.com>
Co-authored-by: Erfan Abdi <erfangplus@gmail.com>
Co-authored-by: Michael Bestas <mkbestas@lineageos.org>
Change-Id: Ic8e97b78f19e59fe108c7c3304dfe7e7f49020a9
2025-06-22 13:01:13 +03:00
Michael Bestas
34a8deb417 Settings: Forward port lock pattern grid size (2/2)
Co-authored-by: Alberto97 <albertop2197@gmail.com>
Co-authored-by: d34d <clark@cyngn.com>
Co-authored-by: Dhina17 <dhinalogu@gmail.com>
Co-authored-by: LuK1337 <priv.luk@gmail.com>
Co-authored-by: Roman Birg <roman@cyngn.com>
Change-Id: I7078d703c218cd096d9b77c003a94b52fbce6322
2025-06-22 13:00:15 +03:00
Torsten Grote
c18a1ef322 Allow the user to change the BackupTransport
Set the following config overlays to activate this feature:

* config_backup_settings_intent to settings://com.android.settings.backup.transport
* config_backup_settings_label to some user-facing label
  e.g. Change backup provider
* config_ignored_backup_transports to hide transports from the list

Co-authored-by: Michael Bestas <mkbestas@lineageos.org>
Co-authored-by: Michael W <baddaemon87@gmail.com>
Change-Id: I080d96e2c34045a0e61f3fa1b839f463550f2028
2025-06-22 12:59:04 +03:00
tom hsu
93f714446a [Satellite] Move satellite setting related code to a folder
Flag: EXEMPT refactor
Fix: b/403149290
Test: build pass
Test: atest pass
Change-Id: I849adc99fb16d1278efd1d481a4fd99fadb45e98
2025-03-13 16:12:16 +00:00
Chelsea Hao
5c203edc6f Merge changes from topic "audio_stream_broadcast" into main
* changes:
  A broadcast receiver to handle `ACTION_LE_AUDIO_PRIVATE_BROADCAST_RECEIVED`.
  Add a broadcast receiver for private broadcast receive data.
2025-03-12 18:25:39 -07:00
juquan
160b8bc1bb [Device Supervision] Implement createConfirmSupervisionCredentialsIntent API
The `ConfirmSupervisionCredentialsActivity` has been added and it's intended to be launched via the intent.

Bug: 392961554
Flag: android.app.supervision.flags.enable_supervision_settings_screen
Test: atest SupervisionMainSwitchPreferenceTest
Change-Id: I2322256a5711d5b90f826f467110c6861a7734ad
2025-03-12 10:34:06 -07:00
chelseahao
ec38f8bad7 Add a broadcast receiver for private broadcast receive data.
Test: atest
Bug: 398700619
Flag: com.android.settingslib.flags.audio_stream_media_service_by_receive_state
Change-Id: I1c75386241227a0f76aee61d677954ff8ce55b5f
2025-03-12 12:26:22 +08:00
Graciela Putri
6ed930462b Remove (experimental) from app aspect ratio settings title
Flag: EXEMPT string change
Fix: 305215544
Test: m
Change-Id: Idbb01ec99014efc40c285212e5e6ef8c91fa8333
2025-03-06 03:36:22 -08:00
Azhara Assanova
db59b0e729 Update ActionDisabledByAdvancedProtectionDialog
For UI, the dialog was migrated to SpaDialogWindowTypeActivity, which
has a Material3 theme and can support rendering over QuickSettings.

This change also adds logic around which message to show depending on
the received extras for feature ID and the dialog type.

Finally, the dialog will display the support button if the help Intent
URI exists and resolves to an activity. Tests around the support button
will be added in a follow up CL.

Bug: 389080341
Test: Visual test
Test: atest ActionDisabledByAdvancedProtectionDialogTest
Flag: EXEMPT bug fix
Change-Id: I0ed23cd44666a40ad54d755f628cd36ef06cc145
2025-03-04 12:00:50 +00:00
Daniel Norman
b0103842f5 Merge "fix(deep): Add intent actions for a11y magnification & flash notif pages" into main 2025-03-03 10:59:32 -08:00
Daniel Norman
843dbecf2c fix(deep): Add intent actions for a11y magnification & flash notif pages
This aligns these accessibility system feature settings pages with other
similar pages, allowing an external caller to launch this page by
sending an intent.

Similar to other accessibility system settings neither page is protected
by a permission since these settings provide no avenue for abuse.

Bug: 388304424
Test: adb shell am start -W -a android.settings.MAGNIFICATION_SETTINGS;
      Observe that the Magnification Settings page is opened.
Test: adb shell am start -W -a android.settings.FLASH_NOTIFICATIONS_SETTINGS;
      Observe that the Flash Notifications Settings page is opened.
Flag: EXEMPT low risk manifest change
Change-Id: Ibe9e1031f30416c5f3fcfb7ae2fe76e8dcd45714
2025-02-28 23:36:16 +00:00
Yiyi Shen
d6f139b0cf [Audiosharing] Add join handler activity to manifest
Test: compile
Flag: com.android.settingslib.flags.promote_audio_sharing_for_second_auto_connected_lea_device
Bug: 395786392
Change-Id: I9b59300f399f970ae40ffa6fcfdf7f643e271f62
2025-02-25 16:48:46 +08:00
Yiyi Shen
c5ef00c9ae [Audiosharing] Add actions to AudioSharingReceiver intent filter
Test: compile
Bug: 395786392
Flag: EXEMPT manifest
Change-Id: Id918afe9728867df89a6f0f755520bf837fab6e0
2025-02-17 15:48:28 +08:00
Jacky Wang
68bb5a04c9 [Catalyst] Enforce WRITE_SYSTEM_PREFERENCES permission
Bug: 374115149
Bug: 394744563
Flag: com.android.settingslib.flags.settings_catalyst
Test: manual
Change-Id: I63b84aea001033e81b1d811a2de983d8d107015c
2025-02-06 18:03:58 +08:00
yomna
d4dc1fed9e Fix broken Safety Center redirect when SafetySourceData is null
Bug: b/373942609
Test: m & atest CellularSecurityPreferenceControllerTest
Flag: EXEMPT bugfix
Change-Id: I2373ccb5cb51bca23815db9f7645efccc3e0cd88
2025-01-28 02:06:27 +00:00
Lorenzo Lucena Maguire
f5560622f1 Merge "Create Double Tap Power Settings Activity" into main 2025-01-17 11:35:54 -08:00
Lorenzo Lucena Maguire
081836703a Create Double Tap Power Settings Activity
Test: manually launched activity
Bug: 390257067
Flag: EXEMPT declared activity in xml
Change-Id: Idc858b4e916df7e716790b7297b1bd5a58874452
2025-01-17 07:58:21 +00:00
Mill Chen
24c7b78014 Enhance contrast ratio for factory reset page
The current contrast ratio is lower than 4.5. Update the background
color to fix it.

Fix: 379816159
Test: visual test
Flag: EXEMPT bug fix
Change-Id: I1f896b678903966de8bffd6a371c590337c091cb
2025-01-15 05:57:49 +00:00
Shawn Lin
10265d8d90 Merge "[Biometric Onboarding & Edu] Update Set up Face Unlock page" into main 2025-01-08 19:29:47 -08:00
Yuri Ufimtsev
5716bd85f9 Merge "Allow to open Content Protection settings externally" into main 2025-01-07 00:58:53 -08:00
Victor Li
9e36d12ec5 Merge "Set audiostreams service exported=true with BLUETOOTH_PRIVILEGED permission." into main 2025-01-06 18:13:44 -08:00
Yuri Lin
5979b88c7c Merge "Send APP_NOTIFICATION_PROMOTION_SETTINGS intent to the preference" into main 2025-01-06 10:59:50 -08:00
Victor Li
c1b478c9cb Set audiostreams service exported=true with BLUETOOTH_PRIVILEGED permission.
Bug: 387887193

Change-Id: Ie80d8ad9ae3d169eda04d1f4cc87da71c34cbd44
2025-01-06 05:12:31 -08:00
chelseahao
679b76d8e9 Support generic qr code scanners.
Test: atest
Bug: 308368124
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Change-Id: I8dee57903c42d00351e28a891cee917e078839ac
2025-01-06 15:11:40 +08:00
Hani Kazmi
57e649ae4e Merge "Revert "Revert "[AAPM] Add advanced protection dialog according ..."" into main 2025-01-03 09:25:46 -08:00
Yuri Ufimtsev
3eff731e52 Allow to open Content Protection settings externally
Test: adb root && adb shell aflags enable android.view.contentprotection.flags.exported_settings_activity_enabled && adb reboot && sleep 60 && adb shell am start -a android.settings.CONTENT_PROTECTION_SETTINGS
Bug: 385310040
Flag: android.view.contentprotection.flags.exported_settings_activity_enabled
Change-Id: I1a5e33196051de88ceaddb638edab702f762fe5d
2025-01-03 15:48:27 +00:00
Shawn Lin
962f57dc3d [Biometric Onboarding & Edu] Update Set up Face Unlock page
Update icons, strings and layouts for new UX design

Bug: 370940762
Test: manual:
      Pre condition - no face enrolled
      Go Settings>Security & privacy>Device unlock>Face unlock
Test: atest FaceEnrollTest
Flag: com.android.settings.flags.biometrics_onboarding_education
Change-Id: Ie469c47005afb941f5646a2f790736362c23c697
2025-01-02 23:49:00 -08:00
Yuri Lin
023509c895 Send APP_NOTIFICATION_PROMOTION_SETTINGS intent to the preference
This adds APP_NOTIFICATION_PROMOTION_SETTINGS to the set of intents that can go to AppNotificationSettings, and additionally adds the appropriate highlight key when the fragment is started with that intent action.

Flag: android.app.ui_rich_ongoing
Test: manual with flag on & off via sending intents over adb; AppNotificationSettingsTest
Bug: 369150427
Change-Id: I1c48fdae161979f1a221f7c57e83e94f6aadc306
2025-01-02 11:04:22 -05:00