Commit Graph

32106 Commits

Author SHA1 Message Date
Bonian Chen
354ab264eb Merge "[Settings] Mobile data usage code refactor" into rvc-dev am: 7db5840dfe
Change-Id: I98be2b05bbdcea2dccabc3b5bdf42e0e2e601adf
2020-04-22 07:46:01 +00:00
TreeHugger Robot
46ff5abc5b Merge "Incorrect checkbox icon in dynamic group panel" into rvc-dev am: 766e060c75
Change-Id: I0989c5e7ac206ffe1e339801c4885b2523a2dd36
2020-04-22 07:45:54 +00:00
Bonian Chen
d436727a3e Merge "[Settings] To avoid from crash when callback" into rvc-dev am: af05f6303d
Change-Id: Ica383ae78a7b4b921bcbf2b303f68b65d94da61b
2020-04-22 07:45:47 +00:00
Bonian Chen
b17c7f9606 Merge "[Settings] Mobile data usage code refactor" into rvc-dev am: 7db5840dfe
Change-Id: I4880420c6d6b539662ea2f7e557184058d6c633f
2020-04-22 07:45:43 +00:00
TreeHugger Robot
11f9c5bcf8 Merge "Incorrect checkbox icon in dynamic group panel" into rvc-dev am: 766e060c75
Change-Id: I80a5a31ce703e0ed8d42c280eeff23763df65f0c
2020-04-22 07:45:36 +00:00
Jason Chiu
fa8f7d649a Merge "Fix the incorrect title of Panel" into rvc-dev am: 1f91111c3a am: 2fee6f3d1e am: fe32005e88 am: 95fcccf432
Change-Id: Iaccc21bc7cb0f280e75ef6f99e1648c4f8ea222a
2020-04-22 07:45:25 +00:00
Bonian Chen
78b9a0c406 Merge "[Settings] To avoid from crash when callback" into rvc-dev am: af05f6303d
Change-Id: Id17529753ddc58ba458c952f455dac8ef4e896ce
2020-04-22 07:44:32 +00:00
Bonian Chen
7db5840dfe Merge "[Settings] Mobile data usage code refactor" into rvc-dev 2020-04-22 07:17:22 +00:00
TreeHugger Robot
766e060c75 Merge "Incorrect checkbox icon in dynamic group panel" into rvc-dev 2020-04-22 07:16:42 +00:00
Bonian Chen
af05f6303d Merge "[Settings] To avoid from crash when callback" into rvc-dev 2020-04-22 07:00:12 +00:00
Jason Chiu
fe32005e88 Merge "Fix the incorrect title of Panel" into rvc-dev am: 1f91111c3a am: 2fee6f3d1e
Change-Id: I8d1e8c8197025068112a37bd6ae590b3228ff59d
2020-04-22 07:00:05 +00:00
Jason Chiu
499364c9fd Merge "Fix the incorrect title of Panel" into rvc-dev am: 1f91111c3a
Change-Id: Ife2fade68a4cc565111adb773986c45707840a6e
2020-04-22 06:47:16 +00:00
Jason Chiu
2fee6f3d1e Merge "Fix the incorrect title of Panel" into rvc-dev am: 1f91111c3a
Change-Id: I4e7cbf75be6aca6a3573c42c32c27d7338d6b677
2020-04-22 06:46:45 +00:00
Jason Chiu
1f91111c3a Merge "Fix the incorrect title of Panel" into rvc-dev 2020-04-22 06:30:12 +00:00
Jason Chiu
4bbc85eb54 Fix the incorrect title of Panel
Since panel activity is singleInstance, a newer panel will reuse the
same fragment as the previous panel when they are displayed one after
another.

Panel fragment has two kinds of exclusive header layout which shouldn't
be showed at the same time, so we have to reset their visible states
when creating panel content.

Fixes: 154668079
Test: robotest
Change-Id: I701a7cde4b43322fbc63ae1cb74c41dd23b37c0c
2020-04-22 06:29:57 +00:00
TreeHugger Robot
d1c141f6d8 Merge "Fix breadcrumb of search results provided by Settings" into rvc-dev am: d2291d447e am: 6bb86dc6ea am: 832fa03fa3 am: c75250a1ff
Change-Id: I34b452f664695775b8702b8f50df6e150eda3466
2020-04-22 06:10:51 +00:00
Tim Peng
55ce33fbe7 Incorrect checkbox icon in dynamic group panel
-Mutate icon to prevent modifying the original resource

