Commit Graph

4840 Commits

Author SHA1 Message Date
Chloris Kuo
f9bde76ab9 Merge "Fix NotificationAssistantPreferenceController constructor" into sc-dev 2021-06-04 20:27:46 +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
03d4644673 Merge "Storage Settings hides categories when loading" into sc-dev 2021-06-04 11:09:01 +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
Abel Tesfaye
040e5ef894 Merge "Use list+ toggle on devices without face detection" into sc-dev 2021-06-03 16:40:58 +00:00
TreeHugger Robot
36c45e0ffd Merge "[Settings] Modify the ordering of mobile plan preference." into sc-dev 2021-06-03 14:09:08 +00:00
Zoey Chen
3251ab68f9 [Settings] Modify the ordering of mobile plan preference.
Bug: 189409514
Test: make
Change-Id: I76a04b9c38ead0e3b9a2a4a21b50660caa15632b
2021-06-03 20:02:01 +08:00
Galia Peycheva
33a9f49892 Merge "Use SettingsLib string for blur developer option" into sc-dev 2021-06-03 09:12:36 +00:00
Betty Chang
f4fafb97ff Merge "Remove Connect to public network for Network Rating Provider" into sc-dev 2021-06-03 07:21:04 +00:00
changbetty
de57c12412 Remove Connect to public network for Network Rating Provider
According we remove the Network Rating Provider in ag/14675092, and the
Connect to public network item is tied to the Network Rating Provider.
So need to remove together.

Bug: 187119482
Test: Manaul test
      make RunSettingsRoboTests ROBOTEST_FILTER=ConfigureWifiSettingsTest
Change-Id: Ie8a8d5c8d9f2c5db11d6c9e6f84af7864e78814f
2021-06-03 11:22:19 +08:00
Abel Tesfaye
faaf8d5af1 Use list+ toggle on devices without face detection
Test: verified intended behavior on crosshatch and no regression on flame, make RunSettingsRoboTests -j$(nproc) ROBOTEST_FILTER=SmartAutoRotatePreferenceFragmentTest

Bug: 181299673
Change-Id: Ic9f44091e95915bc78bc70b86d7f132ba6e159ed
2021-06-02 19:25:59 +00:00
Galia Peycheva
de29428c74 Use SettingsLib string for blur developer option
Bug: 185580298
Test: m
Change-Id: Id555ef5b0f974c1a6eab66c288926ee634eab6be
2021-06-02 15:43:57 +02:00
TreeHugger Robot
89fbeb6407 Merge "Fix voice access problem on location page." into sc-dev 2021-06-02 08:59:42 +00:00
Stanley Wang
b4b35a8c38 Merge "SettingsMainSwitchPreference should display the restricted icon if it is restricted." into sc-dev 2021-06-02 08:05:57 +00:00
TreeHugger Robot
3af33cd3fc Merge "Remove the face unlock category" into sc-dev 2021-06-02 07:59:42 +00:00
Tsung-Mao Fang
47bd62bdab Fix voice access problem on location page.
- Remove the seletcable attribute on footer preference so that
voice access can identify learn more.
- Apply latest footer preference API to set an action on learn more.
- Remove unuse string resource.

Test: Verify that talkback and voice access work well.
Fix: 189652942
Change-Id: I45fcd21d6a2d693d8b5eaa446aaccb769f1c0c7f
2021-06-02 14:08:19 +08:00
TreeHugger Robot
2076ebf2f7 Merge "Remove all dividers in privacy page" into sc-dev 2021-06-02 02:28:47 +00:00
Tsung-Mao Fang
833462baa3 Remove all dividers in privacy page
Based on ux rules, remove the dividers for Android S.

Test: See the screen
Fix: 183174009
Change-Id: I7850c37387ccc18964f2c491ec696307f3ad9d4e
2021-06-01 18:20:38 +08:00
Edgar Wang
bc55541ed9 Remove divider in Storage page
Fixes: 189389989
Test: manual
Change-Id: I92212620a5dd93b855d6e76d6401d5fd3969e4a6
2021-06-01 03:10:04 +00:00
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
2447296899 Merge "Adjust layout of Prevent Ringing" into sc-dev 2021-05-31 11:40:45 +00:00
TreeHugger Robot
12a285af4e Merge "Tweak Memory use layout in Developer options" into sc-dev 2021-05-31 11:40:35 +00:00
Edgar Wang
b1a1bb8c88 Adjust layout of Prevent Ringing
- Move MainSwitchPreference under Illustraction

Fixes: 189183308
Test: visual
Change-Id: Idf10a6269da6c75d5d90b2894c42727b81d12119
2021-05-31 18:01:19 +08:00
Galia Peycheva
13caa482bb Merge "Repurpose the blurs dev option for window blurs" into sc-dev 2021-05-31 08:49:28 +00:00
Edgar Wang
332110464b Tweak Memory use layout in Developer options
- Adjust Memory summary padding start
- Remove icons in developer options Settings

