Commit Graph

37684 Commits

Author SHA1 Message Date
YUKAI HUNG
6b68a9da24 Merge "Refine consumed battery value formula for power component" into sc-dev am: f49190d769 am: 1fea339388
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14702397

Change-Id: I9b2a16d20979d079f153c20730ba41bbc57b8822
2021-05-26 07:43:18 +00:00
Wesley Wang
da5b7ee353 Merge "Add new battery entry into AppInfo page launch variable" into sc-dev am: a967b88ee4 am: 92f6d4fdf3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14639372

Change-Id: If6e5844ac6bf4719807b0bffbfa1e747f1f54c30
2021-05-26 07:41:33 +00:00
ykhung
46bcdda9b9 Disable app usage item if this item is not clickable
some items are not clickable to launch the restriction page in the
battery usage list, we will apply the disabled visual in the
preferrence item to improve the UX (avoid users click the item without
any action)

Bug: 188751551
Bug: 188663505
Test: make SettingsgRoboTests
Change-Id: Ib8925b8e191117543bb1c74d6d01191e3043fc73
2021-05-26 07:27:01 +00:00
YUKAI HUNG
f49190d769 Merge "Refine consumed battery value formula for power component" into sc-dev 2021-05-26 07:26:20 +00:00
Yanting Yang
742c627e98 Merge "Correct breadcrumbs of Wallpaper & style" into sc-dev am: 4fce42c454 am: 3765c438b9 am: 821ee0e420
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14716095

Change-Id: I44f530dfea070a80a239c3d7e7c9e1a2b869fb6c
2021-05-26 07:01:43 +00:00
Wesley Wang
a967b88ee4 Merge "Add new battery entry into AppInfo page launch variable" into sc-dev 2021-05-26 06:59:13 +00:00
Sunny Shao
e0c921a8fa Fix the extra speaking in Allow supervision dialog
- Extra speaking the  "double tap to activate" when focus
  "Family Link manage ...".
- Root cause: this Textview set the setMovementMethod method.
- Solution: Remove this setMovementMethod because it is usless in here.

Bug: 187968203
Test: manual test
Change-Id: Ia3f277f6814cb009f0e07f56381e3e46fbacc7a8
2021-05-26 14:53:14 +08:00
Yanting Yang
821ee0e420 Merge "Correct breadcrumbs of Wallpaper & style" into sc-dev am: 4fce42c454 am: 3765c438b9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14716095

Change-Id: Ib45640b730b8efe2df5d42aa9249d63b9e277592
2021-05-26 06:46:48 +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
Yanting Yang
4fce42c454 Merge "Correct breadcrumbs of Wallpaper & style" into sc-dev 2021-05-26 06:20:38 +00:00
Yanting Yang
98a63a5be2 Merge "Remove silky flag from Apps for official release" into sc-dev am: c10cfff485 am: afe7960d57 am: 56b9b2c6dd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14702756

Change-Id: Ib08ffde78fb78cb9d6487145ac19b7aa76e3b8bb
2021-05-26 02:56:30 +00:00
Yanting Yang
ea35c707fb Merge "Remove silky flag from App info for official release" into sc-dev am: bf99c92463 am: b5a6f5f611 am: 6901a23fb0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14716193

Change-Id: I416c6e54483b36786f1df21476133f3cbff76eaf
2021-05-26 02:56:17 +00:00
Yanting Yang
56b9b2c6dd Merge "Remove silky flag from Apps for official release" into sc-dev am: c10cfff485 am: afe7960d57
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14702756

Change-Id: I9078e109061e06cdb714dd34ba85c015a6f4ee36
2021-05-26 02:41:18 +00:00
Yanting Yang
6901a23fb0 Merge "Remove silky flag from App info for official release" into sc-dev am: bf99c92463 am: b5a6f5f611
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14716193

Change-Id: I268a0d80d38d205e62062662d00712fd35f9dfb5
2021-05-26 02:41:12 +00:00
TreeHugger Robot
8d2b23ae02 Merge "Apply setup wizard's transition on a11y pages" into sc-dev am: 32ea479cc9 am: fcb9b44443 am: 58a913b3d0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14716190

Change-Id: I0b84f70067d38bc43db5827288677deacdd769d4
2021-05-26 02:18:22 +00: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
TreeHugger Robot
58a913b3d0 Merge "Apply setup wizard's transition on a11y pages" into sc-dev am: 32ea479cc9 am: fcb9b44443
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14716190

