OSDN Git Service

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

5 years agoAlignment of Settings contextual homepage
Jason Chiu [Tue, 5 Mar 2019 10:31:58 +0000 (18:31 +0800)]
Alignment of Settings contextual homepage

Bug: 127345692
Bug: 126246056
Test: visual
Change-Id: I75e3153de1d6fb9d9b826db70c6cd5703304c04d

5 years agoMerge "Remove dismissal behavior from deferred setup card"
Yanting Yang [Wed, 6 Mar 2019 08:45:32 +0000 (08:45 +0000)]
Merge "Remove dismissal behavior from deferred setup card"

5 years agoMoved left 2dp for the search icon
Sunny Shao [Tue, 5 Mar 2019 05:56:07 +0000 (13:56 +0800)]
Moved left 2dp for the search icon

Bug: 127345692
Test: manual
Change-Id: I481d7fb46d2108d66a087eee30e7314e22af2314

5 years agoMerge "Change dialog text styles"
Raff Tsai [Wed, 6 Mar 2019 03:37:18 +0000 (03:37 +0000)]
Merge "Change dialog text styles"

5 years agoDisable Moblie Data Slice in AP mode
Matthew Fritze [Thu, 28 Feb 2019 18:42:56 +0000 (10:42 -0800)]
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

5 years agoAllow Talkback to speak the permission name in the bar chart.
Joel Galenson [Tue, 5 Mar 2019 22:16:24 +0000 (14:16 -0800)]
Allow Talkback to speak the permission name in the bar chart.

Bug: 127237805
Test: Enable Talkback, click on access
Change-Id: Ib8d5d3b0fe25e1d3ea4f0b969ff03b663ce716f4

5 years agoMerge "Wake up/unlock device before running tests"
Fan Zhang [Tue, 5 Mar 2019 21:32:44 +0000 (21:32 +0000)]
Merge "Wake up/unlock device before running tests"

5 years agoWake up/unlock device before running tests
Fan Zhang [Tue, 5 Mar 2019 21:19:26 +0000 (13:19 -0800)]
Wake up/unlock device before running tests

Fixes: 127452134
Test: atest
Change-Id: I627f848a080b4569b658678094d45576eab9247c

5 years agoAdd translatable="false" for config array
jackqdyulei [Tue, 5 Mar 2019 21:05:53 +0000 (13:05 -0800)]
Add translatable="false" for config array

Fixes: 115712164
Test: Manual
Change-Id: I0ed80ff798d461f9604a4bddd29d6c11a6e6b805

5 years agoMerge "Prevent extra reloads in mobile networking page/controllers"
TreeHugger Robot [Tue, 5 Mar 2019 19:18:27 +0000 (19:18 +0000)]
Merge "Prevent extra reloads in mobile networking page/controllers"

5 years agoAdd Wifi Panel
Matthew Fritze [Tue, 5 Mar 2019 16:17:37 +0000 (08:17 -0800)]
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

5 years agoMerge "Update Settings with BiometricPrompt API update"
Kevin Chyn [Tue, 5 Mar 2019 18:25:27 +0000 (18:25 +0000)]
Merge "Update Settings with BiometricPrompt API update"

5 years agoMerge "Add null check for forbiddenPlmns"
Lei Yu [Tue, 5 Mar 2019 18:05:34 +0000 (18:05 +0000)]
Merge "Add null check for forbiddenPlmns"

5 years agoUpdate Settings with BiometricPrompt API update
Kevin Chyn [Mon, 4 Mar 2019 18:43:07 +0000 (10:43 -0800)]
Update Settings with BiometricPrompt API update

Bug: 126190552
Test: Builds
Change-Id: I4b99a59982c1d23be7e49940a271f7652c51d480

5 years agoSwap the buttons in the dismissal view.
Yi-Ling Chuang [Tue, 5 Mar 2019 09:16:20 +0000 (17:16 +0800)]
Swap the buttons in the dismissal view.

The affirmative button should be on the right.

Fixes: 126265410
Test: visual
Change-Id: I72ddbacd5ce417cb4271d07c1cfc77e10ccad49a

5 years agoRemove dismissal behavior from deferred setup card
Yanting Yang [Wed, 27 Feb 2019 09:25:04 +0000 (17:25 +0800)]
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

5 years agoChange dialog text styles
Raff Tsai [Tue, 5 Mar 2019 04:07:50 +0000 (12:07 +0800)]
Change dialog text styles

Fixes: 126890487
Test: visual
Change-Id: I21b4264fd6b5c7f5fb79c3669bae366513c1ec65

5 years agoMerge "Update vibrator on/off status from accessibility settings menu"
TreeHugger Robot [Tue, 5 Mar 2019 03:03:56 +0000 (03:03 +0000)]
Merge "Update vibrator on/off status from accessibility settings menu"

5 years agoMerge "Disable the "SIM cards" tile in new Network & internet page"
TreeHugger Robot [Tue, 5 Mar 2019 02:39:31 +0000 (02:39 +0000)]
Merge "Disable the "SIM cards" tile in new Network & internet page"

5 years agoMerge "Remove task affinity on misc settings"
TreeHugger Robot [Tue, 5 Mar 2019 00:59:43 +0000 (00:59 +0000)]
Merge "Remove task affinity on misc settings"

5 years agoPrevent extra reloads in mobile networking page/controllers
Antony Sargent [Mon, 4 Mar 2019 21:21:20 +0000 (13:21 -0800)]
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