Commit Graph

61346 Commits

Author SHA1 Message Date
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
Ilya Matyukhin
df59284329 Fix the accessibility toggle layout for RTL
Bug: 150662920
Test: manually observed the toggle with an RTL layout
Change-Id: Ib501f9e9d8a3ecadc5836db980d413f73c09d635
2020-04-21 19:57:03 -07: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
d6d82613e0 Merge "The volume slider should not show for the unselected device" into rvc-dev am: 24205d4632 am: 2cbd7526fc
Change-Id: I5adf030fe585c081286262c99706992326ed7d74
2020-04-22 01:35:05 +00:00
tim peng
e3b6e31a83 Merge "Fix Robotest failed" into rvc-dev am: 143668668b am: aa528a6a81
Change-Id: I50d8ac45754fd4188101d2cc94d238d4d2a16726
2020-04-22 01:34:57 +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
aa528a6a81 Merge "Fix Robotest failed" into rvc-dev am: 143668668b
Change-Id: Ic1c1819d3f8a7b1269889e05a7a574d72870c873
2020-04-22 01:18:10 +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
tim peng
143668668b Merge "Fix Robotest failed" into rvc-dev 2020-04-22 00:59:38 +00:00
Arc Wang
ea3bfabee6 [Wi-Fi] Fix a fail WifiEnhancedMacRandomizationPreferenceControllerTest
Mock objects do not know the relation between setChecked
and isChecked. Should not call mock objects's setter and
assume the getter will return the corresponding value.

Bug: 154564960
Test: make RunSettingsRoboTests ROBOTEST_FILTER=WifiEnhancedMacRandomizationPreferenceControllerTest
Change-Id: Ib2e06f0fe60f7d6f90f76bd179a7aadccfcff4c4
2020-04-22 08:25:45 +08:00
TreeHugger Robot
7c89187be0 Merge "Notification history a11y fixes" into rvc-dev am: f11da4c787 am: 8f474aa504
Change-Id: I03214430a17777e21baaaa6564fef954c525b373
2020-04-21 21:52:10 +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
Malcolm Chen
08cc6396b2 Fix Robo test failure in NrDisabledInDsdsFooterPreferenceControllerTest.
Bug: 154566065
Test: robotest
Change-Id: I77dfa6eb61ee7b2cf2eb4fd8d8a392a43f7035b3
2020-04-21 18:41:52 +00:00
Fabian Kozynski
7f086a1b6b Add information video placeholder and ref
This adds the ref for the information video for the Device Controls
setting toggle

Test: manual
Bug: 152212779
Change-Id: I4bc13d043d77e9256c9d056a0a2ae41b00106ce6
2020-04-21 10:57:03 -04:00
TreeHugger Robot
ca3711966e Merge "Update ZenModeSettingsTest" into rvc-dev am: 0ff0929e0f am: 8d53e5888d
Change-Id: I8eb4565006352f1c245e2c9c48f3afca0e0f08ae
2020-04-21 14:45:00 +00:00
TreeHugger Robot
8d53e5888d Merge "Update ZenModeSettingsTest" into rvc-dev am: 0ff0929e0f
Change-Id: Iac46ccc66578a9fd0705bbbd25a3718ead02dbca
2020-04-21 14:30:30 +00:00
TreeHugger Robot
0ff0929e0f Merge "Update ZenModeSettingsTest" into rvc-dev 2020-04-21 14:12:15 +00:00
Beverly
d796da16f0 Update ZenModeSettingsTest
String was updated

Test: make ROBOTEST_FILTER=ZenModeSettingsTest RunSettingsRoboTests
Fixes: 154568594
Change-Id: Ia67f7ff2e3692cc4f40b87e94e3d3952002a9e87
2020-04-21 09:31:16 -04:00
Pavel Grafov
acdb260023 Merge "Stop disabling wifi toggle when tethering is restricted" into rvc-dev am: 9341983324 am: 7e9e73f874
Change-Id: Ia03cee63b8bb3bee0b4bde166c9c018a92cd6028
2020-04-21 11:41:06 +00:00
Stanley Wang
153c5d514e Remove search result regression test from Settings.
- Move the test to internal app.

Bug: 116673764
Test: atest SettingsSearchResultRegressionTest
Change-Id: I1d50b896c0f6d7de871f409249b55bc7bfa88f4a
2020-04-21 19:39:00 +08: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
23b14102e9 Merge "Show default description only if description and html description are empty" into rvc-dev am: 0055a74794 am: dc52900d71
Change-Id: I785868be5dc0e505e935b91579debb32ea77c116
2020-04-21 11:20:17 +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
Pavel Grafov
9341983324 Merge "Stop disabling wifi toggle when tethering is restricted" into rvc-dev 2020-04-21 10:40:12 +00:00
TreeHugger Robot
5ced8102b3 Merge "[Wi-Fi] Show not show Wi-Fi edit UI for never connected open Wi-Fi networks" into rvc-dev am: 8a80769a7e am: 79c9bdb2d0
Change-Id: Ic4d3fb41b7df91e66e1d606bf9a0424fb4b8caa9
2020-04-21 09:56:52 +00:00
TreeHugger Robot
79c9bdb2d0 Merge "[Wi-Fi] Show not show Wi-Fi edit UI for never connected open Wi-Fi networks" into rvc-dev am: 8a80769a7e
Change-Id: I0cbd5dbf8962728e6086240b5d7136f02b48ac17
2020-04-21 09:41:41 +00:00
Jason Hsu
0055a74794 Merge "Show default description only if description and html description are empty" into rvc-dev 2020-04-21 09:41:15 +00:00
TreeHugger Robot
8a80769a7e Merge "[Wi-Fi] Show not show Wi-Fi edit UI for never connected open Wi-Fi networks" into rvc-dev 2020-04-21 09:20:52 +00:00
Tim Peng
5308d5f88b Fix Robotest failed
Bug: 154578656
Test: make -j50 RunSettingsRoboTests ROBOTEST_FILTER=MediaOutputGroupSliceTest
make -j50 RunSettingsRoboTests ROBOTEST_FILTER=MediaOutputSliceTest

