Commit Graph

88158 Commits

Author SHA1 Message Date
Yanting Yang
3e2313e958 Update homepage summaries
- Network & internet
- Connected devices
- Display
- Wallpaper & style
- Accessibility
- Tips & support
- Also clear the redundant codes and tests.

Fixes: 183642373
Fixes: 189981034
Fixes: 190011428
Fixes: 190015037
Test: robotests & visual
Change-Id: Ide19fa5aff67e093d86b259c5e7a307b9ad37550
2021-06-06 12:28:03 +08:00
Les Lee
204f0215da Usage Settings: Fix NPE when subscriberId is Null.
For mobile, a old API: buildTemplateMobileAll doesn't includes the
merged wifi network, call the new API: buildTemplateCarrierMetered
to replace the old one.

But new API: buildTemplateCarrierMetered requires non-null subscriberId.
Call old API: buildTemplateMobileAll when subscriberId is NULL since
the matched result is always empty when subscriberId is NULL. No any different
between buildTemplateCarrierMetered and buildTemplateMobileAll.

Bug: 190233044
Bug: 190135429
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SettingsDumpServiceTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=DataUsageLibTest

Change-Id: Ic6dada8260029e47e044d016ebc701c25dbf9b2a
2021-06-05 03:14:18 +00:00
Kevin Han
34f700a46f Merge "Move unused apps count calculation to bg thread" into sc-dev am: 603cd6c44c am: cbc3c1780d am: cbbb4dbe41
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14795269

Change-Id: I4eeb657c2059fe63ac32d6069511e530db599125
2021-06-05 00:13:33 +00:00
Kevin Chyn
40f13eeb79 Merge changes I490ad424,I92ae38b8,I5db49dd2 into sc-dev am: 4a0a03f0e4 am: 0a8fcd8fe9 am: ee1cb6a1cb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14840764

Change-Id: Iafe1be9ca695bc3aacc2fe116330439154fb375e
2021-06-05 00:13:21 +00:00
Kevin Han
8fc4e9d496 Merge "Move unused apps count calculation to bg thread" into sc-dev am: 603cd6c44c am: 71c447494a am: 8e813a0fbc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14795269

Change-Id: I42dedf8798bc6af57347c0d5f6ec672622a0ac80
2021-06-05 00:13:10 +00:00
Kevin Chyn
d0b69e24b1 Merge changes I490ad424,I92ae38b8,I5db49dd2 into sc-dev am: 4a0a03f0e4 am: e926e6757f am: c9ef612518
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14840764

Change-Id: I5f63620ddbcaf0856ad309080bf4908862461272
2021-06-05 00:12:58 +00:00
Kevin Han
cbbb4dbe41 Merge "Move unused apps count calculation to bg thread" into sc-dev am: 603cd6c44c am: cbc3c1780d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14795269

Change-Id: Ia6de696e2f8fd6b2ffa98caae3ae7fbb803d126e
2021-06-04 23:59:13 +00:00
Kevin Chyn
ee1cb6a1cb Merge changes I490ad424,I92ae38b8,I5db49dd2 into sc-dev am: 4a0a03f0e4 am: 0a8fcd8fe9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14840764

Change-Id: I8fe00b5cb6d9678b1dd203e528e5099cff95029d
2021-06-04 23:58:57 +00:00
Kevin Han
8e813a0fbc Merge "Move unused apps count calculation to bg thread" into sc-dev am: 603cd6c44c am: 71c447494a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14795269

Change-Id: Ibd52a52cb703a02dc5b10dd4b98fccf1a559f418
2021-06-04 23:58:29 +00:00
Kevin Chyn
c9ef612518 Merge changes I490ad424,I92ae38b8,I5db49dd2 into sc-dev am: 4a0a03f0e4 am: e926e6757f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14840764

Change-Id: Ifa515fe41d6c0ea2d94a9d4567b7da80a9625cb2
2021-06-04 23:58:19 +00:00
Kevin Han
71c447494a Merge "Move unused apps count calculation to bg thread" into sc-dev am: 603cd6c44c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14795269

