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
Yu-Han Yang
791b6fadc7
Fix footer issues
...
1. setContentDescription for "learn more"
2. set searchable="false"
Bug: 187471260
Bug: 188490701
Test: on device
Change-Id: Iaa6907fdf2b6c47cbc1386a88a08ac31f3676367
2021-05-19 18:01:25 -07: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
Jason Chang
ecb58cbbc5
(2/n) Stop user from enabling OHM setting if user is using 3-button
...
mode
Return One-Handed mode getAvailabilityStatus to UNSUPPORTED_ON_DEVICE
when SystemNavigationMode is 3-button.
Bug: 184903678
Test: manual
Test: manual verified on Settings > System > Gesture page
Test: make RunSettingsRoboTests ROBOTEST_FILTER=
"com.android.settings.gestures
.OneHandedEnablePreferenceControllerTest"
Test: make RunSettingsRoboTests ROBOTEST_FILTER=
"com.android.settings.gestures
.SwipeBottomToNotificationPreferenceControllerTest"
Change-Id: I454dabb5cc267d544732fa5079f3146154d0568c
2021-05-20 00:25:26 +08:00
Antoan Angelov
57d52482cc
Merge "Update ActionDisabledByAdminDialogHelper" into sc-dev am: eb45fd3f2a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14441130
Change-Id: I1d2ca81504f78e98d2f27d34ca8b037ffc433719
2021-05-19 14:05:09 +00:00
Antoan Angelov
eb45fd3f2a
Merge "Update ActionDisabledByAdminDialogHelper" into sc-dev
2021-05-19 13:50:06 +00:00
ykhung
98aafd8500
Add metric for new battery relative functions for S (1/2) am: a3d3c22a27
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14622866
Change-Id: I81540aec054edadc9d34c6f46337c398a3bb11ba
2021-05-19 12:36:22 +00:00
ykhung
a3d3c22a27
Add metric for new battery relative functions for S (1/2)
...
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: I2a4df9ab900cbeaf9885bb2dbc21ea848920bc81
2021-05-19 12:22:20 +00:00
menghanli
0afc2de85e
Fix glifLayout is not align the preference in SuW
...
Bug: 186076332
Test: Run initBCTestEnv_S.sh and switch to RTL and LTR language to
check layout
Change-Id: I5f22b8853d036f22a2e66a6144660950c268d89b
2021-05-19 09:23:14 +00:00
Weng Su
99d8fcfae2
[Provider model] Revise the Internet Panel title sub-text
...
- Display "Tap a network to connect" on sub-title when Wi-Fi networks is
not empty
- Screenshot:
https://screenshot.googleplex.com/5TzpJDLghpCQnDP
Bug: 188594439
Test: manual test
atest -c InternetConnectivityPanelTest
Change-Id: I0e3f0eb269fb4fe040a62be9ee84105879af82f7
2021-05-19 15:35:41 +08:00
Jason Chiu
817fb55032
Merge "Fix NullPointerException at VolumeSliceHelper" into sc-dev am: 9f24967458
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14622863
Change-Id: Idbe15167ca0f5dafe886af8b7fca6a8d49a960e5
2021-05-19 07:21:20 +00:00
Jason Chiu
9f24967458
Merge "Fix NullPointerException at VolumeSliceHelper" into sc-dev
2021-05-19 07:03:17 +00:00
Peiyong Lin
4e4a7f0dbd
Merge "Add Game settings support." into sc-dev am: d32d11248e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14553339
Change-Id: Id122a4cd8356f8ee735df146a1631238e81178c5
2021-05-19 06:49:45 +00:00
Peiyong Lin
d32d11248e
Merge "Add Game settings support." into sc-dev
2021-05-19 05:42:14 +00:00
Jason Chiu
728081f9bb
Fix NullPointerException at VolumeSliceHelper
...
Race condition happens on accessing a map while system is destroying it.
Test: manual, robotest
Fixes: 188114877
Change-Id: I245121b95d1d4db02e3107a47c6d3ae13a5d32e5
2021-05-19 13:19:55 +08:00
Suprabh Shukla
63fd87a13a
Setting result earlier than onPause
...
Setting the result in onPause is too late for delivering it to the
requesting activity. Changing to setting the result any time the
uncommitted state is written. The state will still be committed in
onPause only.
Test: Manually with a test app using startActivityForResult.
Bug: 188477366
Change-Id: I676c99e7d2a64b644cef60ecd14728d4d49180c3
2021-05-18 22:13:47 -07:00
Weng Su
eccb787bbb
Merge "Introduce new Disconnect functionality for Wifi networks in Internet Panel only" into sc-dev am: 3d904eba71
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14622856
Change-Id: I94d660df34cf3873eab89b7cf2f7ff28b8f6ade3
2021-05-19 04:35:36 +00:00
Weng Su
46d3fc525e
Merge "Improve discoverability of the intent & actions progress" into sc-dev am: ca5f4e4952
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14622857
Change-Id: Ibe3c2cbce2440578dceb8b67f09feae66d07d2ae
2021-05-19 04:34:01 +00:00
Weng Su
3d904eba71
Merge "Introduce new Disconnect functionality for Wifi networks in Internet Panel only" into sc-dev
2021-05-19 03:48:24 +00:00
Weng Su
ca5f4e4952
Merge "Improve discoverability of the intent & actions progress" into sc-dev
2021-05-19 03:48:16 +00:00
TreeHugger Robot
08e146982b
Merge "Apply color extraction for Fingerprint enrollment" into sc-dev am: bac284a622
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14622855
Change-Id: Ia9107de5e771eac1e7862e7ca600816bdae57e12
2021-05-19 03:41:00 +00:00
TreeHugger Robot
d3f0fc54a7
Merge "Update the layout of Pattern/PIN/Password confirmation" into sc-dev am: 6d550713dd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14554361
Change-Id: I7b44bb1cf9e244e063b13ce5fbc8c83b391665aa
2021-05-19 03:40:38 +00:00
TreeHugger Robot
7bb6afbfd1
Merge "Tweak the layout for Pattern/PIN/Password enrollment" into sc-dev am: 4a67b1c099
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14554357
Change-Id: Ic60fa99f77c21aef31aa570ace8cbbd5a38394b2
2021-05-19 03:39:58 +00:00
TreeHugger Robot
bac284a622
Merge "Apply color extraction for Fingerprint enrollment" into sc-dev
2021-05-19 03:19:56 +00:00
TreeHugger Robot
6d550713dd
Merge "Update the layout of Pattern/PIN/Password confirmation" into sc-dev
2021-05-19 03:16:47 +00:00
TreeHugger Robot
4a67b1c099
Merge "Tweak the layout for Pattern/PIN/Password enrollment" into sc-dev
2021-05-19 03:15:28 +00:00
TreeHugger Robot
ba061c91ef
Merge "Controls/Pay - Use new privacy setting" into sc-dev am: 4335268c81
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14551073
Change-Id: If9642ede2761b0aee37a7afff15317b861e84d90
2021-05-19 00:08:03 +00:00
TreeHugger Robot
4335268c81
Merge "Controls/Pay - Use new privacy setting" into sc-dev
2021-05-18 23:55:18 +00:00
Weng Su
4bf9551c30
Improve discoverability of the intent & actions progress
...
- Display "Select the network you want to use for data" on sub-title
when Wi-Fi networks is not empty
- Screenshot:
https://screenshot.googleplex.com/6nuwYoSh7UjF93Q
Bug: 186432232
Test: manual test
atest -c InternetConnectivityPanelTest
Change-Id: I9ab0ce0ca052b3444e50a914b59f38e4e7778ddf
2021-05-19 02:17:33 +08:00
Weng Su
3d2950c8af
Introduce new Disconnect functionality for Wifi networks in Internet
...
Panel only
- Display the close icon on the Wi-Fi network connected to the Internet,
and performs the same action as tapping on the carrier network when
tapped it.
- Display the cog icon on the Wi-Fi network if it has no the Internet
access.
- Screenshot:
https://screenshot.googleplex.com/YBQ8onG2dFJ8Q2a
Bug: 187995278
Test: manual test
atest -c ProviderModelSliceTest
Change-Id: Id54a94c1fdfc37aff5cc37d6fb9f5478c0dccb00
2021-05-19 01:52:05 +08:00
Mill Chen
a96dad0a09
Apply color extraction for Fingerprint enrollment
...
Bug: 183710937
Test: visual verified
1) Navigate to Settings > Security > Fingerprint unlock
2) Follow the flow to register a fingerprint
3) See and check if the icon is applied to the new color
Change-Id: Ia1119c9fb245e0e1ed8257416d2942368a45e9e1
2021-05-19 01:46:20 +08:00
Peiyong Lin
83a71ca8fd
Add Game settings support.
...
Add Game settings page under Apps so that users can access game related
features and toggle settings.
Bug: b/185822999
Test: make ROBOTEST_FILTER=GameSettingsPreferenceControllerTest RunSettingsRoboTests
Change-Id: I923ba70536b7f68b5330a508b8dabf27e33f4c55
2021-05-18 17:24:51 +00:00
YUKAI HUNG
bf06c3c5f0
Merge "Align system time 12-24 hour format in the time slot information" into sc-dev am: 80f2f43d59
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14609994
Change-Id: I56c5dbb6a03ea06afd292e56d84914ffa9b27150
2021-05-18 15:45:24 +00:00