Change-Id: If675c27ac412c2a49f9ed1c9b71a84c172f54fd6
2020-04-21 17:14:13 +08:00
Tim Peng
e94de7fbb2 The volume slider should not show for the unselected device
-Design changes

Bug: 154555379
Test: Manual test
Change-Id: Icb127867911bc4bba0b77ce374332451b23f1215
2020-04-21 09:10:02 +00:00
Bonian Chen
2ba9e114bf Merge "[Settings] Refactor test case DataUsageSummaryPreferenceControllerTest" into rvc-dev am: 6fb4a18ded am: 67ff594c29
Change-Id: Id8a4b0d14f4bb666434861e50b970060dbf8e97b
2020-04-21 09:09:50 +00:00
Alex Johnston
dc980cf964 Merge "Update Wi-Fi configs restrictions" into rvc-dev am: 56f06c59a1 am: cff2c22eb8
Change-Id: I7ebec7f7dc854dc069cab1c8bbc22c526f6c010e
2020-04-21 09:09:45 +00:00
TreeHugger Robot
f02caa260c Merge "Ignore a lot of failed roboletric test cases" into rvc-dev am: a10969bfc5 am: 5362a1e8cd
Change-Id: I4fb8b7ec944feb397df2d84516fe6bbe4076909c
2020-04-21 09:09:40 +00:00
Bonian Chen
67ff594c29 Merge "[Settings] Refactor test case DataUsageSummaryPreferenceControllerTest" into rvc-dev am: 6fb4a18ded
Change-Id: I2b7f27f9a9c9e461c8ec64d241a7ccfe062fbc0f
2020-04-21 08:56:44 +00:00
Alex Johnston
cff2c22eb8 Merge "Update Wi-Fi configs restrictions" into rvc-dev am: 56f06c59a1
Change-Id: I5776862d5a425e2137e390c055c714f32dc25fa5
2020-04-21 08:56:36 +00:00
TreeHugger Robot
5362a1e8cd Merge "Ignore a lot of failed roboletric test cases" into rvc-dev am: a10969bfc5
Change-Id: Ifa8c3d2576d1417c1521cc54e2a567dfaf852618
2020-04-21 08:56:21 +00:00
Bonian Chen
6fb4a18ded Merge "[Settings] Refactor test case DataUsageSummaryPreferenceControllerTest" into rvc-dev 2020-04-21 08:48:36 +00:00
Alex Johnston
56f06c59a1 Merge "Update Wi-Fi configs restrictions" into rvc-dev 2020-04-21 08:41:10 +00:00
TreeHugger Robot
a10969bfc5 Merge "Ignore a lot of failed roboletric test cases" into rvc-dev 2020-04-21 08:35:09 +00:00
Bonian Chen
209d3699b5 Merge "[Settings] Code refactor" into rvc-dev am: 5bc8aa7961 am: 0987923594
Change-Id: Ib2f75d9082fcf3460e836033a83f29b55f21f757
2020-04-21 08:34:27 +00:00
Bonian Chen
e517ff0457 Merge "[Settings] Support of DSDS API" into rvc-dev am: 57c2df4c7c am: 05a2603d55
Change-Id: I87d5974a85a6568ab7b2f13cc2218341cc727fec
2020-04-21 08:33:46 +00:00
Bonian Chen
0987923594 Merge "[Settings] Code refactor" into rvc-dev am: 5bc8aa7961
Change-Id: Ibed580769fc846df8d3f6c6d58df8668bff34378
2020-04-21 08:25:04 +00:00
Bonian Chen
5bc8aa7961 Merge "[Settings] Code refactor" into rvc-dev 2020-04-21 08:21:28 +00:00
Bonian Chen
05a2603d55 Merge "[Settings] Support of DSDS API" into rvc-dev am: 57c2df4c7c
Change-Id: I09ceb36bc6c8e73737bdb72c7bcc65080181b7ed
2020-04-21 08:18:04 +00:00
Arc Wang
205b585cf3 [Wi-Fi] Show not show Wi-Fi edit UI for never connected open Wi-Fi networks
When users click a Wi-Fi network and it's
WifiConfiguration.getNetworkSelectionStatus().hasEverConnected()
is false, WifiSettings2 will launch the Wi-Fi edit UI for users
to edit password again.
It's not necessary to show the Wi-Fi edit UI if the Wi-Fi network
is a open network.

Bug: 154548505
Test: manual
      Click a never connected secure Wi-Fi and edit UI shows.
      Click a never connected open Wi-Fi and edit UI does not show.
Change-Id: Ie8489aff001942f92fbfaafd772f84b1b4a09cf4
2020-04-21 16:04:03 +08:00