Commit Graph

138940 Commits

Author SHA1 Message Date
songferngwang
192f95ee5e Changing the SettingsOutlinedTextField's shape
Bug: 318310357
Bug: 298898436
Bug: 298891941
Test: build pass
Change-Id: I24de2f78844744fd9cc663f45598f6fdf7b897be
2024-02-20 08:31:07 +00:00
Joseph Vincent
12ff61b3c7 Merge "Handle listing of PS apps in Apps > Special App Access > Device Admin Apps" into main 2024-02-20 08:12:23 +00:00
Yiyi Shen
a2577fd60e [Audiosharing] Impl audio sharing feature provider in Settings
Bug: 324023639
Test: manual
Change-Id: I4005ea8fbc0983a833f5a7dee2815f09eab48d3c
2024-02-20 08:06:55 +00:00
chelseahao
13461d2fb8 Add auto on toggle in settings.
Test: atest com.android.settings.bluetooth
Bug: b/316822488 b/316985153
Flag: ACONFIG com.android.settingslib.flags.bluetooth_qs_tile_dialog_auto_on_toggle DISABLED
Change-Id: Iaa8ce3d3f6e2ffa25d8b7a35b5f55f4774ac4a40
2024-02-20 15:42:31 +08:00
SongFerng Wang
38e6e7f513 Merge "[SimsUiEnhancement] The primary SIMs ListPreference's items show number" into main 2024-02-20 03:40:51 +00:00
SongFerng Wang
f4d0eff41e Merge "[SimUiEnhancement] Fix Automatic Data switch UI at SimOnboarding" into main 2024-02-20 02:02:22 +00:00
SongFerng Wang
89963e81ff Merge "[Sims Enhancement] update the sim's name after renaming sim" into main 2024-02-20 02:01:16 +00:00
Android Build Coastguard Worker
39703fdd56 Snap for 11469542 from 3f52a6c47d to 24Q2-release
Change-Id: Ifbfe3f0959e94c60eca4e003601a1ce4ad487c8b
2024-02-20 00:21:23 +00:00
josephpv
62df3efdd7 Handle listing of PS apps in Apps > Special App Access > Device Admin Apps
Currently Device Admin Apps page shows apps from Private space even
when PS is locked.  This change takes care to hide PS apps from the list
when private profile is in quiet mode and on disabling quiet mode PS
apps are shown in the list.
Also takes care to update the active apps summary count to not include
PS apps when private profile is in quiet mode.

Recording link : b/324311892#comment2

Bug: 324311892
Test: Manual
Change-Id: If4199ecad0a228c8e491778fb62c09c8b3f20604
2024-02-19 23:00:19 +00:00
Wu Ahan
c7e3149a25 Refactor SfpsEnrollmentFeatureImplTest
Bug: 288155127
Test: atest SfpsEnrollmentFeatureImplTest
Change-Id: I2725e73ad595db752328bc5092ff4295f634c154
2024-02-19 14:49:26 +00:00
Fiona Campbell
836018788d Create EvenDimmerPreferenceController
- Create preference controller
- linked to even dimmer activated setting

Bug: 179428400
Test: EvenDimmerPreferenceControllerTest
Change-Id: I3ac6501c3d45399caeda96fe6a7dd4164439d1bd
2024-02-19 11:46:11 +00:00
YK Hung
3f52a6c47d Merge "Update log metrics in battery usage." into main 2024-02-19 10:51:01 +00:00
YK Hung
2acee8121f Merge "[Shadow] Update the string and the dismiss button" into main 2024-02-19 09:24:53 +00:00
pajacechen
1abc13fe29 [Shadow] Update the string and the dismiss button
- Disable the dismiss button for incompatible charging
- Update the button string for battery defender tips
- Update settings banner icon for defender

Test: Manual Test
Bug: 315748218
Change-Id: I0cfe03e7984be02eff4fb6dce68cc22fe7edf8e2
2024-02-19 08:06:44 +00:00
Zoey Chen
b1ff2767fd Merge "[ToA] Add the metrics in Settings" into main 2024-02-19 06:20:33 +00:00
Ze Li
ad3fc8c219 [Hide DCK devices] Hide DCK devices from settings app (available devices section).
Hide preferences of devices that are both bonded and exclusively managed in available devices section.

Test: manual test
Bug: 322285078
Change-Id: Id9df1cd20e36c5d50176d64551754364cc1c795f
2024-02-19 12:56:53 +08:00
songferngwang
bf7a8d765e [SimsUiEnhancement] The primary SIMs ListPreference's items show number
Add the number at item's summary at ListPreference