Change-Id: I690efa597ac55bb601d7bf2608ee3e8b56d6e045
2021-06-04 23:44:09 +00:00
Kevin Chyn
e926e6757f Merge changes I490ad424,I92ae38b8,I5db49dd2 into sc-dev am: 4a0a03f0e4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14840764

Change-Id: I301973cb4053811181a9c7564e739317fa8c45b8
2021-06-04 23:44:01 +00:00
Kevin Han
c22daa064e Merge "Move unused apps count calculation to bg thread" into sc-dev am: 603cd6c44c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14795269

Change-Id: Ibbd8e71e04b746b6585c4d31adfbeb35992f939a
2021-06-04 23:42:26 +00:00
Kevin Chyn
81b9af18cd Merge changes I490ad424,I92ae38b8,I5db49dd2 into sc-dev am: 4a0a03f0e4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14840764

Change-Id: I5570bde4923eb68e2e2f4c5fe3314708af0dd550
2021-06-04 23:42:22 +00:00
Kevin Han
cbc3c1780d Merge "Move unused apps count calculation to bg thread" into sc-dev am: 603cd6c44c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14795269

Change-Id: I0aacb5fd54793c53b7f5ca15cbfb16128a7d6e80
2021-06-04 23:41:35 +00:00
Kevin Chyn
0a8fcd8fe9 Merge changes I490ad424,I92ae38b8,I5db49dd2 into sc-dev am: 4a0a03f0e4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14840764

Change-Id: Id795687f5bc58a57a75f8222030f220a46f1988b
2021-06-04 23:41:23 +00:00
Kevin Han
603cd6c44c Merge "Move unused apps count calculation to bg thread" into sc-dev 2021-06-04 23:35:55 +00:00
Kevin Chyn
4a0a03f0e4 Merge changes I490ad424,I92ae38b8,I5db49dd2 into sc-dev
* changes:
  Update fingerprint/face enrollment to lock icon
  Update fingerprint intro drawable
  Remove SUW-specific fingerprint enroll description
2021-06-04 23:26:19 +00:00
Chloris Kuo
7daaba09b1 Merge "Fix NotificationAssistantPreferenceController constructor" into sc-dev am: f9bde76ab9 am: d07a484c46 am: ae5c01e692
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14829751

Change-Id: I81c7315c5f5d39836afa855d6872f2e88034f901
2021-06-04 21:11:34 +00:00
Chloris Kuo
80d21be186 Merge "Fix NotificationAssistantPreferenceController constructor" into sc-dev am: f9bde76ab9 am: 7327a3426d am: e83a9465b2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14829751

Change-Id: Id7a47696bcdd5a3389e407833c9dda6189fb821f
2021-06-04 21:10:58 +00:00
Quang Luong
ada75fbe7e Do not delay updating WifiEntries for first onWifiEntriesUpdated()
The first callback of onWifiEntriesUpdated() after an onStart() should
update the list of WifiEntries without a delay. The callbacks afterwards
should remain delayed to show the progress bar.

Bug: 187473420
Test: build, visual inspection of entries being updated
Change-Id: Ie11ac156673b261157411e4d6216c454266b51a9
2021-06-04 14:08:26 -07:00
Chloris Kuo
ae5c01e692 Merge "Fix NotificationAssistantPreferenceController constructor" into sc-dev am: f9bde76ab9 am: d07a484c46
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14829751

Change-Id: I3b8531d65d5d9202a9a730b6f1840fad2ac22a5b
2021-06-04 20:57:15 +00:00
Chloris Kuo
e83a9465b2 Merge "Fix NotificationAssistantPreferenceController constructor" into sc-dev am: f9bde76ab9 am: 7327a3426d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14829751

Change-Id: I4146ddd2a733f32aae801bcc2a2475054204276e
2021-06-04 20:55:40 +00:00
Chloris Kuo
7327a3426d Merge "Fix NotificationAssistantPreferenceController constructor" into sc-dev am: f9bde76ab9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14829751

