Commit Graph

41966 Commits

Author SHA1 Message Date
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
Jan Tomljanovic
8d9f0b79c2 Merge "Avoid cold start of the security hub app." into sc-dev am: d747c8db1d am: 96e110ff2f am: 32cb5149e5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14683790

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

Change-Id: I07daca955f9a518bba32c5896985b674c48af3ed
2021-05-25 12:26:52 +00:00
Jan Tomljanovic
32cb5149e5 Merge "Avoid cold start of the security hub app." into sc-dev am: d747c8db1d am: 96e110ff2f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14683790

Change-Id: I27674d88fc75587c97146eb20f542352ad4ea104
2021-05-25 12:26:36 +00:00
TreeHugger Robot
332ee0f374 Merge "Support different types of transitions." into sc-dev 2021-05-25 11:49:59 +00:00
Jan Tomljanovic
6532eb914c Merge "Avoid cold start of the security hub app." into sc-dev am: d747c8db1d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14683790

Change-Id: I1316a1beee9ad1a4790ecfa5ec81fb6e34caddb6
2021-05-25 11:49:19 +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
Yi-Ling Chuang
eed791e238 Suppress shared axis transition on Brightness level
The brightness bar is a dialog activity. If the shared axis transition
is applied, we'll see an empty page appears with a seek bar on the top,
which is not ideal. Hence, suppress the transition to keep the original
behaviour.

Fixes: 189076430
Test: robotest and test on the brightness level
Change-Id: I1572c31f09d8c6bb3b2c906f6211ed9b97024439
2021-05-25 19:05:42 +08:00
Yi-Ling Chuang
250858e4be Apply setup wizard's transition on a11y pages
- Start a11y activities with transition type.
- Only play fade out transition on these activities with transition type.

Fixes: 174540259
Test: rebuild and launch pages from Vision Settings
Change-Id: I7e8e0ee8cdb7a3f99cfc9a6e2d1623e2970511b7
2021-05-25 18:52:03 +08:00
Mill Chen
bf62e70ee6 Apply sliding transition for lock screen
The flow of changing lock screen is combined with Settings and SUW pages
together where their implementation are different, which causes the
page-to-page transition inconsistent. Sub-setting pages will apply
shared axis transition while SUW pages will keep the slide in/out
transition. In order to make these 2 types of page work together, we
intent to use slide in/out transition in the lock screen.

Fix: 174434707
Test: visual verified
Change-Id: I827211e45bcbfdfc558c9d95e6814e62b339b4aa
2021-05-25 17:55:09 +08:00
Jan Tomljanovic
d747c8db1d Merge "Avoid cold start of the security hub app." into sc-dev 2021-05-25 09:46:18 +00:00
Yanting Yang
0ab68cbb80 Merge "Remove silky flag from Sound for official release" into sc-dev am: 77c09892f9 am: 3fe9e27174 am: 6c80769a0f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14702757

Change-Id: Iecae9217806b2c60966a23d5c846488a705c25e3
2021-05-25 09:30:20 +00:00
Pasty Chang
633ac4b82b Merge "Migrate summary text in wifi QR scan page to DescriptionMixin" into sc-dev am: b15fd6233f am: 36fd7cf3c9 am: 8522a1cd80
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14682959

Change-Id: Ief732e4fabbf90d0edd2386b1fe13d9cf77e6384
2021-05-25 09:30:12 +00:00
Yanting Yang
094ce5f07b Merge "Update subtext for "Network & internet"" into sc-dev am: 259b678865 am: 2d74dfc566 am: 77dd6bef37
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14675090

Change-Id: Idaed1124410714ee2de0b619146bffe9d4de7024
2021-05-25 09:30:04 +00:00
Yanting Yang
6c80769a0f Merge "Remove silky flag from Sound for official release" into sc-dev am: 77c09892f9 am: 3fe9e27174
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14702757

Change-Id: Ib3b701c80fd7656acb2f2cccaf2b3e15baa63079
2021-05-25 08:48:51 +00:00
Pasty Chang
8522a1cd80 Merge "Migrate summary text in wifi QR scan page to DescriptionMixin" into sc-dev am: b15fd6233f am: 36fd7cf3c9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14682959

Change-Id: Ia1d8e9bde2571c2ee4539b8008c1a297faff8174
2021-05-25 08:48:45 +00:00
Yanting Yang
77dd6bef37 Merge "Update subtext for "Network & internet"" into sc-dev am: 259b678865 am: 2d74dfc566
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14675090

Change-Id: I3dd642684ceb150f5bcf4947f70b733e3f380788
2021-05-25 08:48:35 +00:00
Yanting Yang
b72c3f4bf5 Merge "Remove silky flag from Sound for official release" into sc-dev am: 77c09892f9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14702757

