Commit Graph

82168 Commits

Author SHA1 Message Date
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
Menghan Li
1e39465e45 Merge "Fix glifLayout is not align the preference in SuW" into sc-dev am: ceed5d817b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14639274

Change-Id: Ie0bcaefca198f90138a8da406f1d2fc00861d883
2021-05-20 06:25:33 +00:00
Bill Yi
9e877ea7a1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia86391259a32ec44647d63eb7ff1b7e22c86165c
2021-05-20 06:24:14 +00:00
Bill Yi
400bad3112 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: If2bf582edebcec6c5e97188aa424970b51cb95ad
2021-05-20 06:15:53 +00:00
menghanli
5eb4edad0e Fix contrast ratio of some text in Audio adjustment page are too low
Apply same the sub text style from seekbar preference

Bug: 188603038
Test: Manual testing
Change-Id: I6e3db2657a02ac885b16309546e7f2224775a194
2021-05-20 06:13:57 +00:00
Menghan Li
ceed5d817b Merge "Fix glifLayout is not align the preference in SuW" into sc-dev 2021-05-20 06:13:05 +00:00
Bill Yi
751558e277 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1a2de6f91ee8de5cad4a8edaa66873ddd1c795ef
2021-05-20 06:11:46 +00:00
Bill Yi
43e1bda57a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I183b7e7e5d5e82c5a3ce7814bf65eb6ca7118bdc
2021-05-20 06:08:32 +00:00
Bill Yi
99932d0fd0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id7ed57d4aed6b801f9819e5709c117b838b5f0fc
2021-05-20 06:05:51 +00:00
Bill Yi
2098a1780e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I8595270cabb005ca6a64f0c5503728ae2464f5a0
2021-05-20 06:02:34 +00:00
Tsung-Mao Fang
afffb1dd2f Should not show top intro in search
Set not searchable for top intro of credential page

Test: No top intro result in settings app.
Fix: 188491690
Change-Id: Ia7c4b33f72e3ea962073a552a7f57fa2072a2aa6
2021-05-20 14:02:05 +08:00
Mill Chen
ef8f5c5ca4 Fix overlapping problem for device admin page
The content of Activate device admin app is overlapping with the title
while scrolling up. That is because the collapsing toolbar needs to
work with the view that supports nested scrolling feature, and this page
hasn't updated the layout to use NestedScrollView. So that caused the
overlapping problem.

Fix: 188184864
Test: visual verified
1) Navigate to Settings > Security > Device admin apps > pick up one to
activate
2) Scrolling the content and see if the content is overlapping with the
title

Change-Id: Ide5ff9ed40202c3b217934db93c82a4861983416
2021-05-20 13:56:52 +08:00
TreeHugger Robot
f154e231f9 Merge "(2/n) Stop user from enabling OHM setting if user is using 3-button mode" into sc-dev am: 2cc1c91601
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14235150

Change-Id: I3161025c6c61529213cf99b38306ca287f657a51
2021-05-20 04:22:06 +00:00
TreeHugger Robot
2cc1c91601 Merge "(2/n) Stop user from enabling OHM setting if user is using 3-button mode" into sc-dev 2021-05-20 03:54:57 +00:00
menghanli
b9fefba02a Apply color extraction for vision settings
Bug: 183713013
Test: Run initBCTestEnv_S.sh and apply different color
Change-Id: I2420a6af0f0f975396003e4c5531701bfb8373f4
2021-05-20 11:48:22 +08:00
Arc Wang
4a2acd2e20 Fix UnsupportedOperationException in Display Settings
Remove android:textColorHint from Theme.Settings to fix the regression.

This is a quick fix, each EditText should set its hintTextColor
attribute before there is a fix to apply the attribute globally in
Settings APP.

Bug: 188405076
Test: manually launch 'Font size' and 'Display size'.
Change-Id: If3313be47e0c3e8ce9d41a6e87cdf2e7067ce54b
2021-05-20 01:01:21 +00:00
TreeHugger Robot
0925ba9f24 Merge "Setting result earlier than onPause" into sc-dev am: c57c351060
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14637113

Change-Id: I81795d747ae1256aba6526c7a681186fdf551072
2021-05-19 20:28:49 +00:00
TreeHugger Robot
c57c351060 Merge "Setting result earlier than onPause" into sc-dev 2021-05-19 20:11:09 +00:00
Yi Jiang
8aaa9f5549 Defers initialization of preferences.
In Screen Timeout Settings, preferences should not be initialized in
onAttach() because the setting style hasn't been loaded yet. This change
defers the initialiaztion of those preferences so that they appear
correctly.

Test: manually tested.
Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.display
Bug: 183909540

Change-Id: I86cfe196549d709ed763faa004fff7b631365b1e
2021-05-19 12:18:23 -07:00