Commit Graph

50334 Commits

Author SHA1 Message Date
Edgar Wang
5cbdce4b3f Fix Robo test fail at NotificationAssistantPickerTest
Fixes: 127764177
Test: make RunSettingsRoboTests ROBOTEST_FILTER=NotificationAssistantPickerTest
Change-Id: I923a8c948c432fbb0b581a84f058a6d6bd0f7946
2019-03-07 18:59:55 +08:00
Yanting Yang
cbbc008a97 Fix BluetoothDevicesSlice doesn't appear issue.
In Settings cold launch, it took a little bit time to do Bluetooth
profile service connection. If we get the Bluetooth device connected
state before service connected, the return value will always false.
This behavior caused BluetoothDevicesSlice can't collect media devices
immediately in cold launch, therefore, no data to build this card.

According latest discussion, this card is used for all Bluetooth
devices, so we don't need to wait profile to get specific devices.
Hence, update design to show all connected Bluetooth devices and
keep the operations are the same with Settings > Connected devices.

Fixes: 124462139
Test: visual, robotests
Change-Id: I1418e09f2cdc7ea8beaa73d7a59440ee2baae63b
2019-03-07 18:41:16 +08:00
Raff Tsai
bf90398ce6 Merge "Fix Robo test fail at VolumePanelTest" 2019-03-07 10:14:48 +00:00
Edgar Wang
af13b393e2 Fix Robo test fail at VolumePanelTest
Fixes: 127765311
Test: make RunSettingsRoboTests ROBOTEST_FILTER=VolumePanelTest
Change-Id: I9608c0aed2b7282b3626107c5f6d2e98d1c3caab
2019-03-07 17:51:24 +08:00
clownshen
0a7e2c0383 [Passpointv2] Provide two views for saved networks
List all passpoint network under "Subscriptions" view and others under
"Wi-Fi networks".

Bug: 116362877
Test: hard code verify subscribed network
Change-Id: I9750e9964e8b5affc2e91ea86a058c3ba65b3588
2019-03-07 07:59:58 +00:00
TreeHugger Robot
b5b61b202b Merge "Alignment of Settings contextual homepage" 2019-03-07 06:07:05 +00:00
Yanting Yang
24ff4a2110 Fix Hotspot condition string truncated
Update hotspot condition title and summary and remove unused string.

Fixes: 125914006
Test: visual, robotests
Change-Id: I2a41c0d1840c9a21f86bd62495b404b02d8a865e
2019-03-07 13:57:49 +08:00
Raff Tsai
b508184d60 Remove "Add users from lock screen" from secondary users
Fixes: 124885010
Test: Robolectric, manual
Change-Id: I1c940fda2fa5f3da39c19bd119ac483024f5a83b
2019-03-07 13:20:02 +08:00
Bill Yi
2a73fdded9 Import translations. DO NOT MERGE
Change-Id: I140333c18cc1408b29107775cafac179262f8f47
Auto-generated-cl: translation import
2019-03-06 20:05:07 -08:00
Julia Reynolds
4b01c8468c Merge "Filter available notification assts" 2019-03-07 00:59:55 +00:00
TreeHugger Robot
fe4f85d4ac Merge "Update app & notification setting summary text" 2019-03-07 00:49:39 +00:00
Lei Yu
6ebd2ed731 Merge changes from topic "add_cast_volume"
* changes:
  Add SliceWorker for remote volume controller
  Add remote volume slider to sound settings
2019-03-06 23:59:44 +00:00
Kitta Koutarou
478e1232a0 WFC roaming mode setting can not be used with a fixed value
WFC roaming mode setting can not be used with a fixed value because it
is changed as WFC home mode changes if
KEY_EDITABLE_WFC_ROAMING_MODE_BOOL is false.

To solve this issue, separate the WFC mode setting of home and roaming.
These can switch behavior by new carrier config
KEY_USE_WFC_HOME_NETWORK_MODE_IN_ROAMING_NETWORK_BOOL.

Test: manual - Checked that WFC roaming mode is hidden if new config is
true.
Test: manual - Checked that WFC roaming mode is also changed when
change the WFC home mode if new config is true.
Test: auto - Passed WifiCallingSettingsForSubTest.
Bug: 79666081

Merged-In: Ib2363c5d50f5231cc89f287d760ca8728b02b249
Change-Id: Ib2363c5d50f5231cc89f287d760ca8728b02b249
2019-03-06 23:38:11 +00:00
Brad Ebinger
505e32cf64 Merge "WFC roaming mode setting can not be used with a fixed value" 2019-03-06 23:36:34 +00:00
Fan Zhang
50be598fd2 Update app & notification setting summary text
Fixes: 127379591
Test: visual
Change-Id: Icbc2557770b94e2f36ddf16fdabca2fc31731cff
2019-03-06 15:04:24 -08:00
TreeHugger Robot
cc39557d87 Merge "Add translatable="false" for config array" 2019-03-06 22:46:39 +00:00
Raff Tsai
2441b94c6d Change battery tip text
Fixes: 121042353
Test: adb shell settings put global battery_tip_constants test_low_battery_tip=true
      Then go to Settings -> battery to see the text
