OSDN Git Service

android-x86/packages-apps-Settings.git
5 years agoMerge "Update screen lock complexity permission to password complexity"
TreeHugger Robot [Tue, 12 Mar 2019 16:22:11 +0000 (16:22 +0000)]
Merge "Update screen lock complexity permission to password complexity"

5 years agoSound + Output Switcher on Sound Setting
timhypeng [Mon, 4 Mar 2019 08:32:47 +0000 (16:32 +0800)]
Sound + Output Switcher on Sound Setting

1. Show "play media to" item when Previously Connected device is available
2. Click "Play media to" to launch output slice
3. Update test case

Bug: 126475101
Test: make -j50 RunSettingsRoboTests
Change-Id: Id8afd1a2407acb78c11e81d2420ae8c16130a321

5 years agoMerge "Update output switcher behavior and UI design"
TreeHugger Robot [Tue, 12 Mar 2019 02:50:02 +0000 (02:50 +0000)]
Merge "Update output switcher behavior and UI design"

5 years agoMerge "Add description for Wi-Fi calling mode"
Hall Liu [Tue, 12 Mar 2019 01:40:43 +0000 (01:40 +0000)]
Merge "Add description for Wi-Fi calling mode"

5 years agoMerge "Revert "Disable Moblie Data Slice in AP mode""
TreeHugger Robot [Tue, 12 Mar 2019 01:37:54 +0000 (01:37 +0000)]
Merge "Revert "Disable Moblie Data Slice in AP mode""

5 years agoMerge "Make settings do nothing if ranking for a card is invalid"
TreeHugger Robot [Tue, 12 Mar 2019 01:17:33 +0000 (01:17 +0000)]
Merge "Make settings do nothing if ranking for a card is invalid"

5 years agoMerge "Add new strings for Wi-Fi Connectivity"
TreeHugger Robot [Tue, 12 Mar 2019 01:11:09 +0000 (01:11 +0000)]
Merge "Add new strings for Wi-Fi Connectivity"

5 years agoMerge "Update the color of the expand icon as accent color"
TreeHugger Robot [Tue, 12 Mar 2019 01:05:10 +0000 (01:05 +0000)]
Merge "Update the color of the expand icon as accent color"

5 years agoMerge changes I54a3f033,I2e894501
TreeHugger Robot [Tue, 12 Mar 2019 00:42:40 +0000 (00:42 +0000)]
Merge changes I54a3f033,I2e894501

* changes:
  Fix [a11y] Wi-Fi Easy Connect Talkback issues
  Support to share Wi-Fi hotspot via QR code

5 years agoRevert "Disable Moblie Data Slice in AP mode"
Matthew Fritze [Mon, 11 Mar 2019 23:58:41 +0000 (23:58 +0000)]
Revert "Disable Moblie Data Slice in AP mode"

This reverts commit 6b065caf7ebf7c6311ae067e7ed6c840e651cb31.

Reason for revert: flaky test: b/128355821

Change-Id: I4fccac1bf7978c5743bde9dd9bb0b76ea4733d2b

5 years agoMake settings do nothing if ranking for a card is invalid
Fan Zhang [Mon, 11 Mar 2019 23:17:58 +0000 (16:17 -0700)]
Make settings do nothing if ranking for a card is invalid

Fixes: 124386997
Test: robotests
Change-Id: Ib01c75ec0490cdc034255300a09e8099e05fc389

5 years agoAdd description for Wi-Fi calling mode
Kazuya Ohshiro [Mon, 29 Aug 2016 09:29:35 +0000 (18:29 +0900)]
Add description for Wi-Fi calling mode

Replace the view of dialog with custom view that adds description
as summary.

Test: manual
Bug: 34793636
Change-Id: If9792b0a35c59c1260176b4b2c62107861de73b5

5 years agoMerge "Use getTitle() for AccessPoint display name"
Quang Luong [Mon, 11 Mar 2019 19:46:03 +0000 (19:46 +0000)]
Merge "Use getTitle() for AccessPoint display name"

