Commit Graph

36790 Commits

Author SHA1 Message Date
Quang Luong
bc39d7bd0b Merge "Refresh security pref in Network Details page" into sc-dev am: ae59885f3d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14492881

Change-Id: Ic86c48d54aa589581b8cacaf7b0cf1be91604742
2021-05-21 17:19:29 +00:00
TreeHugger Robot
61ea520982 Merge "Fix the color of dot wrongly in device admin page" into sc-dev am: 48fab1db3a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14663076

Change-Id: Ie926569098177c743a6510982df03077aa36d619
2021-05-21 17:17:03 +00:00
Quang Luong
ae59885f3d Merge "Refresh security pref in Network Details page" into sc-dev 2021-05-21 17:14:35 +00:00
TreeHugger Robot
48fab1db3a Merge "Fix the color of dot wrongly in device admin page" into sc-dev 2021-05-21 17:05:30 +00:00
Yi Jiang
b286fb2897 Merge "Defers initialization of preferences." into sc-dev am: f1d1765e38
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14647779

Change-Id: Ifc1dcab14ade4d17e276a39377dd41fc64ab854b
2021-05-21 17:01:20 +00:00
Yi Jiang
f1d1765e38 Merge "Defers initialization of preferences." into sc-dev 2021-05-21 16:41:10 +00:00
YUKAI HUNG
1cc84dce86 Merge "Fix footer preference may flash one time when entering" into sc-dev am: 8033a6ff20
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14675093

Change-Id: I6d57b94f683f35f4f09fb1f840544c4076764b06
2021-05-21 13:24:41 +00:00
YUKAI HUNG
8033a6ff20 Merge "Fix footer preference may flash one time when entering" into sc-dev 2021-05-21 13:04:11 +00:00
Yanting Yang
191dce0af0 Merge "Introduce InteractionJankMonitor into Settings" into sc-dev am: 5b6cb52c50
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14452997

Change-Id: I6c8cc6fbfcac9156279f472803542ae915aebe7a
2021-05-21 12:42:06 +00:00
Yanting Yang
5b6cb52c50 Merge "Introduce InteractionJankMonitor into Settings" into sc-dev 2021-05-21 12:26:41 +00:00
ykhung
e030d8613a Fix footer preference may flash one time when entering
new solution > We will not show the footer preference in the beginning when users entering the app, it will wait until the data is loaded to show the footer and app item in the same time. We also enhance the footer message as "Battery usage data will be available after you use your phone for a few hours" when there are not content in the begining.

Bug: 187766862
Bug: 188871770
Test: make SettingsRoboTests
Change-Id: I8d19173b4402722797b1ae3c4cfe6dcdf2d3fe3f
2021-05-21 09:50:43 +00:00
TreeHugger Robot
fd54b6254d Merge "Make preference title align after icon" into sc-dev am: d573f1d19e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14609997

Change-Id: I0e796d90f4b7bc4917ff96b212d972b1e87b5f48
2021-05-21 08:34:21 +00:00
TreeHugger Robot
d573f1d19e Merge "Make preference title align after icon" into sc-dev 2021-05-21 08:30:46 +00:00
Weng Su
9cce69a6e8 Merge "[Provider model] Revise the Internet Panel title sub-text" into sc-dev am: 72dd0830e1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14622867

Change-Id: I479bfacdfb839d46276bc3a5d8b44916ed2ed9c8
2021-05-21 08:25:29 +00:00
TreeHugger Robot
fecce407a2 Merge "Fix talkback doesn't speak subtext info" into sc-dev am: 10e732bd59
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14663077

Change-Id: If5ca8490581c8e9d369daa37efdc94755359f590
2021-05-21 08:25:22 +00:00
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
Arc Wang
8b5913ba18 Merge "Shows "This device" for default internal storage" into sc-dev 2021-05-21 06:23:02 +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
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
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
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
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
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
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
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
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
Menghan Li
ceed5d817b Merge "Fix glifLayout is not align the preference in SuW" into sc-dev 2021-05-20 06:13:05 +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
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
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
Jack Yu
9c60e581e8 Merge "API Review: Rename CAPABILITY_ALLOWED_NETWORK_TYPES_USED" into sc-dev am: 3616520985
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14554359

Change-Id: Id6cec29f31d94a378bd78c630b5a7d571bba64c7
2021-05-19 16:47:43 +00:00
Jack Yu
3616520985 Merge "API Review: Rename CAPABILITY_ALLOWED_NETWORK_TYPES_USED" into sc-dev 2021-05-19 16:26:18 +00:00