Commit Graph

82438 Commits

Author SHA1 Message Date
Weng Su
72dd0830e1 Merge "[Provider model] Revise the Internet Panel title sub-text" into sc-dev 2021-05-21 08:14:07 +00:00
TreeHugger Robot
10e732bd59 Merge "Fix talkback doesn't speak subtext info" into sc-dev 2021-05-21 08:08:44 +00:00
Edgar Wang
600d023892 Make preference title align after icon
- Running service should use app preference layout.
- RestrictedDropdownPreference should use preference layout.
- Tweek Storage item icon padding
- Wifi calling should use Prefernce
- In Open by default page, if there is no vierfied link, we should
  hide the checkbox.

Bug: 186069482
Test: manual
Change-Id: Icc186ad79fc2bcf7ecd9c1ebba747bdad2d9b9ad
Merged-In: Icc186ad79fc2bcf7ecd9c1ebba747bdad2d9b9ad
2021-05-21 07:21:59 +00:00
Arc Wang
7bfd089e52 Merge "Shows "This device" for default internal storage" into sc-dev am: 8b5913ba18
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14609996

Change-Id: I88d314009c86279bfb164a8d75bd48f3c9a2f1dd
2021-05-21 06:33:46 +00:00
Yanting Yang
793b2bd42f Merge "Remove the horizontal divider around ActionButtonsPreference" into sc-dev am: 87093d40d0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14663087

Change-Id: Ie23145c9c2aaf1b2c75d69917608f2c689cf3975
2021-05-21 06:33:34 +00:00
Arc Wang
8b5913ba18 Merge "Shows "This device" for default internal storage" into sc-dev 2021-05-21 06:23:02 +00:00
Yanting Yang
87093d40d0 Merge "Remove the horizontal divider around ActionButtonsPreference" into sc-dev 2021-05-21 06:22:01 +00:00
Yanting Yang
d62082027d Introduce InteractionJankMonitor into Settings
Detects the jank of page scrolling which is implemented by
InstrumentedPreferenceFragment.

Bug: 187306869
Test: verify with Perfetto

Change-Id: Icaa557d1b47a12374298f044e2f9568281589f64
2021-05-21 04:32:55 +00:00
Yanting Yang
e8c24c3e65 Remove the horizontal divider around ActionButtonsPreference
Remove the horizontal divider from App info and App info > Storage
since they are not required anymore with the new style.

Fixes: 188742417
Test: visual
Change-Id: Idc0ab5994694c490ab04fac04a8b114f9fe191a1
2021-05-21 12:24:53 +08:00
alexylli
e6c11957b8 [Settings] Adjusts the result code to cancel when complete redaction interstitial setting
This change can make redaction interstitial can be setup repeatedly in anything else page.

Test: manual
Bug: 185430009
Change-Id: I7ed459ca3017286ab01bc8274704dd01fc50391d
2021-05-21 03:53:15 +00:00
TreeHugger Robot
181b40ba47 Merge "Refactor some transition codes." into sc-dev am: 8c1c7b63a7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14660513

Change-Id: I254f5266556d0fa498f37a99c5ab6dbf56fa806c
2021-05-21 02:44:26 +00:00
TreeHugger Robot
8c1c7b63a7 Merge "Refactor some transition codes." into sc-dev 2021-05-21 02:33:46 +00:00
TreeHugger Robot
5b5b20bfe0 Merge "Apply ripple on entire button" into sc-dev am: f8bcde8886
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14663079

Change-Id: I398939349c72cf0b238dfaa3d6bff4e746c94971
2021-05-21 02:08:01 +00:00
TreeHugger Robot
f8bcde8886 Merge "Apply ripple on entire button" into sc-dev 2021-05-21 01:47:56 +00:00
Kevin Chyn
a2e9d4d129 Merge changes I5989a67e,I30a77bd6 into sc-dev am: c24caeb4f8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14649896

Change-Id: I2c69e4d981e2d883b38fd44c9ffea183cc8aff71
2021-05-21 00:54:57 +00:00
Kevin Chyn
c24caeb4f8 Merge changes I5989a67e,I30a77bd6 into sc-dev
* changes:
  Announce UDPFS enrollment percentage
  Update UDFPS fingerprint enrollment