5 years agoMerge "Use a boolean Consumer instead of RoleManagerCallback."
TreeHugger Robot [Mon, 11 Mar 2019 17:22:39 +0000 (17:22 +0000)]
Merge "Use a boolean Consumer instead of RoleManagerCallback."

5 years agoUpdate screen lock complexity permission to password complexity
bernardchau [Mon, 11 Mar 2019 16:39:08 +0000 (16:39 +0000)]
Update screen lock complexity permission to password complexity

This is to match the method name "getPasswordComplexity" as requested by API review feedback

Bug: 128030136
Test: N/A
Change-Id: Ia4ce1b0ceb581608615364b41a05ca71142ef2b7

5 years agoMerge "Add test cases for BalanceSeekBar"
Kevin Chang [Mon, 11 Mar 2019 08:21:13 +0000 (08:21 +0000)]
Merge "Add test cases for BalanceSeekBar"

5 years agoUpdate output switcher behavior and UI design
hughchen [Wed, 6 Mar 2019 08:55:21 +0000 (16:55 +0800)]
Update output switcher behavior and UI design

- Remove media stream stuff, use active device info as header.
- Show the sub title of media device.
- Add new requirement, when user click disconnected bluetooth device,
  will auto connceted it.
- When bluetooth state is off, do not showing content of slice.

Bug: 127201385
Test: make -j42 RunSettingsRoboTests
Change-Id: Ie1880ba3ef9910a42caf0cca2b6502e54787f5a0

5 years agoAdd test cases for BalanceSeekBar
Kevin Chang [Sat, 23 Feb 2019 00:46:34 +0000 (08:46 +0800)]
Add test cases for BalanceSeekBar

Bug: 123722274
Test: Manual
      make RunSettingsRoboTests ROBOTEST_FILTER=BalanceSeekBar

Change-Id: Ie6b560b2f92d78a0d3bd7ddb0e0d0a85c7803827

5 years ago[automerger skipped] [automerger] Do not allow draw on top for default sms picker...
Fan Zhang [Sat, 9 Mar 2019 16:36:41 +0000 (08:36 -0800)]
[automerger skipped] [automerger] Do not allow draw on top for default sms picker. am: 95d0fb7f49 am: b810aee20f am: 7a58589114 am: 7926131837 am: d6bde3f5b8 am: ba87cf7444 am: 9366d11e6d am: 657f8713ff am: 1b29c28aef
am: 0ee2857d0a -s ours
am skip reason: change_id I4be265565678302fad207839216d5cd65dcb6e94 with SHA1 9d46e1fdfe is in history

Change-Id: Ie84c7488db95a1693b8f6bf3ceaf7033dc3acc75

5 years agoMerge "Support VPN Proxy(2/2)" am: 2a695c4b7b am: e2f74af063
Chalard Jean [Sat, 9 Mar 2019 12:20:32 +0000 (04:20 -0800)]
Merge "Support VPN Proxy(2/2)" am: 2a695c4b7b am: e2f74af063
am: aa5d185d7b

Change-Id: Ifa4ac76f78e24296a29f99f5733075651bed9072

5 years agoMerge "Bluetooth slice polish"
TreeHugger Robot [Sat, 9 Mar 2019 07:00:48 +0000 (07:00 +0000)]
Merge "Bluetooth slice polish"

5 years agoMerge "Fix Face auth header icon"
TreeHugger Robot [Sat, 9 Mar 2019 05:09:59 +0000 (05:09 +0000)]
Merge "Fix Face auth header icon"

5 years agoMerge "Implemented Settings.ACTION_REQUEST_ENABLE_CONTENT_CAPTURE"
TreeHugger Robot [Sat, 9 Mar 2019 04:16:41 +0000 (04:16 +0000)]
Merge "Implemented Settings.ACTION_REQUEST_ENABLE_CONTENT_CAPTURE"

5 years agoMerge "Make Face enroll left button "Skip" during SUW"
TreeHugger Robot [Sat, 9 Mar 2019 02:51:17 +0000 (02:51 +0000)]
Merge "Make Face enroll left button "Skip" during SUW"

5 years agoFix Face auth header icon
Maurice Lam [Sat, 9 Mar 2019 01:15:42 +0000 (17:15 -0800)]
Fix Face auth header icon

