Commit Graph

38982 Commits

Author SHA1 Message Date
Varun Shah
eefce6a1f3 Handle blobs and leases that never expire correctly.
Add logic to properly handle blobs and leases that never expire.

Also add the relevant strings required in this package.

Fixes: 194439893
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SharedDataPreferenceControllerTest
Test: manual (visual)
Change-Id: Ifeb216a92a3be8d1db3574b4f63e2d04adace4ea
2021-08-03 12:09:14 -07:00
Bonian Chen
a8ce9abde7 [Settings] SIM summary subtitle display "null" when Fi SIM
This is a case where two Fi SIM are within device.
Try to aggregate them when they got same group UUID.

Bug: 194761536
Test: local
Change-Id: I669e65dba6b5508f8cde88695f45eb459cd29474
2021-07-27 09:36:07 +00:00
Quang Luong
59e8268954 Merge "Rename Enhanced MAC Randomization to Non-Persistent" 2021-07-26 16:20:27 +00:00
Peter Kalauskas
b264d3a9af Merge "Fix: change owner name when account setup" into sc-dev am: c9076d3d36 am: a7f2f06bd4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15377999

Change-Id: I348926ec96c0feea6ae941f6e7bf6aef4fd231ae
2021-07-26 15:23:19 +00:00
Peter Kalauskas
c9076d3d36 Merge "Fix: change owner name when account setup" into sc-dev 2021-07-26 14:52:29 +00:00
Bonian Chen
4f2a97987b Merge "[Settings] Allow disabled SIM to be controlled in UI" 2021-07-26 05:00:12 +00:00
TreeHugger Robot
20948a6bac Merge "Use correct user ID for face bypass pref controller" into sc-dev am: ae23247270 am: 2db28ba980
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15379629

Change-Id: I8b44af8077061db5ef3c3c4fae48762e1afe8787
2021-07-24 19:11:28 +00:00
TreeHugger Robot
ae23247270 Merge "Use correct user ID for face bypass pref controller" into sc-dev 2021-07-24 18:46:18 +00:00
Curtis Belmonte
43f2be2059 Use correct user ID for face bypass pref controller
Ensures that the lockscreen bypass preference toggle shown on the face
unlock settings screen always uses the correct user ID. This fixes an
issue where the preference toggle for a guest user would use the
primary user's setting when multiple biometrics are supported.

Test: Manual:
1. Turn on Settings > System > Multiple users > Use multiple users
2. Add a guest account and switch to it
3. Enroll a face for Face Unlock on the guest account
4. From the Face Unlock settings screen, toggle "Skip lock screen"
5. Ensure that face bypasses lock screen iff this toggle is on
6. Switch back to the owner account and repeat steps 3-5

Fixes: 193488905
Change-Id: I2da4ce466fe0446cccc9119c90bd322daf627339
2021-07-24 09:20:08 -07:00
Bonian Chen
847f326cd4 [Settings] Allow disabled SIM to be controlled in UI
Disabled SIM are hidden from UI due to the API only check if there's a
SIM with mobile data capability active within device.

Right now, the UI design has been changed. The UI here should be
accessible no mater with or without the support of mobile data.

Bug: 193820245
Test: local
Change-Id: I9c8b8fa16e74cd0fe4419966cc97ad55b5b87b17
2021-07-24 14:42:37 +00:00
Tom Hsu
6930afb83e Merge "[Settings] Fix problem that MobileNetworkActivity show wrong Info." into sc-dev am: d3d3161695 am: 4f3957614f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15372364

Change-Id: Ied4c7301c8387cd220603dd52226303ebba7c06f
2021-07-24 06:53:39 +00:00
tom hsu
01f43ff290 [Settings] Fix problem that MobileNetworkActivity show wrong Info.
- UiccSlotInfo only provide current active slots. It doesn't provide
 inactive slot. Thus,it should not use it for checking sim existed.

Bug: 194022251
Bug: 194378040
Test: Maunal test
Change-Id: I00a3fcf3f700bee804bad12039d6d13a1404cc74
2021-07-24 05:34:07 +00:00
Adam Bookatz
7ae8801fba Fix: change owner name when account setup
When the device is setup with an account the
owner's user name should be updated. This was broken due to
ag/14056085, so we fix it here.

Test: manual (set up new device and make sure name is changed)
Bug: 194510551
Change-Id: Ide5bc525eba17c78f457c2baa131d7cefd4c15dd
2021-07-23 23:50:54 +00:00
ykhung
6878ad1c41 Remove some debugging log to avoid print too much data out am: 13bcdba67a am: 31182c6551
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15360451