2021-05-21 00:39:16 +00:00
Chen Xu
34eae091e4 integrate config_disable_all_cb_messages to settings
In R we introduced a new config (also part of GMS requirement) mainly
for disable emergency alerts on devices which does not support
messaging or voices e.g, data only tablets. If the config is set to
true, framework should not forward any messages to users and hide
emergency alert from settings menu as well.

Bug: 176557108
Test: Manual
Change-Id: I2705839255a8450aa80a1a503a973207fd895a33
2021-05-20 23:43:52 +00:00
TreeHugger Robot
3ab34361e1 Merge "Add a11y announcement" into sc-dev am: c96c5c68d9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14602029

Change-Id: Ic18dc2a102171fa30a257dd92e73b3dc305a9353
2021-05-20 21:52:46 +00:00
TreeHugger Robot
c96c5c68d9 Merge "Add a11y announcement" into sc-dev 2021-05-20 21:36:45 +00:00
Kevin Chyn
e25713054a Announce UDPFS enrollment percentage
Bug: 187460696
Test: manual
Change-Id: I5989a67e1fa1ed078677a69b2d841d5f1f1ee691
2021-05-20 11:13:02 -07:00
Kevin Chyn
869e996874 Update UDFPS fingerprint enrollment
1) Update UDFPS FindSensor to more of an EDU flow
2) Update UDFPS enrolling page to announce strings properly

Bug: 187460696
Test: manual
Change-Id: I30a77bd6bba911afb82e158d5e9f35b644ec880d
2021-05-20 11:12:37 -07:00
Tsung-Mao Fang
2bdeaae97a Apply ripple on entire button
Expand the width of button, so we can see ripple on entire button.

Test: Click button and see ripple.
Fix: 188735750
Change-Id: Ic65e3579263108c9d0de0eb405fe30f2556b5193
2021-05-20 16:00:28 +00:00
TreeHugger Robot
261af43ae4 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod am: 16b96cf63b -s ours am: 5d0c633c35 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14658405