Like the fingerprint enroll flow, the icon should be blue and have
size 32dp

Test: Manual
Bug: 127985682
Change-Id: I22e1b0c3294b4eedc7359c611c9b1c2c5a09c439

5 years agoMerge "Fix Settings crash"
Raff Tsai [Sat, 9 Mar 2019 01:53:35 +0000 (01:53 +0000)]
Merge "Fix Settings crash"

5 years agoMerge "[MAC Randomization] Align feature flag to global flag as framework"
TreeHugger Robot [Sat, 9 Mar 2019 00:25:44 +0000 (00:25 +0000)]
Merge "[MAC Randomization] Align feature flag to global flag as framework"

5 years agoMerge "Remove "add another fingerprint" suggestion"
TreeHugger Robot [Fri, 8 Mar 2019 23:42:39 +0000 (23:42 +0000)]
Merge "Remove "add another fingerprint" suggestion"

5 years ago[automerger] Do not allow draw on top for default sms picker. am: 95d0fb7f49 am:...
Fan Zhang [Fri, 8 Mar 2019 23:27:25 +0000 (15:27 -0800)]
[automerger] Do not allow draw on top for default sms picker. am: 95d0fb7f49 am: b810aee20f am: 7a58589114 am: 7926131837 am: d6bde3f5b8 am: ba87cf7444 am: 9366d11e6d am: 657f8713ff
am: 1b29c28aef

Change-Id: I549324f01db9afe19e21c6c01f02ce3f2a444c33

5 years agoMake Face enroll left button "Skip" during SUW
Maurice Lam [Fri, 8 Mar 2019 21:07:39 +0000 (13:07 -0800)]
Make Face enroll left button "Skip" during SUW

Test: Manual
Bug: 120797018
Change-Id: I5539fc3e3fa9f5ffc7413f8bd44504ee1e5c4c86

5 years agoMerge "Fix unit test problems in MobileNetworkSummaryController"
TreeHugger Robot [Fri, 8 Mar 2019 23:20:29 +0000 (23:20 +0000)]
Merge "Fix unit test problems in MobileNetworkSummaryController"

5 years ago[automerger] Do not allow draw on top for default sms picker. am: 95d0fb7f49 am:...
Fan Zhang [Fri, 8 Mar 2019 23:07:53 +0000 (15:07 -0800)]
[automerger] Do not allow draw on top for default sms picker. am: 95d0fb7f49 am: b810aee20f am: 7a58589114 am: 7926131837 am: d6bde3f5b8 am: ba87cf7444 am: 9366d11e6d
am: 657f8713ff

Change-Id: I501ba68b3f6691a627a8828aeca16d495ee52126

5 years ago[automerger] Do not allow draw on top for default sms picker. am: 95d0fb7f49 am:...
Fan Zhang [Fri, 8 Mar 2019 23:01:41 +0000 (15:01 -0800)]
[automerger] Do not allow draw on top for default sms picker. am: 95d0fb7f49 am: b810aee20f am: 7a58589114 am: 7926131837 am: d6bde3f5b8 am: ba87cf7444
am: 9366d11e6d

Change-Id: Icd4cf6000dd9d72f486417f1d11dde008d49c513

5 years ago[automerger] Do not allow draw on top for default sms picker. am: 95d0fb7f49 am:...
Fan Zhang [Fri, 8 Mar 2019 22:55:32 +0000 (14:55 -0800)]
[automerger] Do not allow draw on top for default sms picker. am: 95d0fb7f49 am: b810aee20f am: 7a58589114 am: 7926131837 am: d6bde3f5b8
am: ba87cf7444

Change-Id: I3b3a2411f4be05e1b8f6ecfce3521c5932028038

5 years agoMerge "Add extra to the intent for adding additional subscription"
TreeHugger Robot [Fri, 8 Mar 2019 22:43:25 +0000 (22:43 +0000)]
Merge "Add extra to the intent for adding additional subscription"

5 years agoUse getTitle() for AccessPoint display name
Quang Luong [Thu, 21 Feb 2019 01:45:32 +0000 (17:45 -0800)]
Use getTitle() for AccessPoint display name