Change-Id: I84c3301d2d7472e048081faa3d9534ddcd864d80
2021-05-25 08:33:02 +00:00
Pasty Chang
b7cebd2cbf Merge "Migrate summary text in wifi QR scan page to DescriptionMixin" into sc-dev am: b15fd6233f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14682959

Change-Id: Ie08d3cc5835d1948809339d7afa3502c9aff76ac
2021-05-25 08:32:50 +00:00
Yanting Yang
705494efd0 Merge "Update subtext for "Network & internet"" into sc-dev am: 259b678865
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14675090

Change-Id: Ib585e0990b56d7026bd739057faa9ef282fb4221
2021-05-25 08:32:28 +00:00
menghanli
1a83638592 Fix the link text "Learn more" in the accessibility pages with help links could not convey the link's purpose clearly
Root cause: A long content textview shows the accessibility service info and learn more link. User cannot double click to open help link. They need to swipe up and right to pops up dialog to move to next page. But, the dialog show the "Learn more", it is not clear for user to idendify what the link page.

Solution: Add another textview to show the "Learn more" and provides more clear content description for this link. Also, user just need to double click to activate it.

Bug: 188603037
Test: make RunSettingsRoboTests -j52 ROBOTEST_FILTER=AccessibilityFooterPreferenceTest
Change-Id: Ia9a56f11bbd235ae3a698fcb2e1a2fcff64ef940
2021-05-25 15:51:45 +08:00
Yanting Yang
77c09892f9 Merge "Remove silky flag from Sound for official release" into sc-dev 2021-05-25 07:43:47 +00:00
Pasty Chang
b15fd6233f Merge "Migrate summary text in wifi QR scan page to DescriptionMixin" into sc-dev 2021-05-25 07:40:47 +00:00
Yanting Yang
259b678865 Merge "Update subtext for "Network & internet"" into sc-dev 2021-05-25 07:36:38 +00:00
SongFerng Wang
8a1dda0f2f Merge "Add more log for NetworkProviderWorker" into sc-dev am: 3a55bed8a1 am: d4f7175199 am: 78dafd436d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14702392

Change-Id: Id5e223353c2064c1b855859fa4cd3304c72d5d1d
2021-05-25 07:24:28 +00:00
Jernej Virag
089aed8bb8 Add a setting to enable or disable corner invocation of assistant app
This setting allows the user to disable the bottom corner swipe gesture when they have system navigation set to corner gestures.

Bug: 179673792
Test: Verified on a physical device
      Ran robolectric unit tests for gesture settings package
Change-Id: Ib4e818e884c36ddfafaf4e8c75d81e01a13a5831
2021-05-25 07:01:34 +00:00
SongFerng Wang
78dafd436d Merge "Add more log for NetworkProviderWorker" into sc-dev am: 3a55bed8a1 am: d4f7175199
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14702392

Change-Id: I6e2ee30b9b1430dca9aadd13890c8842fd2cc137
2021-05-25 06:58:14 +00:00
Betty Chang
33fd2dde45 Merge "[GAR] Set Fix connectivity icon invisible when airplane mode is on" into sc-dev am: cd5722f8a1 am: 874beca5b8 am: bf26925016
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14675094

Change-Id: I32f830809bdd33a46dfbd864ad15e29b1cc3be07
2021-05-25 06:49:15 +00:00
SongFerng Wang
167ad73eb9 Merge "Add more log for NetworkProviderWorker" into sc-dev am: 3a55bed8a1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14702392

Change-Id: I8e858f71e45a642afe6d4f9b15fce2faa1dbf848
2021-05-25 06:42:31 +00:00
Betty Chang
bf26925016 Merge "[GAR] Set Fix connectivity icon invisible when airplane mode is on" into sc-dev am: cd5722f8a1 am: 874beca5b8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14675094

Change-Id: I33085d48e2f61187518ab110741b32efa0fac246
2021-05-25 06:33:52 +00:00
SongFerng Wang
3a55bed8a1 Merge "Add more log for NetworkProviderWorker" into sc-dev 2021-05-25 06:23:33 +00:00
Yi-Ling Chuang
8db5cb03eb Support different types of transitions.
In Settings, some cases are not suitable to apply the shared x-axis
transition, and some pages shared with SUW may need to apply other
transitions. Hence, create a mechanism for flexibility.

Bug: 187542491
Test: robotest & navigate though settings pages
Change-Id: I041bbb5e1d9177f234860864651f618700867b96
2021-05-25 14:13:02 +08:00
Betty Chang
f3afcf7eb9 Merge "[GAR] Set Fix connectivity icon invisible when airplane mode is on" into sc-dev am: cd5722f8a1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14675094

Change-Id: I0f9779656499942d2b78f5879a9aa7049d42c0b7
2021-05-25 06:03:06 +00:00