Bill Yi
d132c6a8a3
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I388b68cdaf49c96b272e25d64434dc575cb717c6
2021-06-07 03:26:32 +00:00
Bill Yi
509a162ad5
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I7d3900e4010febbecd776f59089d71ae01456432
2021-06-07 03:22:51 +00:00
Bill Yi
9c88dc614f
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I11980069f072d9032b0ce1c2604f9a6d70910156
2021-06-07 03:19:35 +00:00
Bill Yi
3dbdb383ad
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I4ce0771c0f32c3419e9eba1271d11111106bfcde
2021-06-07 03:18:04 +00:00
Les Lee
9dabe5005c
Merge "Usage Settings: Fix NPE when subscriberId is Null." into sc-dev am: 787685b2cc
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14847052
Change-Id: I78ee71bfac73cbece7efe1c6fbaf91c2e03ae5ce
2021-06-07 02:53:41 +00:00
TreeHugger Robot
14cdceb10a
Merge "Add key for StorageDashboardFragment" into sc-dev am: b734aa3f7f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14841816
Change-Id: I7a4e9eda41709d631c242355db63de5dcd61314e
2021-06-07 02:53:31 +00:00
Les Lee
787685b2cc
Merge "Usage Settings: Fix NPE when subscriberId is Null." into sc-dev
2021-06-07 02:41:28 +00:00
TreeHugger Robot
b734aa3f7f
Merge "Add key for StorageDashboardFragment" into sc-dev
2021-06-07 02:37:51 +00:00
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
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
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
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
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
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
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
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
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
03d4644673
Merge "Storage Settings hides categories when loading" into sc-dev
2021-06-04 11:09:01 +00:00
Stanley Wang
0123df37f3
Merge "Fix NPE in SettingsMainSwitchPreference." into sc-dev am: d9aa0b070f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14831309
Change-Id: Ic00dc349ebe64a1684a7d8f7a4dab1068188c03f
2021-06-04 10:12:54 +00:00
TreeHugger Robot
5fc592ed28
Merge "Apply sliding transition to biometric settings" into sc-dev am: 7f13b83ef1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14819341
Change-Id: Icfd5d1da7c01e0577ff761c117e1c1feba2f69e0
2021-06-04 10:12:46 +00:00
Stanley Wang
d9aa0b070f
Merge "Fix NPE in SettingsMainSwitchPreference." into sc-dev
2021-06-04 10:06:32 +00:00
TreeHugger Robot
7f13b83ef1
Merge "Apply sliding transition to biometric settings" into sc-dev
2021-06-04 09:57:37 +00:00
Arc Wang
031c3aebed
Add key for StorageDashboardFragment
...
To let it be searchable.
Bug: 188425972
Test: manual visual
Search 'storage' in Settings search box.
Change-Id: Ie7f82760cc5da9ef14b48d75127c62cb60cbff94
2021-06-04 17:34:31 +08:00
Arc Wang
8297718f60
Set storage volume spinner invsible when only 1 volume am: 1beae1bf91
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14831304
Change-Id: I9b462403ee41b3235ce64cadbdc09b4f389b6e7e
2021-06-04 09:13:43 +00:00
changbetty
ae1af61b80
Remove extra space under "Wi-Fi hotspot" option
...
Due to the attribute "settings:summaryLineCount" cause the extra space,
use "android:maxLines" instead of the original attribute.
Bug: 186609481
Test: Manual test
Change-Id: Id0beeeddfab443a4434f53b7575af0966e3371d7
2021-06-04 17:12:16 +08:00
Stanley Wang
481b3abe0d
Fix NPE in SettingsMainSwitchPreference.
...
- Check if the RestrictedPreferenceHelper is null to avoid NPE.
Fix: 190135868
Test: run robotest and manually test that page.
Change-Id: I746099260d8f53dc30513ccbb30aec5cbe3657e7
2021-06-04 16:15:04 +08:00
Yi-Ling Chuang
9312dc83fa
Apply sliding transition to biometric settings
...
Bug: 187542491
Test: rebuild
Change-Id: Ife645785a37c4ac838204d0613dffd5a5911a47e
2021-06-04 15:49:43 +08:00
Arc Wang
1beae1bf91
Set storage volume spinner invsible when only 1 volume
...
Bug: 189390166
Test: atest StorageSelectionPreferenceControllerTest
Change-Id: I93e5fbf50153580ec60c146959d21e61f556c18c
2021-06-04 07:25:30 +00:00
TreeHugger Robot
4c85fa3c67
Merge "Fix phishing attacks over Bluetooth due to unclear warning message" into sc-dev am: 367fe0eae0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14809886
Change-Id: I9f425dd5c1a7fc41e5ff2a968c4157e8d66255e9
2021-06-04 06:28:09 +00:00
Arc Wang
d63f40f633
Merge "Set font size 20 for StorageItemPreference" into sc-dev am: 466be8d6fe
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14831293
Change-Id: I76ab017dd778902f6bc762643fab4bb5d45d19d6
2021-06-04 06:28:03 +00:00
TreeHugger Robot
367fe0eae0
Merge "Fix phishing attacks over Bluetooth due to unclear warning message" into sc-dev
2021-06-04 06:17:01 +00:00
Arc Wang
466be8d6fe
Merge "Set font size 20 for StorageItemPreference" into sc-dev
2021-06-04 04:06:08 +00:00
Arc Wang
51b3e7a093
Storage Settings hides categories when loading
...
To hide sorting animation.
- Storage Settings always loads cache and updates UI, then
loads storage size and updates UI.
Remove the chche design because storage category preferences
will hide during loading, it no meaning to load from cache
and update UI.
- Hides loading circle before storage category preferences
become visible, it prevents flickers.
- Remove Calculating... summary of StorageItemPreference.
- Private storage category preferences and secondary user
preference become visible at
StorageItemPreferenceController#onLoadFinished.
Bug: 188731179
Bug: 185547228
Bug: 188615591
Test: atest com.android.settings.deviceinfo
atest com.android.settings.deviceinfo.storage
make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.deviceinfo
make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.deviceinfo.storage
manual visual
Change-Id: I3ebef5829ef4f806add07f58fa02520804768be5
2021-06-04 11:50:12 +08:00
Arc Wang
578affca57
Set font size 20 for StorageItemPreference
...
To improve UX.
Bug: 189390237
Test: manual visual
Change-Id: Ice40b7c8c86f7f4c220d43fd7f4a035e6160e50d
2021-06-04 10:45:36 +08:00
TreeHugger Robot
43235f86d9
Merge "Disable RecyclerView animation to fix the broken UI" into sc-dev am: 3d94997425
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14819331
Change-Id: I1d4c7dbd7b86a06fc37f6dd04566e4dd0bfa2769
2021-06-04 02:30:59 +00:00
Wesley.CW Wang
6f650b11fb
Update string reference
...
Bug: 189842579
Bug: 189899895
Test: make RunSettingsRoboTests
Change-Id: I545f85226fcd184aa7e2af84734943173a869693
2021-06-04 02:29:05 +00:00
Kevin Han
8df22e7cd9
Move unused apps count calculation to bg thread
...
Move the somewhat expensive calculation of the "Unused apps" count to
the background thread
Initially, the "Unused apps" preference is unavailable. When the bg work
finishes and we see we have a non-zero number of unused apps, we display
the preference and update the summary text.
Bug: 187996287
Test: atest HibernatedAppsPreferenceControllerTest
Test: measure latency of displaying preferences w/ custom trace points
Change-Id: Idb0d836fd8f4bcdd2605a7d59703a7ed53bcd6d4
2021-06-03 19:14:25 -07:00
TreeHugger Robot
3d94997425
Merge "Disable RecyclerView animation to fix the broken UI" into sc-dev
2021-06-04 01:56:54 +00:00
TreeHugger Robot
a2da3b7769
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod am: 37e8f3f696 -s ours am: ee2d493495 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14807223
Change-Id: I19aab83f94be59753b2e278e60ad8651e5f98ca8
2021-06-03 19:38:33 +00:00
Bill Yi
328b6b1133
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 79ef9e3fc8 -s ours am: fc601649d9 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14807224
Change-Id: Ib8b4032d498f7e932ad3443fb28bbda00ae356f3
2021-06-03 19:38:24 +00:00
TreeHugger Robot
da1f092ff6
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: 23e3a2b7f2 -s ours am: 7221374cb4 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14807226
Change-Id: I975619762eee55bdc55f5f64f48d01cad8d90ed7
2021-06-03 19:38:02 +00:00