Instead of getSsidStr(), AccessPoint display names should use
getTitle() to accomodate Passpoint networks which use a provider
name instead of a single ssid. This change allows the provider
name to be displayed in the network details page, the long
press wifi dialog, and the config editing dialog.

Bug: 118705403
Test: atest WifiSettingsTest
Change-Id: I930d6218c7e464ad20c0c61130e0cb9ce315d9a2

5 years agoUse a boolean Consumer instead of RoleManagerCallback.
Hai Zhang [Thu, 7 Mar 2019 04:39:35 +0000 (20:39 -0800)]
Use a boolean Consumer instead of RoleManagerCallback.

And use RemoteCallback for it under the hood. This removes one AIDL
interface and allows using lambda, while aligning with what
PermissionControllerService does.

Bug: 127691087
Test: manual
Change-Id: I7af28be2df5f84ffcd040a80884efe7c08e2d067

5 years agoImplemented Settings.ACTION_REQUEST_ENABLE_CONTENT_CAPTURE
Felipe Leme [Thu, 7 Mar 2019 23:33:51 +0000 (15:33 -0800)]
Implemented Settings.ACTION_REQUEST_ENABLE_CONTENT_CAPTURE

Test: manual verification
Test: atest AvailableIntentsTest#testRequestEnableContentCaptureIntent

Fixes: 119264902

Change-Id: I521e1690449c5afd7ec2d106befd42081a0e9181

5 years agoMerge "Tweaks to integrate BiometricEnrollActivity to SUW"
TreeHugger Robot [Fri, 8 Mar 2019 22:19:46 +0000 (22:19 +0000)]
Merge "Tweaks to integrate BiometricEnrollActivity to SUW"

5 years agoRemove "add another fingerprint" suggestion
Fan Zhang [Fri, 8 Mar 2019 21:51:31 +0000 (13:51 -0800)]
Remove "add another fingerprint" suggestion

Fixes: 124828278
Test: visual
Change-Id: Ia224a2d724fbc001aecb99c6c243523a591a50ec

5 years agoMerge "Use RoleControllerService for role related APIs."
TreeHugger Robot [Fri, 8 Mar 2019 21:51:25 +0000 (21:51 +0000)]
Merge "Use RoleControllerService for role related APIs."

5 years agoMerge "Remove title from top_level_settings."
TreeHugger Robot [Fri, 8 Mar 2019 21:23:10 +0000 (21:23 +0000)]
Merge "Remove title from top_level_settings."

5 years agoMerge "Disable Moblie Data Slice in AP mode"
TreeHugger Robot [Fri, 8 Mar 2019 19:24:43 +0000 (19:24 +0000)]
Merge "Disable Moblie Data Slice in AP mode"

5 years agoFix unit test problems in MobileNetworkSummaryController
Antony Sargent [Fri, 8 Mar 2019 19:23:21 +0000 (11:23 -0800)]
Fix unit test problems in MobileNetworkSummaryController

There were two failing tests due to problems in this class:
-PreferenceControllerContractTest
-SettingsSearchIndexablesProviderTest

In one case it was because we weren't checking for a valid Lifecycle,
and in the other it wasn't implementing PreferenceControllerMixin (or
inheriting from BasePreferenceController).

Bug: 127524919
Test: atest SettingsUnitTests
Change-Id: I662e300d68a21c28e1efb3ec9e23c4a882497176

5 years agoMerge "Fix the failing PreferenceControllerContractTest"
TreeHugger Robot [Fri, 8 Mar 2019 19:15:29 +0000 (19:15 +0000)]
Merge "Fix the failing PreferenceControllerContractTest"

5 years agoMerge "Revert "Revert "Change battery tip text"""
TreeHugger Robot [Fri, 8 Mar 2019 19:15:24 +0000 (19:15 +0000)]
Merge "Revert "Revert "Change battery tip text"""

5 years agoMerge "Add Wifi Panel"
TreeHugger Robot [Fri, 8 Mar 2019 19:13:08 +0000 (19:13 +0000)]
Merge "Add Wifi Panel"