Change-Id: Ic3fa4e2628afae3561854a4e47e1e4cc26c3561a
2021-05-26 02:02:03 +00:00
Kevin Han
4b34271f7d Ensure hibernation exemption toggle uses pre-S flag
For dogfood, we want hibernation to target apps that target pre-S. This
was done on the PermissionController side but the toggle in Settings
did not visually reflect this policy, confusing dogfood/teamfood
participants.

This updates the default toggle position to consider whether the pre-S
flag is on and then default to the "on" position for apps targeting
pre-S if the flag was on for the device.

Bug: 189260947
Test: atest HibernationSwitchPreferenceControllerTest
Test: manual
Change-Id: I9cd16e82e1eee4589cb17a356b6bf2e3297a8dd2
2021-05-25 18:52:19 -07:00
TreeHugger Robot
32ea479cc9 Merge "Apply setup wizard's transition on a11y pages" into sc-dev 2021-05-26 01:13:14 +00:00
TreeHugger Robot
05949b648c Merge "Consolidate app notification setting prefs" into sc-dev am: a4fc228b55 am: 31205a549f am: dbff898f60
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14718654

Change-Id: I07978ecda8cdae1b8968b823ac9e652b3aeface0
2021-05-26 01:00:06 +00:00
TreeHugger Robot
a84f439bea Merge "Query storage size instead of calculate size of installed APP" into sc-dev am: 0eaf329a43 am: ebf9d33fb9 am: caa0805121
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14554355

Change-Id: I8387c7f9f18d3aaed0f745eee7616b533f5234b5
2021-05-26 00:59:25 +00:00
TreeHugger Robot
dbff898f60 Merge "Consolidate app notification setting prefs" into sc-dev am: a4fc228b55 am: 31205a549f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14718654

Change-Id: I0d8f18fe74fd3b9ba12778d8dc35de109fbe1677
2021-05-26 00:44:34 +00:00
TreeHugger Robot
caa0805121 Merge "Query storage size instead of calculate size of installed APP" into sc-dev am: 0eaf329a43 am: ebf9d33fb9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14554355

Change-Id: I708894fa914d09bef68d4ca660e5334ecf090e58
2021-05-26 00:44:22 +00:00
TreeHugger Robot
a4fc228b55 Merge "Consolidate app notification setting prefs" into sc-dev 2021-05-26 00:19:26 +00:00
TreeHugger Robot
0eaf329a43 Merge "Query storage size instead of calculate size of installed APP" into sc-dev 2021-05-26 00:13:16 +00:00
Yanting Yang
6bf1c3675d Correct breadcrumbs of Wallpaper & style
Remove the sitemap connection between Display and Wallpaper & style,
since we already moved the Wallpaper & style to the homepage.

Bug: 182708819
Test: robotests & visual
Change-Id: Ia069be91177d8fef56248b5343c41a13ef8267a2
2021-05-26 05:43:53 +08:00
TreeHugger Robot
61c68666a9 Merge "Update custom zen settings "off" string" into sc-dev am: 547cac8d9a am: d3da337d75 am: b2db07d43b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14720432

Change-Id: Iafdbf80fd794159adeeabc83be2fa3d2be72fed9
2021-05-25 21:33:14 +00:00
TreeHugger Robot
b2db07d43b Merge "Update custom zen settings "off" string" into sc-dev am: 547cac8d9a am: d3da337d75
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14720432

Change-Id: Ib19e368eee6a631ea64b40c862d05df5dae68e4b
2021-05-25 21:18:43 +00:00
TreeHugger Robot
547cac8d9a Merge "Update custom zen settings "off" string" into sc-dev 2021-05-25 20:46:46 +00:00
Felipe Leme
83f4af30b8 Merge "Refactored some ActionDisabledLearnMoreButtonLauncherImpl methods." into sc-dev am: d51e6cb7a4 am: 779d68ca4b am: ac5788175c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14671084

Change-Id: Idd1855308903aaac7dda658a796608a8d3af8fee
2021-05-25 19:45:24 +00:00
Felipe Leme
ac5788175c Merge "Refactored some ActionDisabledLearnMoreButtonLauncherImpl methods." into sc-dev am: d51e6cb7a4 am: 779d68ca4b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14671084

Change-Id: I7262ea5fbf020382e261d976cedae226ce37280b
2021-05-25 19:30:09 +00:00
TreeHugger Robot
719b616833 Merge "Apply sliding transition for lock screen" into sc-dev am: 9018434111 am: 2fa3ec90a4 am: aae3e29f3b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14702760