Change-Id: I7369b7103d64a354574ae87dbc2eecb01788029a
2021-06-04 20:41:33 +00:00
Chloris Kuo
1eccd6da65 Merge "Fix NotificationAssistantPreferenceController constructor" into sc-dev am: f9bde76ab9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14829751

Change-Id: Ia21e1152e45625d4ef4890b0559804c18a513b4a
2021-06-04 20:39:51 +00:00
Chloris Kuo
d07a484c46 Merge "Fix NotificationAssistantPreferenceController constructor" into sc-dev am: f9bde76ab9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14829751

Change-Id: I02e0e2ff3b9d6012a3ada8b215f79eec4e844c3b
2021-06-04 20:39:39 +00:00
Chloris Kuo
f9bde76ab9 Merge "Fix NotificationAssistantPreferenceController constructor" into sc-dev 2021-06-04 20:27:46 +00:00
Kevin Chyn
ade59af392 Update fingerprint/face enrollment to lock icon
Bug: 187460696
Test: manual
Change-Id: I490ad4246e54ed4ae2e8539e8e9eabba1ccecff6
2021-06-04 12:49:31 -07:00
Kevin Chyn
3e27fd8752 Update fingerprint intro drawable
Bug: 187460696
Test: manual

Change-Id: I92ae38b8851be1e1ad91c9723264249424b9078d
2021-06-04 12:49:23 -07:00
Kevin Chyn
47257c05c8 Remove SUW-specific fingerprint enroll description
Bug: b/187460696
Test: adb shell am start -n com.google.android.setupwizard/.SetupWizardTestActivity
Change-Id: I5db49dd27439445aae9819dbdd0728ac5c02f0cd
2021-06-04 12:47:35 -07:00
TreeHugger Robot
123dac14ae Merge "Fix LifecycleObserver implementation in SmartAutoRotateBatterySaverController" into sc-dev am: 8d9d889a8e am: f436f855c0 am: 253bfebc64
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14628750

Change-Id: I790fb34f65a92017dd54b8342fcc8197d079510a
2021-06-04 19:19:26 +00:00
TreeHugger Robot
5311ac582f Merge "Fix LifecycleObserver implementation in SmartAutoRotateBatterySaverController" into sc-dev am: 8d9d889a8e am: e84551c9d4 am: 686b2037fb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14628750

Change-Id: I6ba9dba78705be934d1682453b096e3887bd1c63
2021-06-04 19:18:58 +00:00
TreeHugger Robot
253bfebc64 Merge "Fix LifecycleObserver implementation in SmartAutoRotateBatterySaverController" into sc-dev am: 8d9d889a8e am: f436f855c0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14628750

Change-Id: I6274c1ec86544066ee275d5eebe858cfa319786c
2021-06-04 18:59:23 +00:00
TreeHugger Robot
686b2037fb Merge "Fix LifecycleObserver implementation in SmartAutoRotateBatterySaverController" into sc-dev am: 8d9d889a8e am: e84551c9d4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14628750

Change-Id: Ic5e77061d77032e44361d6ee10cca6e56dd387d2
2021-06-04 18:57:39 +00:00
TreeHugger Robot
e84551c9d4 Merge "Fix LifecycleObserver implementation in SmartAutoRotateBatterySaverController" into sc-dev am: 8d9d889a8e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14628750

Change-Id: I7abd4ab0af12f4cbb7a7ff30995a2ccea968fefe
2021-06-04 18:43:58 +00:00
TreeHugger Robot
b767671a45 Merge "Fix LifecycleObserver implementation in SmartAutoRotateBatterySaverController" into sc-dev am: 8d9d889a8e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14628750

Change-Id: I825bab7e1f98b80f4acaa89f4b9624b4ca9444d3
2021-06-04 18:42:24 +00:00
TreeHugger Robot
f436f855c0 Merge "Fix LifecycleObserver implementation in SmartAutoRotateBatterySaverController" into sc-dev am: 8d9d889a8e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14628750