5 years agoTweaks to integrate BiometricEnrollActivity to SUW
Maurice Lam [Fri, 8 Mar 2019 19:00:23 +0000 (11:00 -0800)]
Tweaks to integrate BiometricEnrollActivity to SUW

- Default backup screen lock type to PIN when in SUW
- Propagate the result codes in BiometricEnrollIntroduction, so that
  when the user hits back, SUW will get RESULT_CANCELED
- Follow-up change that was missed in ag/6664364 to not start activity
  when neither fingerprint nor face is available

Test: Manual
Bug: 120797018
Change-Id: I6d4f662928451fb86f301ddb5c6586622c7e6cf7

5 years agoMerge "Add card score when serialize"
TreeHugger Robot [Fri, 8 Mar 2019 18:48:50 +0000 (18:48 +0000)]
Merge "Add card score when serialize"

5 years agoMerge "Rewire BiometricEnrollActivity to setup pages"
Maurice Lam [Fri, 8 Mar 2019 18:31:33 +0000 (18:31 +0000)]
Merge "Rewire BiometricEnrollActivity to setup pages"

5 years agoFix the failing PreferenceControllerContractTest
Antony Sargent [Thu, 7 Mar 2019 23:21:33 +0000 (15:21 -0800)]
Fix the failing PreferenceControllerContractTest

In FaceSettings.SearchIndexProvider's createPreferenceControllers
method, we need to check isAvailable() before trying to create the
controllers.

Bug: 127852616
Test: runtest --path ./tests/unit/src/com/android/settings/core/PreferenceControllerContractTest.java
Change-Id: Ib05ba05b8752583eeda61ded78f08f7998d48ba7

5 years agoMerge "Create preference to allow user to toggle sticky battery saver"
Salvador Martinez [Fri, 8 Mar 2019 17:17:25 +0000 (17:17 +0000)]
Merge "Create preference to allow user to toggle sticky battery saver"

5 years agoAdd card score when serialize
Raff Tsai [Fri, 8 Mar 2019 16:53:10 +0000 (00:53 +0800)]
Add card score when serialize

Fixes: 127949838
Test: Use below command to check output log
      adb logcat | grep "SettingsIntLogLocal"

Change-Id: I29f3dbdb8237ad097b1c84b6cb770195a4a33aa5

5 years agoBluetooth slice polish
Yanting Yang [Fri, 8 Mar 2019 14:46:19 +0000 (22:46 +0800)]
Bluetooth slice polish

- Apply theme style for light and dark mode.
- Remove tint from slice ListBuilder and tint Bluetooth icon individually.
- Update settings icon of end item to accent style for dark mode.

Bug: 114807655
Bug: 127949840
Test: visual
Change-Id: If216f5ccaf1f969e9ea85066c02a810bb9a9314d

5 years agoAdd extra to the intent for adding additional subscription
Antony Sargent [Fri, 8 Mar 2019 00:52:41 +0000 (16:52 -0800)]
Add extra to the intent for adding additional subscription

In the places where we have a link to let the user add an additional
mobile network subscription, we need the "fore provision" extra added to
the intent.

Bug: 127532036
Test: manual (enable DSDS mode and the settings_network_internet_v2
feature flag, then go to Settings->Network & internet and try clicking
on the '+' button on the right of the Mobile network preference, or
click through that pref if you have 2+ sims and hit the 'Add more'
link. This should bring you into an 'add sim' flow provided by the eSIM
manager)

Change-Id: I56ab2125938f2df07f756d100a7ac993b1e5ced3

5 years agoMerge "Remove settings gear icon from connected network in Wi-Fi slice"
TreeHugger Robot [Fri, 8 Mar 2019 16:28:54 +0000 (16:28 +0000)]
Merge "Remove settings gear icon from connected network in Wi-Fi slice"

5 years agoRevert "Revert "Change battery tip text""
Raff Tsai [Fri, 8 Mar 2019 14:42:03 +0000 (14:42 +0000)]
Revert "Revert "Change battery tip text""

This reverts commit 39beb2533fa560afd9645c9e6bbc4560b199cedd.