Bug: 318310357
Bug: 298898436
Bug: 298891941
Test: Build pass
atest ListPreferenceTest

Change-Id: I21be34ee73d9532b88443928442def9816ac3bf7
2024-02-19 03:49:43 +00:00
songferngwang
6d0b41af5a [SimUiEnhancement] Fix Automatic Data switch UI at SimOnboarding
- Automatic Data switch can't set value to framework, since
the nonDds is -1
- update the ProgressDialog as compose UI

Bug: 318310357
Bug: 298898436
Bug: 298891941
Test: Build pass
Change-Id: Ifeca38b42b3a51e8a967c0e744eeae06338f6ddc
2024-02-19 03:12:50 +00:00
songferngwang
a70f208df3 [Sims Enhancement] update the sim's name after renaming sim
-Remove remember to update the title and summary
-Sim Onboarding primary sim page removes the catogory

Bug: 318310357
Bug: 298898436
Bug: 298891941
Test: Build pass
Change-Id: Ibc0922511cd1b2e65c6af86eab06b6f9d6fce54d
2024-02-19 02:52:21 +00:00
Android Build Coastguard Worker
0710e476b3 Snap for 11466562 from e9917e2f48 to 24Q2-release
Change-Id: Ia6d36c6b7402fd87a96bc3b0205784f9319eaa4a
2024-02-18 22:21:10 +00:00
Chaohui Wang
e9917e2f48 Fallback to NUMERIC when CARRIER_ID is unknown
For some subscription, the carrier id is unknown (-1), which cause the
inserted APN not be displayed.

Fallback to NUMERIC when CARRIER_ID is unknown to fix this issue.

Fix: 324394199
Test: manual with esim test profile - carrier id -1
Test: unit tests
Change-Id: Ic63a3e0c9ab37c8bdf86a2c7155b08778f05deff
2024-02-18 16:26:15 +08:00
mxyyiyi
f33597b41d Update log metrics in battery usage.
- Remove redundant logs
- Update action id

Bug: 323495266
Test: manual
Change-Id: I3146405912f3df152c7a0d525ba06ba76e2e02df
2024-02-18 16:00:43 +08:00
Android Build Coastguard Worker
5b1aa17084 Snap for 11465908 from faba808e5e to 24Q2-release
Change-Id: I2665d9b406a9c13af2d985a8002dfbe9652fad45
2024-02-17 22:21:10 +00:00
Varun Shah
a00a81cc1c Add new Special App Access screen for Backup Tasks.
This new screen shows apps that hold the new RUN_BACKUP_JOBS permission.

Also add a reference to this screen in an app's info page under the
"Advanced" section for apps that have requested this permission.

Bug: 320563660
Test: BackupTasksAppsTest
Test: BackupTasksAppsPreferenceControllerTest
Test: visually via the Settings page

Change-Id: I7136fc74f3b0d0124889e7cf9e1234f917346432
2024-02-17 21:54:12 +00:00
Mark Kim
faba808e5e Merge "Disable APP_ARCHIVING flag for specific test" into main 2024-02-17 10:01:14 +00:00
Zoey Chen
f322a43a57 [ToA] Add the metrics in Settings
Bug: 323462103
Test: manual + presubmit
Change-Id: Ic7ad80ed0829b11de4f8f7278149292d0cd80622
2024-02-17 07:39:28 +00:00
Treehugger Robot
8f0c7f63ee Merge "Use parent profile for device credential" into main 2024-02-17 05:30:38 +00:00
sunnyshao
507024bbdc Update the datetime page UI
- Use the SwitchPreferenceCompat to replace the SwitchPreference.

Fixes: 322679264
Test: manual test
Change-Id: I2b940538b7f73a7cc0e365a05780eb84900034d4
2024-02-17 11:07:01 +08:00
Android Build Coastguard Worker
9567768251 Snap for 11464157 from f1c1e011b2 to 24Q2-release
Change-Id: Iac59c2fd0dc2d243c1f584957b948ebe0aecced3
2024-02-17 02:21:40 +00:00
Mark Kim
bf0ea22082 Disable APP_ARCHIVING flag for specific test
APP_ARCHIVING flag was introduced to control archiving feature in
Settings separately from OS.
The broken test was expecting archiving feature flag be disabled but it
didn't take into account a newly introduced flag which was automatically
rolled out in ag/26270549