Change-Id: If23049d5758d7e2c87ead1c903d1fef36a577b5c
2021-06-04 18:42:16 +00:00
Chloris Kuo
5028e6e6a6 Fix NotificationAssistantPreferenceController constructor
Fix flaky test due to the constructor must either only take Context, or
(Context, String).

Bug: 187998873
Test: CodeInspectionTest, NotificationAssistantPreferenceControllerTest
Change-Id: Ie383ea6773afda05adfb7aa9d7de9e27676f6b29
2021-06-04 11:39:36 -07:00
TreeHugger Robot
8d9d889a8e Merge "Fix LifecycleObserver implementation in SmartAutoRotateBatterySaverController" into sc-dev 2021-06-04 18:31:03 +00:00
Abel Tesfaye
4763e1f16b Fix for Smart auto rotate text summary not updating after QS toggle is modified
Test: locally with flame

Bug: 190198617
Change-Id: I7f896cd5e9bdd0974775eff01120527602662c5b
2021-06-04 18:00:21 +00:00
Weng Su
e7124d8cb1 Increase the maximum height of panel fragment
- Need to increase the panel size to show more slice rows

Bug: 189912933
Test: manual test
make RunSettingsRoboTests

Change-Id: I35e2933b4df25e84928d21493a2fc3754bf064fb
2021-06-04 21:31:11 +08:00
TreeHugger Robot
5aa05260f7 Merge "Storage Settings hides categories when loading" into sc-dev am: 03d4644673 am: 017de20112 am: 938b5681b4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14772155

Change-Id: I77dcb34c23b8d02204e42adc8ebff435081aacee
2021-06-04 12:04:42 +00:00
TreeHugger Robot
549dac0dc3 Merge "Storage Settings hides categories when loading" into sc-dev am: 03d4644673 am: 1a181a3239 am: e6c6db1f61
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14772155

Change-Id: I321a39dc2d76d16a8f4551f7e5157a0d1a1fc7b3
2021-06-04 12:04:29 +00:00
TreeHugger Robot
938b5681b4 Merge "Storage Settings hides categories when loading" into sc-dev am: 03d4644673 am: 017de20112
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14772155

Change-Id: I5add7a18c69de64fb587987d2d17502b8727f575
2021-06-04 11:44:23 +00:00
TreeHugger Robot
e6c6db1f61 Merge "Storage Settings hides categories when loading" into sc-dev am: 03d4644673 am: 1a181a3239
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14772155

Change-Id: Iaeae2fa4a87f76f86ca061306ac96915c5fdf9fd
2021-06-04 11:43:28 +00:00
TreeHugger Robot
1a181a3239 Merge "Storage Settings hides categories when loading" into sc-dev am: 03d4644673
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14772155

Change-Id: I998d4981c82300ae92134f9fd71d6dded45af483
2021-06-04 11:30:19 +00:00
TreeHugger Robot
60a0b58c6a Merge "Storage Settings hides categories when loading" into sc-dev am: 03d4644673
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14772155

Change-Id: I0649f0efeb1cfde02031534c7715b312134d2dc5
2021-06-04 11:28:41 +00:00
TreeHugger Robot
017de20112 Merge "Storage Settings hides categories when loading" into sc-dev am: 03d4644673
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14772155

Change-Id: Ic8a5886cd19213cc4fe54157fa441b107e1db15c
2021-06-04 11:26:14 +00:00
TreeHugger Robot
03d4644673 Merge "Storage Settings hides categories when loading" into sc-dev 2021-06-04 11:09:01 +00:00
Stanley Wang
94620707e6 Merge "Fix NPE in SettingsMainSwitchPreference." into sc-dev am: d9aa0b070f am: a608284e61 am: 1294126804
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14831309

Change-Id: I90cd9494c665a1363fafaa197ea67fa23c71ccc5
2021-06-04 10:42:13 +00:00