Change-Id: Ie3c4a89ccb7c2724840dc886a502ef919e13a856
2019-03-07 04:50:43 +08:00
TreeHugger Robot
d6d4de3c5c Merge "Allow Talkback to speak the permission name in the bar chart." 2019-03-06 20:46:27 +00:00
TreeHugger Robot
79ba9ad7e8 Merge "Moved left 2dp for the search icon" 2019-03-06 20:06:20 +00:00
jackqdyulei
dd00274967 Add SliceWorker for remote volume controller
Also update some methods to fix issues in panel.

Bug: 126199571
Test: RunSettingsRoboTests
Change-Id: I9b93ae594d41cb71b984b06267161455373bf121
2019-03-06 11:31:40 -08:00
Kitta Koutarou
994d27a2a5 WFC roaming mode setting can not be used with a fixed value
WFC roaming mode setting can not be used with a fixed value because it
is changed as WFC home mode changes if
KEY_EDITABLE_WFC_ROAMING_MODE_BOOL is false.

To solve this issue, separate the WFC mode setting of home and roaming.
These can switch behavior by new carrier config
KEY_USE_WFC_HOME_NETWORK_MODE_IN_ROAMING_NETWORK_BOOL.

Test: manual - Checked that WFC roaming mode is hidden if new config is
true.
Test: manual - Checked that WFC roaming mode is also changed when
change the WFC home mode if new config is true.
Test: auto - Passed WifiCallingSettingsForSubTest.
Bug: 79666081

Change-Id: Ib2363c5d50f5231cc89f287d760ca8728b02b249
2019-03-06 09:49:25 -08:00
Ruchi Kandoi
d5ba12a94d Update Secure NFC API definitions
Bug: 124767797
Test: None
Change-Id: I90f109f08771f429966cd108eaacdf8b81d0a72e
2019-03-06 08:29:38 -08:00
Julia Reynolds
102264bc0b Filter available notification assts
Test: manual
Bug: 127146476
Change-Id: I338e2154e6aced8a60b360c6f618c3f1b3afa338
2019-03-06 09:40:27 -05:00
Yanting Yang
0cb538bbd0 Animate the expansion/collapse of a slice
Fixes: 123950127
Test: visual
Change-Id: If78bace71b166c484c8f4c358f1007bd2f6ffc89
2019-03-06 19:50:09 +08:00
Jason Chiu
fa62183752 Alignment of Settings contextual homepage
Bug: 127345692
Bug: 126246056
Test: visual
Change-Id: I75e3153de1d6fb9d9b826db70c6cd5703304c04d
2019-03-06 17:28:56 +08:00
Yanting Yang
be15baa155 Merge "Remove dismissal behavior from deferred setup card" 2019-03-06 08:45:32 +00:00
Sunny Shao
6491db8f77 Moved left 2dp for the search icon
Bug: 127345692
Test: manual
Change-Id: I481d7fb46d2108d66a087eee30e7314e22af2314
2019-03-06 14:50:18 +08:00
Raff Tsai
131eeac4aa Merge "Change dialog text styles" 2019-03-06 03:37:18 +00:00
Ryusuke Sawa
9f7875d547 Support VPN Proxy(2/2)
Adding VPN Proxy settings in advanced option.
 - Proxy host name
 - Proxy port

Bug: 118793208
Test: runtest

Change-Id: I40f3cf049f5822eefc3f9e6ba5dd0bb80c9b3945
2019-03-06 10:38:48 +09:00
Sunny Shao
bb455b8b2d Update the color of the expand icon as accent color
Fixes: 126926489
Test: manual view
Change-Id: I0200e53733ce629686fa6fd53df70809f7cedbb5
2019-03-06 08:59:51 +08:00
Matthew Fritze
6b065caf7e Disable Moblie Data Slice in AP mode
When airplane mode is enabled, users should not be able to
change the value of mobile data. Thus, when airplane mode is enabled,
replace the Slice with a no-op slice explaining why it cannot be
changed.

