Commit Graph

37684 Commits

Author SHA1 Message Date
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
1e05d7e3ea Merge "Refactor some transition codes." into sc-dev am: 8c1c7b63a7 am: 181b40ba47 am: 8def2c28c4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14660513

Change-Id: I852d01b90724bae408fa023e7ca1a3280207bbfc
2021-05-21 03:25:19 +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
440dc8d8f1 Merge changes I5989a67e,I30a77bd6 into sc-dev am: c24caeb4f8 am: 61df90f04e am: cf25f18fbd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14649896

Change-Id: I46e9dd384135439db2a7e6e0543836cdb9bb165f
2021-05-21 01:29:15 +00:00
Kevin Chyn
cf25f18fbd Merge changes I5989a67e,I30a77bd6 into sc-dev am: c24caeb4f8 am: 61df90f04e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14649896

Change-Id: Ic97c4d62e4f5a0e1c9aeb0dd948d7beb30ce7d3b
2021-05-21 01:14:09 +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
7b69e813dd Merge "Add a11y announcement" into sc-dev am: c96c5c68d9 am: 8f6a410f75 am: 1081c25503
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14602029

Change-Id: I95736b3af33c06faf3851f71ee770ea3b6ace569
2021-05-20 22:34:07 +00:00
TreeHugger Robot
1081c25503 Merge "Add a11y announcement" into sc-dev am: c96c5c68d9 am: 8f6a410f75
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14602029

Change-Id: Iec54dc07a212ebeedb00d29b617b3bf0dd35c810
2021-05-20 22:10:31 +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
Edgar Wang
69cc5377f1 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
2021-05-20 19:07:34 +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
8b655d8b5c Merge "Add usage percentage and battery level into app relative metric" into sc-dev am: 572ab5b321 am: b40290c78a am: d9f3bb9dbf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14660514

Change-Id: I92f35037472dfcc399a06c149d7c27f76cd2ab19
2021-05-20 14:52:47 +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
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
d5d38bf728 Merge "Apply color extraction for vision settings" into sc-dev am: 5e92366f83 am: d38832aae3 am: 8fff8ca167
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14646255

Change-Id: Icfc3ab206e1e4fc4af3ec215779c7ce70c3e4219
2021-05-20 08:08:09 +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
Menghan Li
5e92366f83 Merge "Apply color extraction for vision settings" into sc-dev 2021-05-20 07:10:04 +00:00
Jason Chiu
0ffeae075a Merge "Skip indexing dynamic and injected raw data when page search is disabled" into sc-dev am: be9f37cfad am: f67554f114 am: c02ee31619
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14542663

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

Change-Id: Ibc3d391aad90effa2235f17380f42f7f05fe898e
2021-05-20 06:59:20 +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
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
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
9c5c63caf0 Merge "(2/n) Stop user from enabling OHM setting if user is using 3-button mode" into sc-dev am: 2cc1c91601 am: 7f7cf45879 am: 4052fcc8bf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14235150

Change-Id: I3485c6995336a54c1e33ab7ff7e4f7c162b3bf08
2021-05-20 05:12:03 +00:00
TreeHugger Robot
f3ee9aac82 Merge "Setting result earlier than onPause" into sc-dev am: c57c351060 am: bd016efe52 am: 33a02ecb1b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14637113

Change-Id: Ie3276d623b439293913f663d165e08a653053e54
2021-05-20 05:04:14 +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
Jack Yu
0ac4d497ff Merge "API Review: Rename CAPABILITY_ALLOWED_NETWORK_TYPES_USED" into sc-dev am: 3616520985 am: a67151ad2f am: 2b2a1f8894
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14554359

Change-Id: Ia8fd7d39bc1eca409b573055830e049f32bdd056
2021-05-20 04:45:48 +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
Antoan Angelov
d9365b8d65 Merge "Update ActionDisabledByAdminDialogHelper" into sc-dev am: eb45fd3f2a am: 8019ba0d5b am: 3bd2b1cae2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14441130

Change-Id: I13048f5d63c1f58a66605aae4f1ef1a53f94ae0e
2021-05-20 02:04:33 +00:00
ykhung
fd843b337a Add metric for new battery relative functions for S (1/2) am: a3d3c22a27 am: ae66f84815 am: 4ae06f8823
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14622866

Change-Id: I8abc984dd439f672b4f03635512e4931a358da40
2021-05-20 01:56:03 +00:00
Jason Chiu
b1757fa13d Merge "Fix NullPointerException at VolumeSliceHelper" into sc-dev am: 9f24967458 am: 817fb55032
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14622863

Change-Id: If7fde14e37b4ea9d387ac1aef5ccff79502814fd
2021-05-20 01:55:58 +00:00
Peiyong Lin
7d73c61a16 Merge "Add Game settings support." into sc-dev am: d32d11248e am: 4e4a7f0dbd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14553339

Change-Id: I9eb8f13aaf68f586ac1068af26459e9db08f1a65
2021-05-20 01:55:47 +00:00
Weng Su
7390717d9e Merge "Introduce new Disconnect functionality for Wifi networks in Internet Panel only" into sc-dev am: 3d904eba71 am: eccb787bbb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14622856

Change-Id: I485d82ac7bfc9347def855207796f70b0ac0674b
2021-05-20 01:55:42 +00:00
Weng Su
c1382e3007 Merge "Improve discoverability of the intent & actions progress" into sc-dev am: ca5f4e4952 am: 46d3fc525e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14622857

Change-Id: If6651e153ac623305f933bee6cb57a02b753d905
2021-05-20 01:55:37 +00:00
TreeHugger Robot
d9db863dc2 Merge "Apply color extraction for Fingerprint enrollment" into sc-dev am: bac284a622 am: 08e146982b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14622855

Change-Id: If690c8a00cbfd9b4c1cc393fa7884f216c14ab65
2021-05-20 01:55:32 +00:00
TreeHugger Robot
8492c7d2d8 Merge "Update the layout of Pattern/PIN/Password confirmation" into sc-dev am: 6d550713dd am: d3f0fc54a7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14554361

Change-Id: Ie42ed795854ffece613af6c8cc1f68b37c75be25
2021-05-20 01:55:16 +00:00
TreeHugger Robot
be234f3d1e Merge "Tweak the layout for Pattern/PIN/Password enrollment" into sc-dev am: 4a67b1c099 am: 7bb6afbfd1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14554357

Change-Id: Iece2f329fbe702dca296dd7d169cb2457003387c
2021-05-20 01:55:11 +00:00