Reason for revert: <start to implement>

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: I83cc187d5bfda5312410e91ee636373f305ef449

5 years agoMerge "Support VPN Proxy(2/2)" am: 2a695c4b7b
Chalard Jean [Fri, 8 Mar 2019 15:44:56 +0000 (07:44 -0800)]
Merge "Support VPN Proxy(2/2)" am: 2a695c4b7b
am: e2f74af063

Change-Id: I61f6f949ab79cdcac5d61ae9409c2de09b75db49

5 years ago[automerger skipped] Merge "WFC roaming mode setting can not be used with a fixed...
Brad Ebinger [Fri, 8 Mar 2019 14:56:04 +0000 (06:56 -0800)]
[automerger skipped] Merge "WFC roaming mode setting can not be used with a fixed value" am: 7296b6cb1c am: 3c65dc51f3
am: c1bdc0d512 -s ours
am skip reason: change_id Ib2363c5d50f5231cc89f287d760ca8728b02b249 with SHA1 994d27a2a5 is in history

Change-Id: I488660be8a513d82ea04c2e89ca0ad5b67859ecf

5 years agoMerge "Support VPN Proxy(2/2)"
Chalard Jean [Fri, 8 Mar 2019 14:42:57 +0000 (06:42 -0800)]
Merge "Support VPN Proxy(2/2)"
am: 2a695c4b7b

Change-Id: I58553c28c8f4e87a52169f925da70c2edb89ca71

5 years agoMerge "WFC roaming mode setting can not be used with a fixed value" am: 7296b6cb1c
Brad Ebinger [Fri, 8 Mar 2019 14:35:14 +0000 (06:35 -0800)]
Merge "WFC roaming mode setting can not be used with a fixed value" am: 7296b6cb1c
am: 3c65dc51f3

Change-Id: I3ffc4a17603e174eec58acfb33e23be86cd0f73f

5 years agoMerge "WFC roaming mode setting can not be used with a fixed value"
Brad Ebinger [Fri, 8 Mar 2019 14:08:40 +0000 (06:08 -0800)]
Merge "WFC roaming mode setting can not be used with a fixed value"
am: 7296b6cb1c

Change-Id: I0b4bd383fe9ac1e057e652664fc3fb0a250f1eeb

5 years agoMerge "Do not allow draw on top for App notification settings"
TreeHugger Robot [Fri, 8 Mar 2019 13:52:18 +0000 (13:52 +0000)]
Merge "Do not allow draw on top for App notification settings"

5 years agoFix Settings crash
Raff Tsai [Thu, 7 Mar 2019 23:22:20 +0000 (07:22 +0800)]
Fix Settings crash

Doesn't unregister contentprovider so that when data changed,
the fragment is destroyed.

Fixes: 127726564
Test: Connect to wifi. Go to Settings -> connected devices ->
      connection preference -> printing -> hp print service -> press
      back. Repeat several times.

Change-Id: I79d1522ce9d91a6bf6b1f982b7687eab1f7896bb

5 years agoMerge "Animate the expansion/collapse of a slice"
Yanting Yang [Fri, 8 Mar 2019 09:08:02 +0000 (09:08 +0000)]
Merge "Animate the expansion/collapse of a slice"

5 years agoMerge "Update the WorkOnlyCategory"
TreeHugger Robot [Fri, 8 Mar 2019 08:58:39 +0000 (08:58 +0000)]
Merge "Update the WorkOnlyCategory"

5 years agoMerge "Revert "Change battery tip text""
Raff Tsai [Fri, 8 Mar 2019 08:54:34 +0000 (08:54 +0000)]
Merge "Revert "Change battery tip text""

5 years agoRevert "Change battery tip text"
Raff Tsai [Fri, 8 Mar 2019 08:51:05 +0000 (08:51 +0000)]
Revert "Change battery tip text"

This reverts commit 2441b94c6d0e5a55cff2bf8dd97eadc3e2c22a7e.

Reason for revert: <wrong commit>

Change-Id: I373fc065eafc81c26a8eba133255f9377d1d5d7f

5 years agoMerge "Change battery tip text"
TreeHugger Robot [Fri, 8 Mar 2019 08:50:02 +0000 (08:50 +0000)]
Merge "Change battery tip text"

