Zoey Chen
c968a80ff6
Merge "[ProviderModel] Use category to separate physical SIM and e-SIM" into sc-dev
2021-06-01 02:16:08 +00:00
Zoey Chen
71fada3af8
[ProviderModel] Use category to separate physical SIM and e-SIM
...
Mock from UX: https://screenshot.googleplex.com/4kscwJvoQE7vwF3.png
Implementation UI: https://screenshot.googleplex.com/AEeVzLi364KiPGa.png
Bug: 187071119
Test: atest NetworkProviderSimListControllerTest
Test: atest NetworkProviderSimsCategoryControllerTest
Test: atest NetworkProviderDownloadedSimListControllerTest
Test: atest NetworkProviderDownloadedSimsCategoryControllerTest
Change-Id: Ia84bebe6ea431cdbae19f3e4b840f7cd56dc2d6f
2021-05-31 23:59:37 +08:00
TreeHugger Robot
0462ffaffc
Merge "Reduce flickers when launching Storage Settings" into sc-dev
2021-05-31 14:16:05 +00:00
Arc Wang
96b6106f2f
Reduce flickers when launching Storage Settings
...
This change remove unnecessary UI dpdate of
StorageItemPreferenceController.
- For StorageItemPreferenceController:
Remove UI update at #displayPreference since onLoadFinished will update.
Don't update order at #setVolume since onLoadFinished will update.
- StorageDashboardFragment & StorageCategoryFragment update
StorageItemPreferenceController only when both StorageInfo
and StorageResult are loaded.
Bug: 185547228
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
Click each file category to count files size is the same as
displayed in Storage Settings.
manual visual
Change-Id: Id449003827a3e340e7a90f706152100b5568f834
2021-05-31 12:48:02 +00:00
TreeHugger Robot
3117d90824
Merge "Disable preference list animation for Internet Settings" into sc-dev
2021-05-31 08:59:06 +00:00
Galia Peycheva
13caa482bb
Merge "Repurpose the blurs dev option for window blurs" into sc-dev
2021-05-31 08:49:28 +00:00
TreeHugger Robot
567e29adf0
Merge "[Provider model] Update the Wi-Fi icons in the Settings" into sc-dev
2021-05-31 08:45:46 +00:00
Stanley Wang
9b6ead8de7
SettingsMainSwitchPreference should display the restricted icon
...
if it is restricted.
- Use the RestrictedPreferenceHelper to check the restricted state.
Fix: 179245126
Test: rebotest and see the UI
Change-Id: I3c0e3bd0f3596d6fa548b6f8f10e4d12e7e50c9a
2021-05-31 14:49:48 +08:00
ryanlwlin
6843d14397
Fix number localization in the strings.xml
...
The numbers in the strings.xml should honor user settings.
To fix it we use messageformat to fill the
numbers.
Bug: 187526475
Test: manually test
Change-Id: I3e7ad96d4b889dbbfebb7110ca7ee2a738b88fd8
2021-05-31 14:25:09 +08:00
Wesley Wang
bb2f72b672
Merge "Add description to battery settings footer link (2/3)" into sc-dev
2021-05-31 05:42:37 +00:00
Betty Chang
2a0df950b3
Merge "[GAR] Set the attribute of SliceView is not important to skip for Accessibily" into sc-dev
2021-05-31 03:42:58 +00:00
Yanting Yang
afcb0497a8
Merge "Remove silky flag from System for official release" into sc-dev
2021-05-31 03:01:10 +00:00
YUKAI HUNG
72f0500211
Merge "Resolve localization issue and refine UI for chart view" into sc-dev
2021-05-31 03:00:58 +00:00
YUKAI HUNG
b7aa32d3db
Merge "Convert battery framework provided package name to valid one" into sc-dev
2021-05-31 03:00:49 +00:00
Menghan Li
302fb36121
Merge "Fix dialog when turn on Magnification shortcut doesn't apply GS family" into sc-dev
2021-05-31 02:44:12 +00:00
TreeHugger Robot
88346ce71c
Merge "Update Policy transparency dialog layout" into sc-dev
2021-05-31 02:29:53 +00:00
TreeHugger Robot
bc587c4d1f
Merge "Fix bluetooth pairing notification could not be removed" into sc-dev
2021-05-31 02:07:17 +00:00
Weng Su
b500e647e1
Disable preference list animation for Internet Settings
...
Bug: 173207801
Test: manual test
make RunSettingsRoboTests ROBOTEST_FILTER=NetworkProviderSettingsTest
Change-Id: I774babec60cbb297b8ad0b24141eb57f082d2a5a
2021-05-31 03:40:33 +08:00
ykhung
0caec37161
Resolve localization issue and refine UI for chart view
...
Bug: 189293866
Bug: 189407613
Bug: 189413817
Test: make SettingsgRoboTests
Change-Id: If38d133d88bb940c248ef1887548112ff576e0c4
2021-05-28 22:07:01 +08:00
Wesley.CW Wang
256636055b
Add description to battery settings footer link (2/3)
...
- Update battery saver footer learn more link description
- Update app usage footer learn more link description
Bug: 187812487
Bug: 187135286
Test: make RunSettingsRoboTests
Change-Id: Iee496cf615f2f9e0e61be69d6b3a1d6c1c859013
2021-05-28 17:40:04 +08:00
ykhung
2098665e51
Convert battery framework provided package name to valid one
...
convert battery framework provided package name to formal one, since
some returned package name will append the process name to avoid
fetching app label and icon not found. for example:
Bug: 188751551
Test: make SettingsgRoboTests
Change-Id: If59167d575154f99eba2c7bd81a1d862652ea47b
2021-05-28 13:37:32 +08:00
TreeHugger Robot
7ffd89ed06
Merge "Hide "Add link" item when have no addable items" into sc-dev
2021-05-28 03:21:42 +00:00
TreeHugger Robot
aab74b24c0
Merge "Fix NPE at Storage Settings configuration change" into sc-dev
2021-05-28 02:01:54 +00:00
TreeHugger Robot
90c29cf014
Merge "Shows trash category in Storage Settings" into sc-dev
2021-05-27 23:33:57 +00:00
menghanli
5ea1f03287
Fix dialog when turn on Magnification shortcut doesn't apply GS family
...
Bug: 188754508
Bug: 186065669
Test: Manual testing
Change-Id: I0ce3cbf4abb6e9e6f1f25577bddb16e316c8c370
2021-05-27 20:41:52 +00:00
TreeHugger Robot
2718cea083
Merge "Fix scrolling issue after MLS switches" into sc-dev
2021-05-27 19:57:34 +00:00
Yu-Han Yang
fdff6af031
Fix scrolling issue after MLS switches
...
Bug: 187546020
Test: on device
Change-Id: Ie1c573396cbc8b3256db5e350c622e566a44495c
2021-05-27 11:31:09 -07:00
Felipe Leme
e89c2fd4b8
Further refactoring on ActionDisabledByAdminDialog classes.
...
Bug: 184107103
Bug: 188836559
Test: m -j RunSettingsRoboTests ROBOTEST_FILTER=ActionDisabledByAdminDialogHelperTest
Test: atest ActionDisabledLearnMoreButtonLauncherImplTest
Test: adb shell am start -e android.app.extra.RESTRICTION no_install_unknown-sources -a android.settings.SHOW_ADMIN_SUPPORT_DETAILS
Test: manual verification with CtsVerifier
Change-Id: I3c4056d82834b5e2a4afbd958be7c9d0b9af543e
2021-05-27 11:27:33 -07:00
Beth Thibodeau
8e67634830
Merge "Add recommendation setting and remove app settings" into sc-dev
2021-05-27 16:19:17 +00:00
Arc Wang
8fde6ca821
Shows trash category in Storage Settings
...
If there is APP which supports VIEW_TRASH intent,
use it to show trash files. Otherwise popup a dialog
to guide users to empty trash files.
Bug: 189109564
Test: manual visual
Observe size information are the same as files in Files APP.
Observe if empty trash button empty trash files.
Observe if Trash category update summary and order after emptying
trash files.
Change-Id: Ia3c46dcb1b4fadcdfb865f7dd315c27f8f98cb2c
2021-05-27 17:50:11 +08:00
Betty Chang
b857491c48
Merge "Adding an option to install a certificate from the CA certificate menu" into sc-dev
2021-05-27 09:04:42 +00:00
Sunny Shao
8610fff399
Hide "Add link" item when have no addable items
...
Fixes: 188115562
Test: manual test
Change-Id: I9cfc634a50cc75d907f4563e1a9d9c1fa34d88fb
2021-05-27 16:59:04 +08:00
changbetty
f6b159382c
[GAR] Set the attribute of SliceView is not important to skip for Accessibily
...
Bug: 179002330
Test: manual test
make RunSettingsRoboTests ROBOTEST_FILTER=PanelSlicesAdapterTest
Change-Id: I67cdd04cd5655ab297d58d7f9ee20e5e0f6ea7fd
2021-05-27 16:52:36 +08:00
Kevin Chyn
dc00faece6
Merge "Use lottie animation for fingerprint edu" into sc-dev
2021-05-27 08:31:55 +00:00
Galia Peycheva
4b4a8c3a51
Repurpose the blurs dev option for window blurs
...
Bug: 185580298
Test: make RunSettingsRoboTests ROBOTEST_FILTER=EnabledBlursPreferenceControllerTest
Change-Id: I12e356c4a2997bf67580652e7d3fff9bb89483ac
2021-05-27 09:42:33 +02:00
Hugh Chen
dd42f65e4e
Fix flickering in USB page
...
Init usb UI in displayPreference().
Bug: 189390680
Test: make RunSettingsRoboTests
Change-Id: I0c9c7954a49a8484b466c852c2336ead032cc2e4
2021-05-27 14:25:01 +08:00
Yanting Yang
5035ef9f94
Remove silky flag from System for official release
...
Remove the silky condition and clean up redundant files.
Bug: 183670633
Test: robotests & visual
Change-Id: I2743a65869c4fe2ea684e259373ddc309dea59c3
2021-05-27 13:53:18 +08:00
Edgar Wang
83507b5f33
Update Policy transparency dialog layout
...
- Update icon
- Fix color didn't apply dark theme.
Bug: 188756125
Bug: 189167991
Test: manual
Change-Id: Ie975c8999efe352fc9485d936a065d33e5ca76b1
2021-05-27 13:03:44 +08:00
Arc Wang
07f2086ecd
Fix NPE at Storage Settings configuration change
...
At configuration change, both StorageCategoryFragment and
ProfileSelectStorageFragment are re-created and there is
a different callback sequence than normal case.
This change save/restore mSelectedStorageEntry in instance
state bundle to fix the NPE.
Bug: 189108700
Test: manual
Install work profile and rotate Storage Settings.
Change-Id: I39d7ef7ced22188ee66216d57518198d63671e0e
2021-05-27 10:27:24 +08:00
Hugh Chen
aedba90a9e
Fix truncated in USB preference
...
Make preference could be shown two line title.
Screenshot:
https://screenshot.googleplex.com/Akod4qejhzmDH8z.png
Bug: 189189209
Test: manually test
Change-Id: Id2c69ba07d81234dce0b31ffd2cc80fb0d1e6f7f
2021-05-27 10:15:10 +08:00
Hugh Chen
b2af6ce1bd
Fix bluetooth pairing notification could not be removed
...
Remove the notification when deivce is not bonding.
Bug: 189284833
Test: manually test
Change-Id: Iaa7f04175dac2016777b0de287122108b74b34d8
2021-05-27 10:08:24 +08:00
Curtis Belmonte
2c8745b58d
Merge "Fix crash due to traffic light face Lottie animation" into sc-dev
2021-05-27 01:55:58 +00:00
Curtis Belmonte
adf0cabe0a
Fix crash due to traffic light face Lottie animation
...
Load the animation asset only if enabled in the resource config, to
avoid crashing on unsupported device configurations.
Test: Manual
Fixes: 189290180
Change-Id: Iae46c735277777705c1d6f4595b557e4b0b1aef7
2021-05-26 16:11:56 -07:00
Kevin Chyn
1bad80b36b
Use lottie animation for fingerprint edu
...
The landscape layout can be removed now, since for UDFPS,
we do not use this page for the "find sensor" functionality anymore.
Instead, we show the edu animation.
Bug: 187460696
Test: manual
Change-Id: Ic2e15ecf73c42b8a0cea4ea8996b1b7dd2f3b4f2
2021-05-26 14:49:51 -07:00
TreeHugger Robot
1e747a593f
Merge "Rounded ripple notification history snoozed list" into sc-dev
2021-05-26 18:33:23 +00:00
Peter Wang
b66e797567
Merge "Change DSDS dialog confirm text from "Continue" to "Yes" [Part II]" into sc-dev
2021-05-26 17:37:04 +00:00
Abel Tesfaye
3b3187b313
Merge "Update battery saver string and make r lowercase in Auto rotate" into sc-dev
2021-05-26 17:26:31 +00:00
Rajeev Kumar
265dd55235
Merge "Ensure hibernation exemption toggle uses pre-S flag" into sc-dev
2021-05-26 16:46:58 +00:00
Jay Aliomer
225607b6eb
Rounded ripple notification history snoozed list
...
currently the ripple has sharpe edges and outside the view bounds
Fixes: b/187868531
Test: Visual
Change-Id: Iedacc6b875fa3bc4319d5e81034777dd873f7e26
2021-05-26 11:55:56 -04:00
Beth Thibodeau
b7993699ba
Add recommendation setting and remove app settings
...
- Add a new setting to control whether smartspace recommendations are
enabled
- Remove setting to block individual apps from resumption
- Update strings for existing resume setting
Bug: 187925818
Test: atest SettingsProviderTest
Test: atest MediaControlsRecommendationControllerTest
Test: atest MediaControlsPreferenceControllerTest
Change-Id: I4bd6a420e01e8c44f4db8be477557501648cc8d7
2021-05-26 11:00:25 -04:00