OSDN Git Service

android-x86/packages-apps-Settings.git
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 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 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 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 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

5 years agoFix BluetoothDevicesSlice doesn't appear issue.
Yanting Yang [Tue, 26 Feb 2019 13:33:27 +0000 (21:33 +0800)]
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

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

5 years agoFix Robo test fail at VolumePanelTest
Edgar Wang [Thu, 7 Mar 2019 09:51:24 +0000 (17:51 +0800)]
Fix Robo test fail at VolumePanelTest

Fixes: 127765311
Test: make RunSettingsRoboTests ROBOTEST_FILTER=VolumePanelTest
Change-Id: I9608c0aed2b7282b3626107c5f6d2e98d1c3caab

5 years ago[Passpointv2] Provide two views for saved networks
clownshen [Thu, 21 Feb 2019 09:54:09 +0000 (17:54 +0800)]
[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

5 years agoMerge "Alignment of Settings contextual homepage"
TreeHugger Robot [Thu, 7 Mar 2019 06:07:05 +0000 (06:07 +0000)]
Merge "Alignment of Settings contextual homepage"

5 years agoFix Hotspot condition string truncated
Yanting Yang [Wed, 27 Feb 2019 10:58:58 +0000 (18:58 +0800)]
Fix Hotspot condition string truncated

Update hotspot condition title and summary and remove unused string.

Fixes: 125914006
Test: visual, robotests
Change-Id: I2a41c0d1840c9a21f86bd62495b404b02d8a865e

5 years agoRemove "Add users from lock screen" from secondary users
Raff Tsai [Thu, 7 Mar 2019 05:20:02 +0000 (13:20 +0800)]
Remove "Add users from lock screen" from secondary users

Fixes: 124885010
Test: Robolectric, manual
Change-Id: I1c940fda2fa5f3da39c19bd119ac483024f5a83b

5 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 7 Mar 2019 04:05:07 +0000 (20:05 -0800)]
Import translations. DO NOT MERGE

Change-Id: I140333c18cc1408b29107775cafac179262f8f47
Auto-generated-cl: translation import

5 years agoMerge "Filter available notification assts"
Julia Reynolds [Thu, 7 Mar 2019 00:59:55 +0000 (00:59 +0000)]
Merge "Filter available notification assts"

5 years agoMerge "Update app & notification setting summary text"
TreeHugger Robot [Thu, 7 Mar 2019 00:49:39 +0000 (00:49 +0000)]
Merge "Update app & notification setting summary text"

5 years agoMerge changes from topic "add_cast_volume"
Lei Yu [Wed, 6 Mar 2019 23:59:44 +0000 (23:59 +0000)]
Merge changes from topic "add_cast_volume"

* changes:
  Add SliceWorker for remote volume controller
  Add remote volume slider to sound settings

5 years agoWFC roaming mode setting can not be used with a fixed value
Kitta Koutarou [Thu, 14 Feb 2019 10:16:40 +0000 (19:16 +0900)]
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

5 years agoMerge "WFC roaming mode setting can not be used with a fixed value"
Brad Ebinger [Wed, 6 Mar 2019 23:36:34 +0000 (23:36 +0000)]
Merge "WFC roaming mode setting can not be used with a fixed value"

5 years agoUpdate app & notification setting summary text
Fan Zhang [Wed, 6 Mar 2019 23:04:24 +0000 (15:04 -0800)]
Update app & notification setting summary text

Fixes: 127379591
Test: visual
Change-Id: Icbc2557770b94e2f36ddf16fdabca2fc31731cff

5 years agoMerge "Add translatable="false" for config array"
TreeHugger Robot [Wed, 6 Mar 2019 22:46:39 +0000 (22:46 +0000)]
Merge "Add translatable="false" for config array"

5 years agoChange battery tip text
Raff Tsai [Wed, 6 Mar 2019 02:27:42 +0000 (10:27 +0800)]
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

5 years agoMerge "Allow Talkback to speak the permission name in the bar chart."
TreeHugger Robot [Wed, 6 Mar 2019 20:46:27 +0000 (20:46 +0000)]
Merge "Allow Talkback to speak the permission name in the bar chart."

5 years agoMerge "Moved left 2dp for the search icon"
TreeHugger Robot [Wed, 6 Mar 2019 20:06:20 +0000 (20:06 +0000)]
Merge "Moved left 2dp for the search icon"

5 years agoAdd SliceWorker for remote volume controller
jackqdyulei [Wed, 27 Feb 2019 21:13:27 +0000 (13:13 -0800)]
Add SliceWorker for remote volume controller

Also update some methods to fix issues in panel.

Bug: 126199571
Test: RunSettingsRoboTests
Change-Id: I9b93ae594d41cb71b984b06267161455373bf121

5 years agoWFC roaming mode setting can not be used with a fixed value
Kitta Koutarou [Thu, 14 Feb 2019 10:16:40 +0000 (19:16 +0900)]
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

5 years agoUpdate Secure NFC API definitions
Ruchi Kandoi [Tue, 5 Mar 2019 17:53:10 +0000 (09:53 -0800)]
Update Secure NFC API definitions

Bug: 124767797
Test: None
Change-Id: I90f109f08771f429966cd108eaacdf8b81d0a72e

5 years agoFilter available notification assts
Julia Reynolds [Mon, 4 Mar 2019 16:45:38 +0000 (11:45 -0500)]
Filter available notification assts

Test: manual
Bug: 127146476
Change-Id: I338e2154e6aced8a60b360c6f618c3f1b3afa338

5 years agoAnimate the expansion/collapse of a slice
Yanting Yang [Tue, 5 Mar 2019 11:38:16 +0000 (19:38 +0800)]
Animate the expansion/collapse of a slice

Fixes: 123950127
Test: visual
Change-Id: If78bace71b166c484c8f4c358f1007bd2f6ffc89