Bug: 189279355
Bug: 186609539

Test: visual verify
Change-Id: I0618e5f35a1748f8ccf7852f6516fb3267fcc582
2021-05-31 15:17:05 +08: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
Yanting Yang
afcb0497a8 Merge "Remove silky flag from System for official release" into sc-dev 2021-05-31 03:01:10 +00:00
TreeHugger Robot
42af840f68 Merge "Adjust layout of Display Settings" into sc-dev 2021-05-31 03:00:19 +00:00
Edgar Wang
71ca31cbac Adjust layout of Display Settings
- Move TopIntroPreference up in Dark theme settings
- Move TopIntroPreference up in Night Light settings
- Move MainSwitchPreference under Illustaction in Adaptive brightness

Bug: 189390264
Bug: 189389913
Bug: 189384967

Test: visual verify
Change-Id: I32ba5bf94dfca705739994dc27d97f0d9caaad50
2021-05-28 14:03:10 +08:00
Beth Thibodeau
8e67634830 Merge "Add recommendation setting and remove app settings" into sc-dev 2021-05-27 16:19:17 +00:00
Mill Chen
2377927d51 Remove the face unlock category
Fix: 189232241
Test: visual verified
Change-Id: Ic100a46eefd7d768b5e73f18d8e4e94823b8a52e
2021-05-27 20:21:41 +08: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
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
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
TreeHugger Robot
8cb761e3d7 Merge "Fix connected devices settings jank issue" into sc-dev 2021-05-26 12:36:44 +00:00
Hugh Chen
51b6605aef Fix connected devices settings jank issue
Completed the UI in displayPreference() to fix jank issue.

Bug: 188752628
Test: make RunSettingsRoboTests
Change-Id: Ib97b76e1b8622424ad481597f63d3540fb0bfc5b
2021-05-26 17:37:13 +08:00
Yanting Yang
d5aaf326e7 Merge "Remove silky flag from Display for official release" into sc-dev 2021-05-26 08:35:32 +00:00
Betty Chang
3007bc21cb Merge "Remove all the dividers in Wifi Settings" into sc-dev 2021-05-26 07:54:28 +00:00
Yanting Yang
c2ac66cadc Remove silky flag from Display for official release
Remove the silky condition and clean up redundant files.

Bug: 183670633
Test: robotests & visual with turning on/off silky home
Change-Id: I139f1dbc1ca030ccb0b778c479e0b23289c1c282
2021-05-26 14:25:43 +08:00
changbetty
3f6bccc87c Remove all the dividers in Wifi Settings
Bug: 189049289
Test: manual test
Change-Id: Ib2b884e36837bf9cc30c6af554c774bda8e7322b
2021-05-26 11:19:03 +08:00
Yanting Yang
c10cfff485 Merge "Remove silky flag from Apps for official release" into sc-dev 2021-05-26 02:09:19 +00:00
Yanting Yang
bf99c92463 Merge "Remove silky flag from App info for official release" into sc-dev 2021-05-26 02:06:48 +00:00
Julia Reynolds
e81b8275a8 Consolidate app notification setting prefs
Test: manual
Fixes: 189201867
Change-Id: If5cc03e0bd2d4273cd842e097b99b15d1178f3dc
2021-05-25 11:57:06 -04:00
Yanting Yang
ed671ebe6c Merge "Remove silky flag from Notifications for official release" into sc-dev 2021-05-25 13:53:26 +00:00
Yanting Yang
5c60d3905e Remove silky flag from App info for official release
Remove the silky condition and clean up redundant files.

Bug: 183670633
Test: robotests & visual with turning on/off silky home
Change-Id: I6b159c348dd3266a8515d58b3c5f508375ac4301
2021-05-25 21:29:50 +08:00
Jernej Virag
1baf9a867e Merge "Add a setting to enable or disable corner invocation of assistant app" into sc-dev 2021-05-25 13:16:41 +00:00
TreeHugger Robot
b2a97fb735 Merge "Suppress shared axis transition on Brightness level" into sc-dev 2021-05-25 12:55:16 +00:00
Yanting Yang
fe174516a9 Remove silky flag from Notifications for official release
Remove the silky condition and clean up redundant files.

Bug: 183670633
Test: robotests & visual with turning on/off silky home
Change-Id: Ie183b5fd935b3f4e42b12795c00dba67dcd540b6
2021-05-25 19:38:46 +08:00
Yanting Yang
b0d0569ae1 Remove Advanced section
Based on the UX design to remove the Advanced category.

- Security
- Privacy
- Location
- Internet > Network details
- App info > Notifications
- Developer options > Wireless debugging > gear icon

Fixes: 182237530
Test: robotests & visual
Change-Id: I8d060e536607f446537c55f805e50fed4f65abf6
2021-05-25 19:13:40 +08:00