Change-Id: I8f0f2e5e9c9a82d3232ddd2e7b4033815d72b5ec
2021-05-25 19:27:22 +00:00
Felipe Leme
d51e6cb7a4 Merge "Refactored some ActionDisabledLearnMoreButtonLauncherImpl methods." into sc-dev 2021-05-25 19:13:18 +00:00
Abel Tesfaye
0465239d4a Update battery saver string and make r lowercase in Auto rotate
Bug: 188843414
Test: none
Change-Id: I449fbe3d67eafb9ccdcef7719abdeb31eeb69b3f
2021-05-25 19:07:30 +00:00
TreeHugger Robot
aae3e29f3b Merge "Apply sliding transition for lock screen" into sc-dev am: 9018434111 am: 2fa3ec90a4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14702760

Change-Id: I3295f9fff780ccb4569a34cf7059be8ba1c1b13d
2021-05-25 19:04:46 +00:00
TreeHugger Robot
9018434111 Merge "Apply sliding transition for lock screen" into sc-dev 2021-05-25 18:35:13 +00:00
Beverly
06b1ba1d09 Update custom zen settings "off" string
zen_mode_sound_summary_off should only be used when describing the
number of schedules that are enabled (and requires a numeric parameter).
Instead, use the string "off" when a sound isn't enabled by a custom dnd
setting.

Fixes: 189120026
Test: manual
Change-Id: I8bc180353a61455b124801d14f0d319f49bb341c
2021-05-25 13:31:52 -04:00
Julia Reynolds
e81b8275a8 Consolidate app notification setting prefs
Test: manual
Fixes: 189201867
Change-Id: If5cc03e0bd2d4273cd842e097b99b15d1178f3dc
2021-05-25 11:57:06 -04:00
Arc Wang
044c91cc70 Query storage size instead of calculate size of installed APP
From android S, Storage Settings show files of images/videos/audios
category instead of installed APP of each category. So it's
necessary to change the way to calculate size information.

This change also
- StorageItemPreference shows changing storage size units instead
  of fixed GB. It helps UX for categories of only small size files.
- Query media provider for size of Documents and others.
- Query media provider for size of Trash.

Bug: 170918505
Bug: 177892478
Bug: 179871408
Bug: 184379946
Bug: 186077224
Bug: 187128447
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.
Change-Id: I37c7b3a4b5860323cb55581b23a90f583f4af216
2021-05-25 23:44:21 +08:00
Wesley.CW Wang
92feb9e8fc Add new battery entry into AppInfo page launch variable
- Insert uid as launch variable
 - Add new launch type into AppInfo page

Bug: 178197718
Test: make RunSettingsRoboTests
Change-Id: I8c68bebd02491dbbc1516bbebc14254ed06940f6
2021-05-25 23:13:03 +08:00
Yanting Yang
9bd87ac468 Merge "Remove silky flag from Notifications for official release" into sc-dev am: ed671ebe6c am: c683578f62 am: a5dd355ea6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14716192

Change-Id: Ied00e2b430578ffa31b82c270fed1911d88e1215
2021-05-25 14:37:18 +00:00
Jernej Virag
c4599c5f9c Merge "Add a setting to enable or disable corner invocation of assistant app" into sc-dev am: 1baf9a867e am: cd09893698 am: 81617c7d95
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14502326

Change-Id: Ia0394acc16e827bf41fd80f5641495b767b3ceb8
2021-05-25 14:35:55 +00:00
TreeHugger Robot
6684a6577a Merge "Suppress shared axis transition on Brightness level" into sc-dev am: b2a97fb735 am: 50d5302023 am: cf9703713e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14682964

Change-Id: I66ab00892b8f287b42cb5959d73fc816520f7814
2021-05-25 14:35:12 +00:00
Yanting Yang
a5dd355ea6 Merge "Remove silky flag from Notifications for official release" into sc-dev am: ed671ebe6c am: c683578f62
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14716192

Change-Id: Id6d4acaafa8d5fdf17a45b72ed8ea125885c8e8f
2021-05-25 14:06:27 +00:00
Jernej Virag
81617c7d95 Merge "Add a setting to enable or disable corner invocation of assistant app" into sc-dev am: 1baf9a867e am: cd09893698
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14502326

Change-Id: I487b8c7be452e0955988446656aeba3043139a29
2021-05-25 13:58:00 +00:00
TreeHugger Robot
cf9703713e Merge "Suppress shared axis transition on Brightness level" into sc-dev am: b2a97fb735 am: 50d5302023
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14682964

Change-Id: I5aa7bcdd94321511ede3bd95daf211337507ba49
2021-05-25 13:57:53 +00: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
TreeHugger Robot
5740ced18e Merge "Support different types of transitions." into sc-dev am: 332ee0f374 am: 40e49eafac am: 7b1e183a46
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14682961

Change-Id: Ibda870dd3253f9cbb0efd56deb66b00d45e19174
2021-05-25 13:23:34 +00:00