Commit Graph

50289 Commits

Author SHA1 Message Date
Clown SHEN
457f9a6ee8 Merge "[Passpointv2] Provide two views for saved networks" 2019-03-08 02:42:30 +00:00
Sunny Shao
6414137ec7 Update the WorkOnlyCategory
Add the settings:searchable="false" into WorkOnlyCategory in the language_and_input.xml.

Bug: 126463108
Test: manual
Change-Id: Ie1b86289f8f2c1b4b0154dff342e1d74fef73547
2019-03-08 09:54:22 +08:00
TreeHugger Robot
470caabd50 Merge "Added new toggle for Content Capture on Settings -> Privacy" 2019-03-08 01:14:36 +00:00
Raff Tsai
39832ae341 Merge "Remove "Add users from lock screen" from secondary users" 2019-03-08 01:05:31 +00:00
Fan Zhang
f0c3c843e0 Remove title from top_level_settings.
This removes "Settings >" in seach breadcrumb

Bug: 127837519
Test: rerun robotests
Change-Id: I409db4e50485b787024e7a36aa51c699490af89b
2019-03-07 16:56:30 -08:00
pastychang
046a97edde Rewire BiometricEnrollActivity to setup pages
When running in setup flow:
- If fingerprint enrollment is desired, go to
  SetupFingerprintEnrollIntroduction
- Makes sure WizardManagerHelper.copyWizardManagerExtras is called
  to propagate the extras from the incoming intent, propagating
  extras like whether we are in initial / deferred setup flow, theme,
  etc.
- Forward the result code in BiometricEnrollActivity using
  FLAG_ACTIVITY_FORWARD_RESULT

Bug: 120797018
Test: Manual
Change-Id: Ibc0ecc035141d62339f5f664346ed108570e0905
2019-03-07 16:48:35 -08:00
Howard Ro
402336006e Update comment to use statsd.
Test: n/a for comment update.
Change-Id: Ica414449d34085065b16003beddc1b8cbdb1367c
2019-03-07 15:41:03 -08:00
Felipe Leme
0d3444a300 Added new toggle for Content Capture on Settings -> Privacy
Test: manual verification
Test: atest EnableContentCapturePreferenceControllerTest

Bug: 119264902

Change-Id: I2e29d7892892e6a0f90a97e35c48df231d67b0b6
2019-03-07 15:00:00 -08:00
Mehdi Alizadeh
43502549a3 Adds Edge to Edge option in gesture settings page
Bug: 125489141
Test: Manual test on device
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SystemNavigationLegacyPreferenceControllerTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SystemNavigationSwipeUpPreferenceControllerTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SystemNavigationEdgeToEdgePreferenceControllerTest
Change-Id: I1b274cc053de8235d0c664150cabe5dadc618419
2019-03-07 14:50:27 -08:00
TreeHugger Robot
f574d22f23 Merge "Use updated DeviceConfig API's new getters to simplify invocations." 2019-03-07 21:54:43 +00:00
Fan Zhang
cec74ac982 Merge "Fix Hotspot condition string truncated" 2019-03-07 21:53:05 +00:00
Brad Ebinger
7296b6cb1c Merge "WFC roaming mode setting can not be used with a fixed value" 2019-03-07 21:11:51 +00:00
TreeHugger Robot
4dfa94f5f6 Merge "Import translations. DO NOT MERGE" 2019-03-07 19:27:26 +00:00
Salvador Martinez
6db5eb6cd0 Create preference to allow user to toggle sticky battery saver
This adds the toggle that makes it so that battery saver turns
off automatically at high battery percentages or not.

Test: robotests
Bug: 112232746
Change-Id: I0df879a43e5390bc671c47e780bbbb466a3e9353
2019-03-07 11:18:40 -08:00
Ruchi Kandoi
ef37175102 Merge "Update Secure NFC API definitions" 2019-03-07 18:44:46 +00:00
Stanislav Zholnin
9a02535c40 Use updated DeviceConfig API's new getters to simplify invocations.
Test: manual verification
Change-Id: I5f64dcc11c27adf66cf9b9a42c61b2a51092eb12
2019-03-07 18:13:38 +00:00
Raff Tsai
fbdd87281a Merge "Fix Robo test fail at NotificationAssistantPickerTest" 2019-03-07 14:30:54 +00:00
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
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