Commit Graph

82247 Commits

Author SHA1 Message Date
TreeHugger Robot
8c1c7b63a7 Merge "Refactor some transition codes." into sc-dev 2021-05-21 02:33:46 +00:00
TreeHugger Robot
505c2312b6 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: Ibcf3123408b64df4e00ccdb93a78bb2de35eab60
2021-05-21 02:09:46 +00:00
TreeHugger Robot
f8bcde8886 Merge "Apply ripple on entire button" into sc-dev 2021-05-21 01:47:56 +00:00
Kevin Chyn
61df90f04e 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: I5bac5d127873885f3823ff40a5d606aa073ae7e6
2021-05-21 00:58:04 +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
8f6a410f75 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: Ied1301284ba6cf8855922019b2f455bcb7b51abf
2021-05-20 21:54:36 +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
ea1a59a0ca [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: I6672f609f2021dc0d554004dba4f240a3f2bb958
2021-05-20 14:30:25 +00:00
Bill Yi
17ebbbdcd7 [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: I4d156f2b3739ca874cdf9b54dcb49f54b23b03ce
2021-05-20 14:30:15 +00:00
TreeHugger Robot
40d2d5c26a [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: If4b6aa6c4ce19372ceeb6023845f116d62653e69
2021-05-20 14:30:07 +00:00
Bill Yi
01380ee129 [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: Ib53ab064ee2f387369e8273985504e84ffc71df9
2021-05-20 14:30:02 +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
5c7c49a06f 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: I11e48e5ebcd583ad26482e828d06e5e2c2013f56
2021-05-20 14:08:02 +00:00
TreeHugger Robot
c5bee895a0 [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: I8678978b2a8e5638bcf9827b10c218e767b1ab47
2021-05-20 14:07:54 +00:00
TreeHugger Robot
0df2a97bcb [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: I03508ba9b5adbce579e9a70e2fe5b94a1f908794
2021-05-20 14:07:28 +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
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
Syaoran Kuo
55fc977cb0 Adds new test for ApplicationState sorting function.
Test: atest com.android.settingslib.applications.ApplicationStateComponentTest
Bug: 184814907
Change-Id: Ie6fd2d9d58a8dac64ad1408f1d3122b7d74ae7a3
2021-05-20 07:43:33 +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
5e92366f83 Merge "Apply color extraction for vision settings" into sc-dev 2021-05-20 07:10:04 +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
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
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
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