Commit Graph

50617 Commits

Author SHA1 Message Date
TreeHugger Robot
760e6b66d8 Merge "Change battery tip text" 2019-03-08 08:50:02 +00:00
Raff Tsai
fe86a2a51f Do not allow draw on top for App notification settings
Fixes: 119115683
Test: manual
Change-Id: Ib7b878a23b4a99171c58b5de992fb87feca8a28a
2019-03-08 16:19:30 +08:00
clownshen
d8fcf9d2a1 Add new strings for Wi-Fi Connectivity
Bug: 126503889
Test: Build passed
Change-Id: I909db632d4e217dfa874d164cf32e168820131e8
2019-03-08 08:02:19 +00:00
Jason Chiu
ec5ace3e19 Remove settings gear icon from connected network in Wi-Fi slice
- remove the gear icon from the active access point
- do not show any icon for the active access point

Fixes: 126458943
Test: robotest
Change-Id: Ibb57c6e1e1840e54266b49e0f092839a9c145187
2019-03-08 15:00:16 +08:00
Yanting Yang
cd5298934b Merge "Fix BluetoothDevicesSlice doesn't appear issue." 2019-03-08 06:50:08 +00:00
TreeHugger Robot
9b628203e7 Merge "Adjust timeout limit of contextual card loading" 2019-03-08 06:26:30 +00:00
cosmohsieh
fb6b71e2d3 [MAC Randomization] Align feature flag to global flag as framework
Removed feature flag and change to check global flag as framework MAC
randomization api does.

Bug: 127817791
Test: atest WifiPrivacyPreferenceControllerTest
Change-Id: I6d5f67d45c9bdbfb47cddfc402d13627dc5a8a6e
2019-03-08 13:38:27 +08:00
Hai Zhang
729f1bb48b Use RoleControllerService for role related APIs.
Move isApplicationQualifiedForRole() and isRoleVisible() from
PermissionControllerService to RoleControllerService.

Bug: 127691087
Test: manual
Change-Id: I87edb1bc457fbbec3d9a87054eaad5024ed91310
2019-03-07 21:33:56 -08:00
Mehdi Alizadeh
f514f1eecf Merge "Adds Edge to Edge option in gesture settings page" 2019-03-08 04:49:41 +00:00
Arc Wang
70e3580f5d Fix [a11y] Wi-Fi Easy Connect Talkback issues
1. Remove android:contentDescription from ButtonPreference layout file
   'wifi_button_preference_widget.xml' because it should be a more
   general purpose component. Add ButtonPreference#setButtonContentDescription
   for this change.
2. Add a LinearLayout to group title & summary for better Talkback UX
3. Set android:contentDescription for Wi-Fi enrollee scan button
4. setTitle for Talkback actionbar back button of WifiDppQrCodeGeneratorFragment &
   WifiDppQrCodeScannerFragment
5. Auto trigger Talkback to speak title & summary in WifiDppAddDeviceFragment &
   WifiDppChooseSavedWifiNetworkFragment
6. Auto trigger Talkback to speak summary change in WifiDppAddDeviceFragment
7. Auto trigger Talkback to speak error message in WifiDppQrCodeScannerFragment

Bug: 126007405
Bug: 124424996
Bug: 124424445
Test: manual test

Change-Id: I54a3f033bb8871c47be12115ae8f97691fd83302
2019-03-08 12:05:50 +08:00
TreeHugger Robot
349df71c92 Merge "Update comment to use statsd." 2019-03-08 03:55:46 +00:00
Mill Chen
3c50f4467a Adjust timeout limit of contextual card loading
Add a way to get the timeout limit of contextual card loading from
Settings.Global. If Settings.Global doesn't have the timeout limit, will
use the default timeout limit.

Bug: 124460999
Test: robotests
Change-Id: I2a25570f51013b566914e485d61405f14290d338
2019-03-08 11:49:20 +08:00
Arc Wang
b249fb7d13 Support to share Wi-Fi hotspot via QR code
1. QR code scanner (Wi-Fi Easy Connect) does not support sharing Wi-Fi hotspot
   at current stage
2. Wi-Fi hotspot QR code button only shows when Wi-Fi hotspot is enabled
3. The QR code has the security string "WPA" for hotspot's WPA2_PSK

Bug: 123151660
Test: atest WifiTetherSSIDPreferenceControllerTest
            WifiQrCodeTest WifiDppConfiguratorActivityTest
            WifiDppEnrolleeActivityTest
            WifiDppQrCodeGeneratorFragmentTest
            WifiDppQrCodeScannerFragmentTest
            WifiNetworkListFragmentTest
            WifiDppChooseSavedWifiNetworkFragmentTest

Change-Id: I2e89450180b82cc841ee3b15be52bfc6f9f6164d
2019-03-08 11:48:12 +08:00
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
Chalard Jean
2a695c4b7b Merge "Support VPN Proxy(2/2)" 2019-03-08 00:34:25 +00: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
Beverly
1acf3dcbfa Only show zen rule gear if intent is valid
Test: manual
Fixes: 122638690
Change-Id: Ib9b37b2844ef7a439e38e5e71827903709fca46f
2019-03-07 15:49:04 -05: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