Change-Id: Iccc310a98daecb86deeb9d901cbc35d947874d53
2021-07-23 09:08:12 +00:00
SongFerng Wang
9e6928ae2e Merge "aggregate the items of network selection list" into sc-dev 2021-07-23 09:04:58 +00:00
SongFerngWang
7f5c984655 aggregate the items of network selection list
According to bug comment#44, modem only report one PLMN per RAT
for different cells reported for the same PLMN/RAT combination,
UI affregate those items.
Bug: 173387374
Test: atest NetworkSelectSettingsTest

Change-Id: I155abc8dda7c8ec42cf4fd677bd2aa99d1033ad1
Merged-In: I8e05b9f6784bad7f0de4e79cc6e707749745f0c1
2021-07-23 07:27:30 +00:00
ykhung
13bcdba67a Remove some debugging log to avoid print too much data out
Fixes: 194251993
Fixes: 194021631
Test: make SettingsRoboTests
Change-Id: Ibd1c7ce9d664820b2975039582a1ea5fb18b0be1
2021-07-23 02:52:14 +00:00
Quang Luong
88a091789b Rename Enhanced MAC Randomization to Non-Persistent
Enhanced MAC Randomization has been renamed to Non-Persistent MAC
Randomization, so this change should also be reflected in Settings code.

Bug: 162854429
Test: verify developer toggle for non-persistent MAC still worked
Change-Id: Iafdc72e63d9254e32036b491c2458fd5351e36e4
2021-07-22 16:02:37 -07:00
TreeHugger Robot
7ca5f9d9e1 Merge "Add TARE button and homepage to developer options." 2021-07-22 22:21:42 +00:00
alinasuarez
6ffa9dad04 Add TARE button and homepage to developer options.
A TARE button is needed in the developer options in settings to allow
users and developers to change the default settings it will come with.
When clicked, it opens an activity of the TARE homepage with a toggle
and the two policies (Alarm Manager and Job Scheduler) to choose between. It also contains a revert to default settings button.

Bug: 191876567

Test: Manual (open Settings > System > Developer Options > TARE and
verify tabs and menus are there)

Change-Id: Id14bc9c1dcbaaf2aeb74ba7efb0168ab424f5d0c
2021-07-22 20:52:06 +00:00
SongFerng Wang
89b16b3690 Merge "aggregate the items of network selection list" 2021-07-22 19:54:25 +00:00
TreeHugger Robot
fd94b83aa5 Merge "Update accesibility button to suuport accessibility gesutre" into sc-v2-dev am: bd41311025 am: 73aa50eca6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15085892

Change-Id: Iaec6cc0a4a008e15c89844b120d29951b1fd1041
2021-07-22 19:26:26 +00:00
TreeHugger Robot
3204d05541 Merge "Add back the shortcut dialog content for accessibility gesture" into sc-v2-dev am: b1bdec314a am: 4978a2ed2f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15085455

Change-Id: Ie57e31e13502471c2a05a180c09b5d443c6a3fe1
2021-07-22 19:26:24 +00:00
TreeHugger Robot
f616211a8b Merge "Add back the accessibility gesture tutorial dialog in system navigation" into sc-v2-dev am: 750dc4a067 am: 764683ad00
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15083860

Change-Id: I3e81be1f3b227cf12bfa6ea195454cf6b624b462
2021-07-22 19:26:14 +00:00
TreeHugger Robot
73aa50eca6 Merge "Update accesibility button to suuport accessibility gesutre" into sc-v2-dev am: bd41311025
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15085892

Change-Id: I2885e26d6ee4f7e323bf4eccd4f3fa27b608ac70
2021-07-22 19:12:07 +00:00
TreeHugger Robot
4978a2ed2f Merge "Add back the shortcut dialog content for accessibility gesture" into sc-v2-dev am: b1bdec314a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15085455

Change-Id: If9e22c7fa4381b0e0f96e193482f65ff6391fb73
2021-07-22 19:12:05 +00:00
TreeHugger Robot
764683ad00 Merge "Add back the accessibility gesture tutorial dialog in system navigation" into sc-v2-dev am: 750dc4a067
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15083860

Change-Id: I0b1912daf387f7242e3a96db6965cf3bb725216b
2021-07-22 19:12:03 +00:00
TreeHugger Robot
bd41311025 Merge "Update accesibility button to suuport accessibility gesutre" into sc-v2-dev 2021-07-22 18:54:00 +00:00
TreeHugger Robot
b1bdec314a Merge "Add back the shortcut dialog content for accessibility gesture" into sc-v2-dev 2021-07-22 18:54:00 +00:00
TreeHugger Robot
750dc4a067 Merge "Add back the accessibility gesture tutorial dialog in system navigation" into sc-v2-dev 2021-07-22 18:54:00 +00:00
SongFerngWang
2868b4af7a aggregate the items of network selection list
According to bug comment#44, modem only report one PLMN per RAT
for different cells reported for the same PLMN/RAT combination,
UI affregate those items.
Bug: 173387374
Test: atest NetworkSelectSettingsTest

