Commit Graph

82286 Commits

Author SHA1 Message Date
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
TreeHugger Robot
e24d81c815 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: 72167fd225 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I9d66382d84e185c5c286c385d67b15a0fae9f348
2021-05-20 13:42:10 +00:00
TreeHugger Robot
79abbae102 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: 8f9e889b9c -s ours
am skip reason: subject contains skip directive

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

Change-Id: Id1721ffd30f7c7f085e2b0894d45acfe11736bc4
2021-05-20 13:41:34 +00:00
TreeHugger Robot
72167fd225 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-05-20 13:30:11 +00:00
TreeHugger Robot
8f9e889b9c Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-05-20 13:25:51 +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
e22e799987 Merge "Apply color extraction for vision settings" into sc-dev am: 5e92366f83 am: fcf00a4333
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14646255

Change-Id: Ia09b501628f9b1a92e2cd402d35bf9dec54da620
2021-05-20 07:53:05 +00:00
Menghan Li
8fff8ca167 Merge "Apply color extraction for vision settings" into sc-dev am: 5e92366f83 am: d38832aae3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14646255

Change-Id: Ia162dbee2f15634477b712979bf18988f859a3a0
2021-05-20 07:48:13 +00:00
Menghan Li
fcf00a4333 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: Ibd24487794982a69cb6d47957901a904a99c1865
2021-05-20 07:32:20 +00: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
Jason Chiu
5e01e1ab23 Merge "Skip indexing dynamic and injected raw data when page search is disabled" into sc-dev am: be9f37cfad am: 2a054dfc47
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14542663

Change-Id: Ic5c7d4b4f3c282646cf8a0cf4ed30b88fca14c38
2021-05-20 07:14:17 +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
c02ee31619 Merge "Skip indexing dynamic and injected raw data when page search is disabled" into sc-dev am: be9f37cfad am: f67554f114
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14542663

Change-Id: I79026c0c74513a25e031af7aa91dab5c639f259e
2021-05-20 06:54:39 +00:00
Jason Chiu
2a054dfc47 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: I80fecc2d5dffad1ef0cfc19108fc28e010d075ef
2021-05-20 06:52: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
Arc Wang
3671b60549 Merge "Fix UnsupportedOperationException in Display Settings" into sc-dev am: cb1574319b am: e780d3f652
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14639272

Change-Id: If79ed0fd13fea421c663b9a5302debea4e910ff7
2021-05-20 06:46:13 +00:00
menghanli
d8a97a2676 Fix contrast ratio of some text in Audio adjustment page are too low am: 5eb4edad0e am: 6d2357b251
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14646253

Change-Id: Ibf3090d5d5d2d965375c58f3925a8a645b5e8d56
2021-05-20 06:46:08 +00:00
Menghan Li
e31a8f3a7d Merge "Fix glifLayout is not align the preference in SuW" into sc-dev am: ceed5d817b am: 1e39465e45
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14639274

Change-Id: Ia6985e9e610ca78d3fe0779478fc5d9bb3f4e880
2021-05-20 06:46:03 +00:00
Arc Wang
88048de0e1 Merge "Fix UnsupportedOperationException in Display Settings" into sc-dev am: cb1574319b am: 494701714a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14639272

Change-Id: Id1fcc49b5aeb7dca593b37bd78518fe1c88264ae
2021-05-20 06:44:17 +00:00
menghanli
1500df5099 Fix contrast ratio of some text in Audio adjustment page are too low am: 5eb4edad0e am: d80dbc2d49
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14646253

Change-Id: If787b2bc432da627aeedb9346e75a58688f4250e
2021-05-20 06:44:13 +00:00
Menghan Li
e71750587f Merge "Fix glifLayout is not align the preference in SuW" into sc-dev am: ceed5d817b am: 63c739ef60
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14639274

Change-Id: Ic14dc34296c1e3774049a5f5505473d1de6caf52
2021-05-20 06:44:09 +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
Bill Yi
2f2a2def12 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ifdd1c293589dc8503cb79b3cf8b9e60d20e6d269
2021-05-20 06:28:00 +00:00
Arc Wang
494701714a 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: I26c3034c6fd11543abc78fba033cf56124d5cc90
2021-05-20 06:27:26 +00:00
menghanli
d80dbc2d49 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: I4b1082b1f5052a5c582b01cdc13b5c2412b96fcc
2021-05-20 06:27:22 +00:00
Menghan Li
63c739ef60 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: I02d96149f673917b001ae3c2a5be959b9ab783d6
2021-05-20 06:27:19 +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
6d5c50a8cf Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia45507d473b544494bc7faa891c5fe5a5197db7c
2021-05-20 06:17:21 +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
9d6fd54205 Merge "(2/n) Stop user from enabling OHM setting if user is using 3-button mode" into sc-dev am: 2cc1c91601 am: f154e231f9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14235150

Change-Id: Idfc92c6211e462f861af4443cebb7b08c1263140
2021-05-20 04:48:26 +00:00
TreeHugger Robot
4052fcc8bf Merge "(2/n) Stop user from enabling OHM setting if user is using 3-button mode" into sc-dev am: 2cc1c91601 am: 7f7cf45879
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14235150

Change-Id: I32e13fb5e90283fd932e132e86daf4ba769d5df2
2021-05-20 04:46:07 +00:00
TreeHugger Robot
7f7cf45879 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: Ia39af2ed11d35f002eac1dba12fb35ed3c87b600
2021-05-20 04:23:01 +00: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