5 years agoDo not allow draw on top for App notification settings
Raff Tsai [Fri, 8 Mar 2019 08:19:30 +0000 (16:19 +0800)]
Do not allow draw on top for App notification settings

Fixes: 119115683
Test: manual
Change-Id: Ib7b878a23b4a99171c58b5de992fb87feca8a28a

5 years agoAdd new strings for Wi-Fi Connectivity
clownshen [Fri, 8 Mar 2019 06:39:41 +0000 (14:39 +0800)]
Add new strings for Wi-Fi Connectivity

Bug: 126503889
Test: Build passed
Change-Id: I909db632d4e217dfa874d164cf32e168820131e8

5 years agoRemove settings gear icon from connected network in Wi-Fi slice
Jason Chiu [Thu, 7 Mar 2019 10:06:12 +0000 (18:06 +0800)]
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

5 years agoMerge "Fix BluetoothDevicesSlice doesn't appear issue."
Yanting Yang [Fri, 8 Mar 2019 06:50:08 +0000 (06:50 +0000)]
Merge "Fix BluetoothDevicesSlice doesn't appear issue."

5 years agoMerge "Adjust timeout limit of contextual card loading"
TreeHugger Robot [Fri, 8 Mar 2019 06:26:30 +0000 (06:26 +0000)]
Merge "Adjust timeout limit of contextual card loading"

5 years ago[MAC Randomization] Align feature flag to global flag as framework
cosmohsieh [Fri, 8 Mar 2019 05:38:27 +0000 (13:38 +0800)]
[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

5 years agoUse RoleControllerService for role related APIs.
Hai Zhang [Thu, 7 Mar 2019 00:05:54 +0000 (16:05 -0800)]
Use RoleControllerService for role related APIs.

Move isApplicationQualifiedForRole() and isRoleVisible() from
PermissionControllerService to RoleControllerService.

Bug: 127691087
Test: manual
Change-Id: I87edb1bc457fbbec3d9a87054eaad5024ed91310

5 years agoMerge "Adds Edge to Edge option in gesture settings page"
Mehdi Alizadeh [Fri, 8 Mar 2019 04:49:41 +0000 (04:49 +0000)]
Merge "Adds Edge to Edge option in gesture settings page"

5 years agoFix [a11y] Wi-Fi Easy Connect Talkback issues
Arc Wang [Wed, 6 Mar 2019 04:29:45 +0000 (12:29 +0800)]
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

5 years agoMerge "Update comment to use statsd."
TreeHugger Robot [Fri, 8 Mar 2019 03:55:46 +0000 (03:55 +0000)]
Merge "Update comment to use statsd."

5 years agoAdjust timeout limit of contextual card loading
Mill Chen [Mon, 4 Mar 2019 03:35:39 +0000 (11:35 +0800)]
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

5 years agoSupport to share Wi-Fi hotspot via QR code
Arc Wang [Mon, 4 Mar 2019 09:20:41 +0000 (17:20 +0800)]
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

5 years agoMerge "[Passpointv2] Provide two views for saved networks"
Clown SHEN [Fri, 8 Mar 2019 02:42:30 +0000 (02:42 +0000)]
Merge "[Passpointv2] Provide two views for saved networks"

5 years agoUpdate the WorkOnlyCategory
Sunny Shao [Thu, 7 Mar 2019 09:10:42 +0000 (17:10 +0800)]
Update the WorkOnlyCategory

Add the settings:searchable="false" into WorkOnlyCategory in the language_and_input.xml.

Bug: 126463108
Test: manual
Change-Id: Ie1b86289f8f2c1b4b0154dff342e1d74fef73547

5 years agoMerge "Added new toggle for Content Capture on Settings -> Privacy"
TreeHugger Robot [Fri, 8 Mar 2019 01:14:36 +0000 (01:14 +0000)]
Merge "Added new toggle for Content Capture on Settings -> Privacy"

5 years agoMerge "Remove "Add users from lock screen" from secondary users"
Raff Tsai [Fri, 8 Mar 2019 01:05:31 +0000 (01:05 +0000)]
Merge "Remove "Add users from lock screen" from secondary users"

5 years agoRemove title from top_level_settings.
Fan Zhang [Fri, 8 Mar 2019 00:56:30 +0000 (16:56 -0800)]
Remove title from top_level_settings.

This removes "Settings >" in seach breadcrumb

Bug: 127837519
Test: rerun robotests
Change-Id: I409db4e50485b787024e7a36aa51c699490af89b

5 years agoRewire BiometricEnrollActivity to setup pages
pastychang [Thu, 7 Mar 2019 03:27:31 +0000 (11:27 +0800)]
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

5 years agoMerge "Support VPN Proxy(2/2)"
Chalard Jean [Fri, 8 Mar 2019 00:34:25 +0000 (00:34 +0000)]
Merge "Support VPN Proxy(2/2)"

5 years agoUpdate comment to use statsd.
Howard Ro [Thu, 7 Mar 2019 23:41:03 +0000 (15:41 -0800)]
Update comment to use statsd.

Test: n/a for comment update.
Change-Id: Ica414449d34085065b16003beddc1b8cbdb1367c

5 years agoAdded new toggle for Content Capture on Settings -> Privacy
Felipe Leme [Wed, 6 Mar 2019 23:50:03 +0000 (15:50 -0800)]
Added new toggle for Content Capture on Settings -> Privacy

Test: manual verification
Test: atest EnableContentCapturePreferenceControllerTest

Bug: 119264902

Change-Id: I2e29d7892892e6a0f90a97e35c48df231d67b0b6

5 years agoAdds Edge to Edge option in gesture settings page
Mehdi Alizadeh [Wed, 27 Feb 2019 23:24:48 +0000 (15:24 -0800)]
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

5 years agoMerge "Use updated DeviceConfig API's new getters to simplify invocations."
TreeHugger Robot [Thu, 7 Mar 2019 21:54:43 +0000 (21:54 +0000)]
Merge "Use updated DeviceConfig API's new getters to simplify invocations."

5 years agoMerge "Fix Hotspot condition string truncated"
Fan Zhang [Thu, 7 Mar 2019 21:53:05 +0000 (21:53 +0000)]
Merge "Fix Hotspot condition string truncated"

5 years agoMerge "WFC roaming mode setting can not be used with a fixed value"
Brad Ebinger [Thu, 7 Mar 2019 21:11:51 +0000 (21:11 +0000)]
Merge "WFC roaming mode setting can not be used with a fixed value"

5 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 7 Mar 2019 19:27:26 +0000 (19:27 +0000)]
Merge "Import translations. DO NOT MERGE"