Change-Id: I8e05b9f6784bad7f0de4e79cc6e707749745f0c1
2021-07-23 01:07:04 +08:00
TreeHugger Robot
045b822ff1 Merge "Refactor HandlerInjector to SettingsLib" 2021-07-22 09:30:18 +00:00
TreeHugger Robot
e01b7a11f0 Merge "Refactor InternetIconInjector to SettingsLib" 2021-07-22 09:22:30 +00:00
Tiffany Nguyen
2c40a6f19a Merge "Fix unbundled settings launching activity." 2021-07-22 07:53:37 +00:00
Betty Chang
1465b649df Merge "Change the Network preference summary for wifi option" 2021-07-22 04:02:27 +00:00
changbetty
1d37fc6daf Change the Network preference summary for wifi option
Bug:192987269
Test: Manual test
Test: make RunSettingsRoboTests
ROBOTEST_FILTER=NetworkProviderSettingsTest

Change-Id: I3892386f8fe2e5c3e29cd7e91f88db65c3693990
2021-07-22 03:25:21 +00:00
Weng Su
3563baee28 Refactor HandlerInjector to SettingsLib
- Plan to share the HandlerInjector class to System UI.

Bug: 194186477
Test: manual test
atest InternetResetHelperTest

Change-Id: I4b1b72ac7742bcfdd89ae61d9f88df1c64224f1f
2021-07-21 13:37:31 +00:00
YUKAI HUNG
9d2048ab5b Merge "Include new "dex2oat64" process to map into App Optimization name" into sc-dev 2021-07-21 13:06:50 +00:00
Weng Su
54b45141b5 Refactor InternetIconInjector to SettingsLib
- Plan to share the InternetIconInjector class to System UI.

Bug: 192923176
Test: manual test
atest WifiEntryPreferenceTest

Change-Id: I6c15e49478f4fff54fbbb62b04c0b371e5acd3d8
2021-07-21 20:43:42 +08:00
ykhung
512fcfc73b Enhance battery usage refresh content log for performance testing
Fixes: 194021631
Test: make SettingsRoboTests
Change-Id: If013befb7a9aaf590762cec10035269e66588ab7
(cherry picked from commit 8c4f097592)
2021-07-21 09:41:19 +00:00
ykhung
26af50c21e Include new "dex2oat64" process to map into App Optimization name
Bug: 191991503
Test: make SettingsRoboTests
Change-Id: Ib392ed3adf7fe37fdaf73076dd1c3cd8361468eb
(cherry picked from commit d76c12f69c)
2021-07-21 09:39:12 +00:00
Tiffany Nguyen
161bbeaa1d Fix unbundled settings launching activity.
Bug: 194257786
Test: Unit
Change-Id: I69dc860878e5900d0c6142221349adfd52447884
2021-07-21 06:55:11 +00:00
TreeHugger Robot
7f17385194 Merge "Add logs for tracking Slice provider startup" into sc-dev am: 623d86d121 am: e690a351ae
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15334936

Change-Id: I9e0616ace822fc47bbc957e0bb957888b43c87a3
2021-07-21 05:16:39 +00:00
TreeHugger Robot
188acf6267 Merge "Add logs for tracking Slice provider startup" into sc-dev am: 623d86d121 am: edd603ce9b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15334936

Change-Id: Icd41ba07e33954c3791e9562bc02c54627951fe9
2021-07-21 05:16:37 +00:00
TreeHugger Robot
e20cfa4854 Merge "Add logs for tracking Slice provider startup" into sc-dev am: 623d86d121
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15334936

Change-Id: I404d161723ddf9b2476ea9790fe2d364c76553aa
2021-07-21 05:07:56 +00:00
TreeHugger Robot
edd603ce9b Merge "Add logs for tracking Slice provider startup" into sc-dev am: 623d86d121
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15334936

Change-Id: I6ede3c1673a156b50af9c9d2644448ae22c711ba
2021-07-21 05:06:49 +00:00
TreeHugger Robot
623d86d121 Merge "Add logs for tracking Slice provider startup" into sc-dev 2021-07-21 04:52:23 +00:00
Jason Chiu
f0248e096e Add logs for tracking Slice provider startup
Bug: 191555397
Test: build, manual
Change-Id: Ic95fb0a7a8ba30f7802111a7a453fb73f4c918fe
2021-07-21 03:48:03 +00:00
Curtis Belmonte
b4cd016706 Move multi-biometric logic to base fp intro activity am: 0a8916a808 am: 7b17b326b0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15339693

Change-Id: I0510776afc14d157f3c7f3a07a49afdaedc26768
2021-07-21 00:50:46 +00:00
Curtis Belmonte
fd7be4dd45 Move multi-biometric logic to base fp intro activity am: 0a8916a808 am: 3ade9189c9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15339693

Change-Id: I6afde458af20e5821b01c7a1fc7626c5820007c0
2021-07-21 00:50:16 +00:00