Test: AppButtonsTest
Bug: 325632047
Change-Id: I02a1f4e2e2bfa1b85f2d993c4127698c8a6195dc
2024-02-17 00:47:05 +00:00
David Liu
f1c1e011b2 Merge "Fix keyboard navigation issue, searchbar not able to be selected." into main 2024-02-16 23:26:45 +00:00
Riley Jones
43420f16af DragToEdit Dynaimc Title
Bug: 323388734
Test: atest EditShortcutsPreferenceFragmentTest
Flag: aconfig edit_shortcut_dynamic_title true

Change-Id: I74785054e4f846db04d13a54bd6695e4690f5b8b
2024-02-16 23:03:12 +00:00
David Liu
9489a97754 Fix keyboard navigation issue, searchbar not able to be selected.
- make search toolbar focusable
- set next tab navigation element to homepage_container

Bug: 324420544
Test: manual

Change-Id: I991390e9d980092dfe11b15dcb81563ed3b0d4d1
2024-02-16 19:09:58 +00:00
Android Build Coastguard Worker
eca7c82872 Merge "Snap for 11456215 from e28934a9f9 to 24Q2-release" into 24Q2-release 2024-02-16 01:40:16 +00:00
Android Build Coastguard Worker
cc67ec8f65 Merge "Snap for 11456215 from e28934a9f9 to 24Q2-release" into 24Q2-release 2024-02-16 01:32:45 +00:00
Android Build Coastguard Worker
aa84821218 Snap for 11456215 from e28934a9f9 to 24Q2-release
Change-Id: Id6061ed461baf8fe43f6edcf3d92d37e7420c187
2024-02-16 00:51:54 +00:00
Android Build Coastguard Worker
5f275eff2c Snap for 11456215 from e28934a9f9 to 24Q2-release
Change-Id: Id2d0e533671dceb0a3d71a576fd4cc2b81de2d7d
2024-02-16 00:39:52 +00:00
Android Build Coastguard Worker
2e72c5ada0 Snap for 11456215 from e28934a9f9 to 24Q2-release
Change-Id: Ie2bf6110d8c0527989f66cbfe417aed150edd8e5
2024-02-16 00:38:12 +00:00
Becca Hughes
62fa76f719 Merge "Hide "additional services" if there is only a single primary services" into main 2024-02-15 23:54:59 +00:00
Bill Yi
12f88cebaa [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-qpr-dev am: 0e856c1a68 -s ours
am skip reason: contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/26240501

Change-Id: I32bd12ac6a9db56ff271962ae1d01ba74194faba
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-15 22:16:44 +00:00
Bill Yi
d960c2f373 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 09454f8635 -s ours
am skip reason: contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/26240501

Change-Id: I29b59dbefb46c278fa36ce97bcc0bbbe67e233f2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-15 22:16:36 +00:00
Bill Yi
d282ef8545 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 3d8af28675 -s ours
am skip reason: contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/26240500

Change-Id: I96b73e2c494726f92625af5accc0e1e385eaadd9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-15 22:16:21 +00:00
Bill Yi
0e856c1a68 Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-qpr-dev 2024-02-15 21:28:56 +00:00
Bill Yi
a3aef0ade2 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: ccabf894c1 -s ours
am skip reason: contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/26240499

Change-Id: Ib154cf9c9211af50272628c369a9890ad04fe6d7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-15 20:07:27 +00:00
Joshua McCloskey
e5f62676c8 Adding biometric FRR Notification atom.
Test: statsd_testdrive 793
Test: statsd_testdrive 184
Test: m -j50 RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.biometrics
Test: atest FingerprintUpdaterTest FaceUpdaterTest
Bug: 302171089

Change-Id: I4c921b75321db79cc975b98b54b176a43379cd7c
2024-02-15 19:09:35 +00:00
Bill Yi
e28934a9f9 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-02-15 18:10:24 +00:00
Bill Yi
1018c0e5f6 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-02-15 18:10:24 +00:00
Bill Yi
913dc3d0ce Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-02-15 18:10:24 +00:00
Joshua Mccloskey
1c711222f9 Merge "Adding more biometric screenshot tests" into main 2024-02-15 17:17:51 +00:00
Hani Kazmi
96ab2b9e25 Wired remaining SpecialAppAccess for ECM.
This change enables the remaining settings for ECM, and adds tests for
both this and previous ECM changes.

Bug: 297372999
Test: Tested on device
Test: atest SpaPrivilegedLibTests
Test: atest com.android.settings.applications.specialaccess.notificationaccess
Test: atest com.android.settings.datausage
Test: atest PremiumSmsAccessTest
Test: atest RestrictedPreferenceHelperTest
Change-Id: I73d39d765dba0c1a75111c37b29ccf1c85d2cdd8
2024-02-15 15:15:23 +00:00