5 years agoCreate preference to allow user to toggle sticky battery saver
Salvador Martinez [Mon, 4 Mar 2019 19:15:12 +0000 (11:15 -0800)]
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

5 years agoMerge "Update Secure NFC API definitions"
Ruchi Kandoi [Thu, 7 Mar 2019 18:44:46 +0000 (18:44 +0000)]
Merge "Update Secure NFC API definitions"

5 years agoUse updated DeviceConfig API's new getters to simplify invocations.
Stanislav Zholnin [Thu, 7 Mar 2019 18:13:38 +0000 (18:13 +0000)]
Use updated DeviceConfig API's new getters to simplify invocations.

Test: manual verification
Change-Id: I5f64dcc11c27adf66cf9b9a42c61b2a51092eb12

5 years agoMerge "Fix Robo test fail at NotificationAssistantPickerTest"
Raff Tsai [Thu, 7 Mar 2019 14:30:54 +0000 (14:30 +0000)]
Merge "Fix Robo test fail at NotificationAssistantPickerTest"

5 years agoFix Robo test fail at NotificationAssistantPickerTest
Edgar Wang [Thu, 7 Mar 2019 10:59:55 +0000 (18:59 +0800)]
Fix Robo test fail at NotificationAssistantPickerTest

Fixes: 127764177
Test: make RunSettingsRoboTests ROBOTEST_FILTER=NotificationAssistantPickerTest
Change-Id: I923a8c948c432fbb0b581a84f058a6d6bd0f7946