Bug: 154673054
Test: build pass
Change-Id: I0e1a6506cb951f80f316649d27c7728132c05be6
2020-04-22 13:50:46 +08:00
TreeHugger Robot
832fa03fa3 Merge "Fix breadcrumb of search results provided by Settings" into rvc-dev am: d2291d447e am: 6bb86dc6ea
Change-Id: I4ccb256fa4a39fcb2e830bf919c2a048ad73b55b
2020-04-22 05:45:06 +00:00
TreeHugger Robot
607549b764 Merge "Fix breadcrumb of search results provided by Settings" into rvc-dev am: d2291d447e
Change-Id: I83bbce8da2482ca8f3eac6dc83644fc5b5056c2d
2020-04-22 05:31:53 +00:00
TreeHugger Robot
6bb86dc6ea Merge "Fix breadcrumb of search results provided by Settings" into rvc-dev am: d2291d447e
Change-Id: I03245f81a8e5d9be4d369d8b673791b1940956ce
2020-04-22 05:31:20 +00:00
Bonian Chen
a2c9b0e9f7 Merge "[Settings] Fix DataUsageSummaryPreferenceControllerTest" into rvc-dev am: 8f26e88bd9 am: 63cf333e34 am: 9193ea5b09 am: bda74bdcc9
Change-Id: I2628c9bc0904c00f03a95fb96856c4bd0506301b
2020-04-22 05:26:12 +00:00
TreeHugger Robot
d2291d447e Merge "Fix breadcrumb of search results provided by Settings" into rvc-dev 2020-04-22 05:18:34 +00:00
Bonian Chen
6ea4727eb4 [Settings] Mobile data usage code refactor
Code refactor

Bug: 151751844
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=DataUsagePreferenceControllerTest
Change-Id: If85207ebe2edb8c547bb6dac0c55bbd146b62361
2020-04-22 13:13:33 +08:00
Bonian Chen
9193ea5b09 Merge "[Settings] Fix DataUsageSummaryPreferenceControllerTest" into rvc-dev am: 8f26e88bd9 am: 63cf333e34
Change-Id: Iefefccc8e1e9ab9fb8f066fb70fe098f67f77ef0
2020-04-22 04:55:10 +00:00
Bonian Chen
290c27c79e Merge "[Settings] Fix DataUsageSummaryPreferenceControllerTest" into rvc-dev am: 8f26e88bd9
Change-Id: I3ace138206b89eb73e3ac638ae9b01fa6aec2848
2020-04-22 04:41:13 +00:00
Bonian Chen
63cf333e34 Merge "[Settings] Fix DataUsageSummaryPreferenceControllerTest" into rvc-dev am: 8f26e88bd9
Change-Id: I6e50d38fe30bc09a2f52fc89b08ad6f955d6de86
2020-04-22 04:40:43 +00:00
Bonian Chen
1a8d501d7d [Settings] Adopt TelephonyBasePreferenceController to data usage
Adopt TelephonyBasePreferenceController in order to better support DSDS.

Bug: 151751844
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=DataUsageSummaryPreferenceControllerTest
Change-Id: I502b93f01b289b72989ad3167131cc0c598b1583
2020-04-22 12:38:11 +08:00
Bonian Chen
8f26e88bd9 Merge "[Settings] Fix DataUsageSummaryPreferenceControllerTest" into rvc-dev 2020-04-22 04:27:43 +00:00
Zhen Zhang
f8c357a1e8 Merge "Add ethernet tether option into AllInOneTetherSettings" into rvc-dev am: 92340eb89e am: 274a4006e1 am: 98cd9d278c am: 4c20cbfbe7
Change-Id: I516f4804473ed8ba56a673451bea126a4979ad8e
2020-04-22 04:05:05 +00:00
Zhen Zhang
98cd9d278c Merge "Add ethernet tether option into AllInOneTetherSettings" into rvc-dev am: 92340eb89e am: 274a4006e1
Change-Id: I2c01ada07ec0e5ebdc38e0b9fa4ddade4b175fd5
2020-04-22 03:21:24 +00:00
Zhen Zhang
904a61ddfd Merge "Add ethernet tether option into AllInOneTetherSettings" into rvc-dev am: 92340eb89e
Change-Id: I76743b3f353bf8c01f3f62966ecdde7ccd549509
2020-04-22 03:06:18 +00:00
Zhen Zhang
274a4006e1 Merge "Add ethernet tether option into AllInOneTetherSettings" into rvc-dev am: 92340eb89e
Change-Id: Ia473326843cbc08ecdfde45887a9c0618d08d4d1
2020-04-22 03:05:45 +00:00
Zhen Zhang
92340eb89e Merge "Add ethernet tether option into AllInOneTetherSettings" into rvc-dev 2020-04-22 02:52:58 +00:00
Bonian Chen
61b9714a34 [Settings] Fix DataUsageSummaryPreferenceControllerTest
Fix test case of DataUsageSummaryPreferenceControllerTest