Change-Id: Icaa17cef6ae0bd92d3a128940935048224581ba0
2021-05-20 14:28:09 +00:00
Bill Yi
c6d5a17f7a [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 2098a1780e -s ours am: 45c8b60d26 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14658404

Change-Id: I7da4e25d1ead7a5fa3dfa0b19d12875b630124ed
2021-05-20 14:28:05 +00:00
TreeHugger Robot
d630dbd6db [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: e7e5a9afbc -s ours am: 583237c8cc -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14658406

Change-Id: I28889b5c72dfec1978c4174372bc2c098aacbedd
2021-05-20 14:27:59 +00:00
Bill Yi
234af1ba90 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 751558e277 -s ours am: f900de60d2 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14658407

Change-Id: I304de268b4b5bcb26363ce01a88476ef964376bc
2021-05-20 14:27:44 +00:00
TreeHugger Robot
5d0c633c35 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod am: 16b96cf63b -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14658405

Change-Id: I0f67b4a55211dae07c2aaf3843de530b47717d0e
2021-05-20 14:21:23 +00:00
Bill Yi
45c8b60d26 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 2098a1780e -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14658404

Change-Id: Ic0671022b2accfcd63a007ab1f543cf1f7653b20
2021-05-20 14:21:17 +00:00
TreeHugger Robot
16b96cf63b Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod 2021-05-20 14:19:32 +00:00
TreeHugger Robot
583237c8cc [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: e7e5a9afbc -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14658406

Change-Id: I57892c6e82fd277ffda6ebadaa5458457eef1a3a
2021-05-20 14:13:01 +00:00
Bill Yi
f900de60d2 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 751558e277 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14658407

Change-Id: Ifa839d03766e458e1350b6e8be1f730219b63a17
2021-05-20 14:12:51 +00:00
YUKAI HUNG
b40290c78a Merge "Add usage percentage and battery level into app relative metric" into sc-dev am: 572ab5b321
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14660514

Change-Id: I9cac182487a41800d2aea1e2219f822af74d059f
2021-05-20 14:04:39 +00:00
TreeHugger Robot
3d479474a1 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: c7c3db2498 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14660312

Change-Id: Ic6852be14c05bc2e53cff7eabb89828f219bd08c
2021-05-20 14:04:16 +00:00
TreeHugger Robot
ca965d261d [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 036d7d644e -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14658409

Change-Id: I4a64580aa442dc8f8bc4fbd6cc4f385aa63a2135
2021-05-20 14:04:11 +00:00
YUKAI HUNG
572ab5b321 Merge "Add usage percentage and battery level into app relative metric" into sc-dev 2021-05-20 13:58:01 +00:00
TreeHugger Robot
e7e5a9afbc Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev 2021-05-20 13:57:45 +00:00
TreeHugger Robot
c7c3db2498 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-05-20 13:55:32 +00:00
TreeHugger Robot
036d7d644e Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-05-20 13:53:42 +00:00
Tsung-Mao Fang
a51c9988c5 Fix talkback doesn't speak subtext info
In the original design, we only set title description for
view holder, this is wrong. It causes talkback can't
speak subtext info.

Currently, we set the title content description in the title
view directly, so talkback can say the title and subtext now
when talkback focus on an app view.

Test: Talkback speaks full information for an app entry
Fix: 177873163
Change-Id: I94996d596a85cc2813ed1b10cdd4ed2bee62f4a9
2021-05-20 13:45:38 +00:00
Tsung-Mao Fang
3720ae21b0 Fix the color of dot wrongly in device admin page
In this cl, we migrate origin files/method from framework into settings app.
So, we can control layout and drawble without impacting other app.

And we only remove to set a tint color in app_permission_item.xml.
Currently, it won't tint color for dot now.

Test: See the screen and dot's color is correct.
Fix: 188188444
Change-Id: I18054b47ba07e7864e7c238f2bec5fbe1d3feeea
2021-05-20 20:21:56 +08:00
ykhung
646c1a2e5a Add usage percentage and battery level into app relative metric
Reference the table from PM requested:
https://docs.google.com/spreadsheets/d/1TC_6MLVMvOS0p1ic0wPfQ-19AOuY8Kc8FUJdqaQSM4I/edit?ts=6098b296#gid=0

Bug: 188505537
Test: make SettingsRoboTests
Change-Id: Ia31ada9438f120fe6f29b59b67dc4de6636c11e1
2021-05-20 20:03:22 +08:00
Yi-Ling Chuang
81226a2431 Refactor some transition codes.
- Make the transition logic simpler in SettingsBaseActivity.
- Remove the redundant transition code in SettingsActivity.

Bug: 177479937
Test: rebuild and click on pages.
Change-Id: I65cae59d4eae99e3b9c324c9b6ce89f2349aaf8b
2021-05-20 16:20:28 +08:00
Menghan Li
d38832aae3 Merge "Apply color extraction for vision settings" into sc-dev am: 5e92366f83
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14646255

Change-Id: Ibcde4fec51aa7ed6baeaee4c24def526927fb921
2021-05-20 07:30:32 +00:00
Menghan Li
5e92366f83 Merge "Apply color extraction for vision settings" into sc-dev 2021-05-20 07:10:04 +00:00
Jason Chiu
f67554f114 Merge "Skip indexing dynamic and injected raw data when page search is disabled" into sc-dev am: be9f37cfad
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14542663

Change-Id: Ibad1115dd927decbb9ef758327cef42af189c1a0
2021-05-20 06:49:45 +00:00
Jason Chiu
be9f37cfad Merge "Skip indexing dynamic and injected raw data when page search is disabled" into sc-dev 2021-05-20 06:40:03 +00:00
Arc Wang
e780d3f652 Merge "Fix UnsupportedOperationException in Display Settings" into sc-dev am: cb1574319b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14639272

Change-Id: Ic5e978c9313eead23fcc39a9974641c0a6adf302
2021-05-20 06:35:42 +00:00
Jason Chiu
1ee1911104 Skip indexing dynamic and injected raw data when page search is disabled
Test: robotest
Fixes: 188059978
Change-Id: I99c86ee12c7696123df26c47cfed8c3ddfbdf353
2021-05-20 06:34:08 +00:00
Arc Wang
cb1574319b Merge "Fix UnsupportedOperationException in Display Settings" into sc-dev 2021-05-20 06:27:18 +00:00
menghanli
6d2357b251 Fix contrast ratio of some text in Audio adjustment page are too low am: 5eb4edad0e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14646253

Change-Id: Id976401938ce6bc0317eee8fd4672d3854df6c28
2021-05-20 06:25:37 +00:00