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>
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>
* 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>
* 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>
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
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
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
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
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
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
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