Bug: 154562264
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=DataUsageSummaryPreferenceControllerTest
Change-Id: I0b3366c86b0a621b9dda88bbcde6e118d37995b7
2020-04-22 10:39:42 +08:00
tim peng
89b1be921d Merge "The volume slider should not show for the unselected device" into rvc-dev am: 24205d4632 am: 2cbd7526fc am: fbf137d8f5 am: 25ce4437e7
Change-Id: I169928ea66bc1797bd5c8ae5eefbf0e9f56cb579
2020-04-22 02:01:18 +00:00
tim peng
fbf137d8f5 Merge "The volume slider should not show for the unselected device" into rvc-dev am: 24205d4632 am: 2cbd7526fc
Change-Id: I8a8e1fb19ee6f945b6dad438471418ecbd9f82f4
2020-04-22 01:35:20 +00:00
tim peng
7bd9cea220 Merge "The volume slider should not show for the unselected device" into rvc-dev am: 24205d4632
Change-Id: I93e705d1185862dacc04f8038327d7c3727af725
2020-04-22 01:18:50 +00:00
tim peng
2cbd7526fc Merge "The volume slider should not show for the unselected device" into rvc-dev am: 24205d4632
Change-Id: I68dcbd00f3a24c568baeb4c28ffd2e14bcb38c5f
2020-04-22 01:18:39 +00:00
tim peng
24205d4632 Merge "The volume slider should not show for the unselected device" into rvc-dev 2020-04-22 01:00:33 +00:00
TreeHugger Robot
b0363f4653 Merge "Notification history a11y fixes" into rvc-dev am: f11da4c787 am: 8f474aa504 am: 05e2b728bd am: 2f738b0aeb
Change-Id: I887fb89c2699b5f04dad8455fce84f43cc6e1319
2020-04-21 22:28:09 +00:00
TreeHugger Robot
05e2b728bd Merge "Notification history a11y fixes" into rvc-dev am: f11da4c787 am: 8f474aa504
Change-Id: Icfd049f35c099144f05f013ae98157f98ca02197
2020-04-21 21:51:34 +00:00
TreeHugger Robot
cfceb02890 Merge "Notification history a11y fixes" into rvc-dev am: f11da4c787
Change-Id: Ib7717f8112cf2024d05e9fc75a13fd060bbf6364
2020-04-21 21:37:09 +00:00
TreeHugger Robot
8f474aa504 Merge "Notification history a11y fixes" into rvc-dev am: f11da4c787
Change-Id: Id03d0c217ecc9b49e343f65f0f808efc863546dd
2020-04-21 21:36:58 +00:00
TreeHugger Robot
f11da4c787 Merge "Notification history a11y fixes" into rvc-dev 2020-04-21 21:22:44 +00:00
Fabian Kozynski
518023ca0e Add setting toggle for power menu privacy
Adds a toggle for Secure.POWER_MENU_LOCKED_SHOW_CONTENT.

The toggle is disabled if cards & passes and controls are off or if the
user does not have a secure lock screen.

Test: manual
Test: PowerMenuPrivacyPreferenceControllerTest
Bug: 152212779
Change-Id: I45134cb9522a81b8e1b520938001488da7f40906
2020-04-21 20:29:31 +00:00
Beverly
4922aa006a Notification history a11y fixes
- When clicking the expand/collapse button to see the posted
notifications from an app in the last 24 hours, refocus accessibility on
the button so the entire button (contentDescription + clickability) are
announced. Previously only the contentDescription update was being
announced.

- Fix local context menu of NotificationHistory elements by calling the
super method in performAccessibilityAction

Test: manual
Fixes: 153396313
Fixes: 153518629
Change-Id: I3d847ec1f2b72dcf411c6c7c7fe2dc061ccfde26
2020-04-21 14:54:45 -04:00
Pavel Grafov
6da7e012a8 Merge "Stop disabling wifi toggle when tethering is restricted" into rvc-dev am: 9341983324 am: 8d8eb618e7 am: 8ab2c696d5 am: 25235106c0
Change-Id: I75b6466406eb516c8ea3360a3cc6ee1ad2a805a4
2020-04-21 11:37:03 +00:00
Pavel Grafov
7e9e73f874 Merge "Stop disabling wifi toggle when tethering is restricted" into rvc-dev am: 9341983324
Change-Id: I63178cae69a422737962e49acec2a40551bebd33
2020-04-21 11:25:00 +00:00
Jason Hsu
dc52900d71 Merge "Show default description only if description and html description are empty" into rvc-dev am: 0055a74794
Change-Id: I2b56250fc1d5806498692dcf9ecae1a2fe2ebd98
2020-04-21 11:16:20 +00:00
Yanting Yang
bfe16291a3 Fix breadcrumb of search results provided by Settings
Settings Search need Settings to provide custom site map pairs to
build up full breadcrumb for the search results from Gesture Settings
page.

Bug: 147851992
Bug: 151206664
Test: visual and robotests
Change-Id: I4a61e6da48755184954c2c90834578030ffc2e10
2020-04-21 19:11:45 +08:00