Fixes:
Fixes: 126726036
Test: robotests
Change-Id: I1c6d95dbb9d0c51247709b9867506c800f5872cd
2019-03-05 14:46:32 -08:00
Joel Galenson
ca75538d0c Allow Talkback to speak the permission name in the bar chart.
Bug: 127237805
Test: Enable Talkback, click on access
Change-Id: Ib8d5d3b0fe25e1d3ea4f0b969ff03b663ce716f4
2019-03-05 14:16:24 -08:00
Fan Zhang
68c7aad725 Merge "Wake up/unlock device before running tests" 2019-03-05 21:32:44 +00:00
Fan Zhang
eb493d5d69 Wake up/unlock device before running tests
Fixes: 127452134
Test: atest
Change-Id: I627f848a080b4569b658678094d45576eab9247c
2019-03-05 13:27:47 -08:00
jackqdyulei
88a2e34e37 Add translatable="false" for config array
Fixes: 115712164
Test: Manual
Change-Id: I0ed80ff798d461f9604a4bddd29d6c11a6e6b805
2019-03-05 13:05:53 -08:00
TreeHugger Robot
3355bc06d0 Merge "Prevent extra reloads in mobile networking page/controllers" 2019-03-05 19:18:27 +00:00
Matthew Fritze
63cce45efe Add Wifi Panel
WIFI panel currently only shows the Wifi Slice. It's possible
more slices would be added in the future.

Testing is done here and in CTS.

Test: manual app
Test: robotests
Test: atest SettingsPanelTest
Fixes: 126894142
Change-Id: If691467e7c4bb9edd1b8a1b710c65e93284dc568
2019-03-05 10:55:42 -08:00
Kevin Chyn
635dfc8fdb Merge "Update Settings with BiometricPrompt API update" 2019-03-05 18:25:27 +00:00
Lei Yu
05461f7096 Merge "Add null check for forbiddenPlmns" 2019-03-05 18:05:34 +00:00
Kevin Chyn
37293d59d3 Update Settings with BiometricPrompt API update
Bug: 126190552
Test: Builds
Change-Id: I4b99a59982c1d23be7e49940a271f7652c51d480
2019-03-05 18:29:36 +08:00
Yi-Ling Chuang
76b70687e7 Swap the buttons in the dismissal view.
The affirmative button should be on the right.

Fixes: 126265410
Test: visual
Change-Id: I72ddbacd5ce417cb4271d07c1cfc77e10ccad49a
2019-03-05 17:16:20 +08:00
Yanting Yang
52367e8c65 Remove dismissal behavior from deferred setup card
Deferred setup is not skippable as user will need to review all SUW
screens at least one time.

Fixes: 126225957
Test: visual, robotests
Change-Id: I7b32c2382f459690d3b136cf9faa543d04aa8d3d
2019-03-05 17:08:51 +08:00
Raff Tsai
953e39004f Change dialog text styles
Fixes: 126890487
Test: visual
Change-Id: I21b4264fd6b5c7f5fb79c3669bae366513c1ec65
2019-03-05 12:07:50 +08:00
TreeHugger Robot
9495654926 Merge "Update vibrator on/off status from accessibility settings menu" 2019-03-05 03:03:56 +00:00
TreeHugger Robot
6ebeb29643 Merge "Disable the "SIM cards" tile in new Network & internet page" 2019-03-05 02:39:31 +00:00
TreeHugger Robot
8758f631c8 Merge "Remove task affinity on misc settings" 2019-03-05 00:59:43 +00:00
Antony Sargent
ce9a126add Prevent extra reloads in mobile networking page/controllers
On the mobile network details page, as well as in several preference
controllers used in various page, we had listeners for the
ACTION_RADIO_TECHNOLOGY_CHANGED broadcast that when fired would cause a
reload. It turns out that this gets broadcast as a sticky intent, so our
callbaks would fire just after registering to listen, resulting in lots
of unnecessary extra reloading. This was particularly noticable on the
mobile network details page because the entire page gets reloaded.

The fix is to make our listeners ignore the broadcast if it's the
initial sticky one.

Bug: 126419558
Test: make RunSettingsRoboTests
Change-Id: I6ab7b43d74b07a839e45ce5368e45809be658b9d
2019-03-04 16:37:33 -08:00
Antony Sargent
627f14bfd0 Disable the "SIM cards" tile in new Network & internet page
When settings_network_and_internet_v2 is enabled, don't show the old
"SIM cards" tile for managing multiple SIM cards on the Network &
internet page, since we now have new UI for this.

Bug: 116349402
Test: manual (put device into dual-sim dual-standby mode, and enable the
'settings_network_and_internet_v2' flag in the FeatureFlags section of
Developer options)

Change-Id: Icc0d723b634f15ad831e38b783ae226a7717f674
2019-03-04 16:12:51 -08:00
Fan Zhang
c7635e582f Remove task affinity on misc settings
The task affinity is making upnav button acting strange.

Fixes: 118789456
Fixes: 127335758
Test: rebuild and go through Settings search
Change-Id: I911298dfc995c271cf0d34f24cd87caecd153b34
2019-03-04 14:55:34 -08:00
TreeHugger Robot
1795e0323c Merge "Increasing char limit to 67 per linguists' request." 2019-03-04 22:49:30 +00:00