OSDN Git Service

android-x86/packages-apps-Settings.git
5 years agoMerge "Revert "Update to use new ConnectivityManager API."" am: 9c7ddce334 am: 2105dc52dd
Dan Albert [Thu, 24 Jan 2019 23:16:38 +0000 (15:16 -0800)]
Merge "Revert "Update to use new ConnectivityManager API."" am: 9c7ddce334 am: 2105dc52dd
am: 11247ebb53

Change-Id: Id9a817cb440ce1ae538b7f6fd3f5c81a95efb346

5 years agoMerge "Move color modes to ColorDisplayManager"
Christine Franks [Thu, 24 Jan 2019 22:54:09 +0000 (22:54 +0000)]
Merge "Move color modes to ColorDisplayManager"

5 years agoMerge "Revert "Update to use new ConnectivityManager API."" am: 9c7ddce334
Dan Albert [Thu, 24 Jan 2019 21:49:58 +0000 (13:49 -0800)]
Merge "Revert "Update to use new ConnectivityManager API."" am: 9c7ddce334
am: 2105dc52dd

Change-Id: I15aa3b38af77c6e222db38b89e3f29562437f4dd

5 years agoMerge "Revert "Update to use new ConnectivityManager API.""
Dan Albert [Thu, 24 Jan 2019 21:39:06 +0000 (13:39 -0800)]
Merge "Revert "Update to use new ConnectivityManager API.""
am: 9c7ddce334

Change-Id: Icd2bf95c10716d324b47151fddc34a31f5736355

5 years agoMerge "Add Subscription ID to extra when start carrier settings activity."
TreeHugger Robot [Thu, 24 Jan 2019 21:11:07 +0000 (21:11 +0000)]
Merge "Add Subscription ID to extra when start carrier settings activity."

5 years agoMerge "Revert "Update to use new ConnectivityManager API.""
Dan Albert [Thu, 24 Jan 2019 21:08:46 +0000 (21:08 +0000)]
Merge "Revert "Update to use new ConnectivityManager API.""

5 years agoRevert "Update to use new ConnectivityManager API."
Dan Albert [Thu, 24 Jan 2019 21:06:02 +0000 (21:06 +0000)]
Revert "Update to use new ConnectivityManager API."

This reverts commit 9a9f6f313b1f9bc7a5193eda092ea3ee3ae67667.

Reason for revert: broke pi-dev-plus-aosp

Change-Id: Ia0ff7cdf77b4edf3bdf5e4c54376b730df48373e

5 years agoMerge "Assistant is now set as role."
Philip P. Moltmann [Thu, 24 Jan 2019 20:51:41 +0000 (20:51 +0000)]
Merge "Assistant is now set as role."

5 years agoMerge "Hide mainline module apps in settings."
Doris Ling [Thu, 24 Jan 2019 20:50:03 +0000 (20:50 +0000)]
Merge "Hide mainline module apps in settings."

5 years agoMerge "Add module version in About settings."
Doris Ling [Thu, 24 Jan 2019 20:20:54 +0000 (20:20 +0000)]
Merge "Add module version in About settings."

5 years agoMerge "Remove a window flag."
Fan Zhang [Thu, 24 Jan 2019 19:07:45 +0000 (19:07 +0000)]
Merge "Remove a window flag."

5 years ago[automerger skipped] Merge "Update to use new ConnectivityManager API." am: 161f5ec3e...
Pavel Grafov [Thu, 24 Jan 2019 19:02:21 +0000 (11:02 -0800)]
[automerger skipped] Merge "Update to use new ConnectivityManager API." am: 161f5ec3e9 am: 525b0dbc17
am: a9ed0226f5 -s ours
am skip reason: change_id I614c20b9a1c6748614163766866bb59b15d794f1 with SHA1 ab871a00c7 is in history

Change-Id: I820acb6e661e0cc834b7a6ba42936e1c0e41a009

5 years agoMove color modes to ColorDisplayManager
Christine Franks [Tue, 15 Jan 2019 00:14:38 +0000 (16:14 -0800)]
Move color modes to ColorDisplayManager

Bug: 123352608
Test: make RunSettingsRoboTests

Change-Id: I3c054fa0cca4bbd1c955ef03d1733320ffe9e0f0

5 years agoMerge "Add default calls/SMS subscription prefs to mobile details page"
TreeHugger Robot [Thu, 24 Jan 2019 18:36:33 +0000 (18:36 +0000)]
Merge "Add default calls/SMS subscription prefs to mobile details page"

5 years agoMerge "Update to use new ConnectivityManager API." am: 161f5ec3e9
Pavel Grafov [Thu, 24 Jan 2019 18:07:47 +0000 (10:07 -0800)]
Merge "Update to use new ConnectivityManager API." am: 161f5ec3e9
am: 525b0dbc17

Change-Id: Id798a6b94be2c699c4de1c294e418a621b0adea2

5 years agoMerge "Update to use new ConnectivityManager API."
Pavel Grafov [Thu, 24 Jan 2019 17:50:37 +0000 (09:50 -0800)]
Merge "Update to use new ConnectivityManager API."
am: 161f5ec3e9

Change-Id: I14a198bf8c95501473ac963ee6e00331e09daa76

5 years agoMerge "Update to use new ConnectivityManager API."
Pavel Grafov [Thu, 24 Jan 2019 17:34:55 +0000 (17:34 +0000)]
Merge "Update to use new ConnectivityManager API."

5 years agoMerge "Use ColorDisplayManager for night display"
Christine Franks [Thu, 24 Jan 2019 17:05:39 +0000 (17:05 +0000)]
Merge "Use ColorDisplayManager for night display"

5 years agoMerge "Ignore the storage group in the Privacy bar chart."
TreeHugger Robot [Thu, 24 Jan 2019 16:42:30 +0000 (16:42 +0000)]
Merge "Ignore the storage group in the Privacy bar chart."

5 years agoMerge "Update to use new ConnectivityManager API."
Pavel Grafov [Thu, 24 Jan 2019 16:15:07 +0000 (16:15 +0000)]
Merge "Update to use new ConnectivityManager API."

5 years agoMerge "Make links to Permissions Hub only show last day."
TreeHugger Robot [Thu, 24 Jan 2019 14:57:35 +0000 (14:57 +0000)]
Merge "Make links to Permissions Hub only show last day."

5 years agoMerge "Change cross profile calendar API used in robolectric test."
TreeHugger Robot [Thu, 24 Jan 2019 14:25:45 +0000 (14:25 +0000)]
Merge "Change cross profile calendar API used in robolectric test."

5 years agoMerge "New extra for ACTION_SET_NEW_PASSWORD to specify the min complexity"
TreeHugger Robot [Thu, 24 Jan 2019 13:56:20 +0000 (13:56 +0000)]
Merge "New extra for ACTION_SET_NEW_PASSWORD to specify the min complexity"

5 years agoMerge "Fix the consistency of connection status displayed on Wi-Fi card"
TreeHugger Robot [Thu, 24 Jan 2019 12:38:32 +0000 (12:38 +0000)]
Merge "Fix the consistency of connection status displayed on Wi-Fi card"

5 years agoMerge "KeyChain: Remove Screenlock dependency"
Eran Messeri [Thu, 24 Jan 2019 11:28:36 +0000 (11:28 +0000)]
Merge "KeyChain: Remove Screenlock dependency"

5 years agoMerge "Ignore test case"
TreeHugger Robot [Thu, 24 Jan 2019 10:40:58 +0000 (10:40 +0000)]
Merge "Ignore test case"

5 years agoMerge "Plumb setRequireConfirmation to CC"
Kevin Chyn [Thu, 24 Jan 2019 10:30:36 +0000 (10:30 +0000)]
Merge "Plumb setRequireConfirmation to CC"

5 years agoMerge "Streamline accessibility flow"
Kevin Chyn [Thu, 24 Jan 2019 09:04:25 +0000 (09:04 +0000)]
Merge "Streamline accessibility flow"

5 years agoNew extra for ACTION_SET_NEW_PASSWORD to specify the min complexity
Bernard Chau [Mon, 17 Dec 2018 18:03:24 +0000 (18:03 +0000)]
New extra for ACTION_SET_NEW_PASSWORD to specify the min complexity

When an app that has the permission GET_AND_REQUEST_PASSWORD_COMPLEXITY
launches ACTION_SET_NEW_PASSWORD, it can use the DPM PASSWORD_COMPLEXITY_*
constants to specify the complexity it wants in a new extra
EXTRA_PASSWORD_COMPLEXITY.
The screen lock type picker would then filter out the options which
cannot fulfil the min complexity (and DPM restrictions) and will show a
footer with a brief description of the calling app and the requested type.
The same password requirements UI is used in ChooseLockPassword screen
to display the minimum requirements that can fulfil both DPM
restrictions and the min complexity.

The app must have permission GET_AND_REQUEST_PASSWORD_COMPLEXITY
otherwise the extra would be ignored.

ACTION_SET_NEW_PASSWORD is also updated to always display the calling app
name in the screen lock type picker if it is not launched by Settings,
with or without the new extra.

Bug: 111173457
Test: atest packages/apps/Settings/tests/robotests/src/com/android/settings/password/ChooseLockGenericControllerTest.java
      atest packages/apps/Settings/tests/robotests/src/com/android/settings/password/ChooseLockGenericTest.java
      atest packages/apps/Settings/tests/robotests/src/com/android/settings/password/ChooseLockPasswordTest.java
      atest packages/apps/Settings/tests/robotests/src/com/android/settings/password/PasswordUtilsTest.java
      atest packages/apps/Settings/tests/robotests/src/com/android/settings/password/SetNewPasswordActivityTest.java
      atest packages/apps/Settings/tests/robotests/src/com/android/settings/password/SetupChooseLockGenericTest.java
      manual test with TestDpc (ag/5901733)

Change-Id: I21a25d28669bf1223c3b02ba85c0755e59feee2e

5 years agoIgnore test case
tmfang [Thu, 24 Jan 2019 05:28:26 +0000 (13:28 +0800)]
Ignore test case

Since it breaks the test, we ignore test case temporarily.
Owner will fix it as soon as possible.

Test: robotest
Bug: 120910747
Change-Id: I2f31d2efe629080bb1c805e2d43a92f2873a3e5b

5 years agoAdd Subscription ID to extra when start carrier settings activity.
mavishsu [Tue, 22 Jan 2019 04:42:52 +0000 (12:42 +0800)]
Add Subscription ID to extra when start carrier settings activity.

Bug: 123325237
Test: Manual test
Change-Id: I48cda996bca699e97866ae0d1b7221266cf38df2

5 years agoFix the consistency of connection status displayed on Wi-Fi card
Jason Chiu [Wed, 23 Jan 2019 10:09:45 +0000 (18:09 +0800)]
Fix the consistency of connection status displayed on Wi-Fi card

- Refresh slice in WifiTracker.onConnectedChanged
- Only expose notifySliceChange to child in SliceBackgroundWorker

Fixes: 123270015
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.wifi.slice
Change-Id: Id5540ebae2746e58e14924665c5e62bf437ebcf0

5 years agoPlumb setRequireConfirmation to CC
Kevin Chyn [Thu, 24 Jan 2019 02:08:17 +0000 (18:08 -0800)]
Plumb setRequireConfirmation to CC

Bug: 111461540

Test: Tested with modified demo app with
      original and new KeyguardManager APIs

Change-Id: I56585fbfd704195586f2f516b35e9338e91b0346

5 years agoMerge "Fix UsbPortStatus constructor arguments"
Badhri Jagan Sridharan [Thu, 24 Jan 2019 02:03:19 +0000 (02:03 +0000)]
Merge "Fix UsbPortStatus constructor arguments"

5 years agoChange cross profile calendar API used in robolectric test.
yuemingw [Tue, 22 Jan 2019 20:12:42 +0000 (20:12 +0000)]
Change cross profile calendar API used in robolectric test.

The API changed from addCrossProfileCalendarPackage to
setCrossProfileCalendarPackages recently due to our decision
in b/121179845. Also added test for the case when
the whitelist is set to null.

Bug: 121179845
Test: make ROBOTEST_FILTER=CrossProfileCalendarPreferenceControllerTest -j40 RunSettingsRoboTests
Change-Id: I66b92aba6d26334e48207275b2d8981203598e15

5 years agoIgnore the storage group in the Privacy bar chart.
Joel Galenson [Wed, 23 Jan 2019 23:28:30 +0000 (15:28 -0800)]
Ignore the storage group in the Privacy bar chart.

We already filter out the storage group in the Permissions Hub because
it's going away and it produces false events.  This also filters it
out in the privacy bar chart so the two are consistent.

Test: Do not see the storage group in the privacy bar chart.
Change-Id: I6d6bc5a767db06a738ae978cb086dad685cff386

5 years agoRemove a window flag.
Fan Zhang [Wed, 23 Jan 2019 23:23:18 +0000 (15:23 -0800)]
Remove a window flag.

It doesn't seem to be doing anything.

Bug: 122447669
Test: visual
Change-Id: Ib2ac53885a2d0c7020fb046cafdccbe696a2bb91

5 years agoMerge "Update SlicePreferenceController"
Lei Yu [Wed, 23 Jan 2019 23:22:03 +0000 (23:22 +0000)]
Merge "Update SlicePreferenceController"

5 years agoUse ColorDisplayManager for night display
Christine Franks [Tue, 3 Jul 2018 21:44:08 +0000 (14:44 -0700)]
Use ColorDisplayManager for night display

Bug: 111215474
Test: make ROBOTEST_FILTER="(Night*)" RunSettingsRoboTests -j48
Change-Id: I8b92407470446ef86e460985fc64cf2467eb3e5c

5 years agoUpdate to use new ConnectivityManager API.
Pavel Grafov [Wed, 5 Dec 2018 11:25:51 +0000 (11:25 +0000)]
Update to use new ConnectivityManager API.

Bug: 77468593
Test: builds
Change-Id: I614c20b9a1c6748614163766866bb59b15d794f1
Merged-In: I614c20b9a1c6748614163766866bb59b15d794f1

5 years agoUpdate to use new ConnectivityManager API.
Pavel Grafov [Wed, 5 Dec 2018 11:25:51 +0000 (11:25 +0000)]
Update to use new ConnectivityManager API.

Bug: 77468593
Test: builds
Change-Id: I614c20b9a1c6748614163766866bb59b15d794f1

5 years agoFix UsbPortStatus constructor arguments
Badhri Jagan Sridharan [Thu, 17 Jan 2019 18:14:54 +0000 (10:14 -0800)]
Fix UsbPortStatus constructor arguments

USB V1.2 hal adds new parameters for the UsbPortStatus constructor.
The constructor changes from:

public UsbPortStatus(int currentMode, @UsbPowerRole int currentPowerRole,
            @UsbDataRole int currentDataRole, int supportedRoleCombinations)

To:

public UsbPortStatus(int currentMode, int currentPowerRole, int currentDataRole,
            int supportedRoleCombinations, int contaminantProtectionStatus,
            int contaminantDetectionStatus)

Initialize the construtor with contaminant presence disabled.

Bug: 119642987
Bug: 117330206
Bug: 77606903

Test: Ran roboelectric tests
Change-Id: I8e1b29785e07abffa1f6ae7656ca697425f446e6

5 years agoMerge "Migrating to new footer button for ChooseLockPassword page"
Pasty Chang [Wed, 23 Jan 2019 07:37:23 +0000 (07:37 +0000)]
Merge "Migrating to new footer button for ChooseLockPassword page"

5 years agoMerge "[Network Connection] Implement toasting after wifi is connected"
Cosmo Hsieh [Wed, 23 Jan 2019 02:17:21 +0000 (02:17 +0000)]
Merge "[Network Connection] Implement toasting after wifi is connected"

5 years agoMerge "[Network Connection] Correct title padding"
Cosmo Hsieh [Wed, 23 Jan 2019 02:16:36 +0000 (02:16 +0000)]
Merge "[Network Connection] Correct title padding"

5 years agoAdd default calls/SMS subscription prefs to mobile details page
Antony Sargent [Tue, 22 Jan 2019 18:57:25 +0000 (10:57 -0800)]
Add default calls/SMS subscription prefs to mobile details page

This adds prefs to the the details page for mobile network subscriptions
that appear in multi-SIM mode. They show which subscription is set as
the default for calls and SMS respectively, and let the user change what
the default is for each. They can be set to either a specific
subscription, or set to "Ask every time".

Bug: 122670283
Test: make RunSettingsRoboTests
Change-Id: Id2b23e4b5c3d1b5c04b5766e73fc8202c05d8f75

5 years agoMerge "Add switch to enable/disable cbrs"
Naina Nalluri [Wed, 23 Jan 2019 00:04:47 +0000 (00:04 +0000)]
Merge "Add switch to enable/disable cbrs"

5 years agoMake links to Permissions Hub only show last day.
Joel Galenson [Tue, 22 Jan 2019 19:19:42 +0000 (11:19 -0800)]
Make links to Permissions Hub only show last day.

Default to showing only the last day of accesses.

Also fix a bug caused by the API changing from seconds to
milliseconds.

Test: Click links and see correct filter.
Change-Id: I8456723a434c7144e9115e1834f48d3c1da24d4b

5 years agoStreamline accessibility flow
Kevin Chyn [Tue, 22 Jan 2019 18:59:44 +0000 (10:59 -0800)]
Streamline accessibility flow

Bug: 111548033

Test: Builds
Change-Id: I5df5ca230732c8ab4ff105b93ee16865b3f4d999

5 years agoUpdate SlicePreferenceController
jackqdyulei [Wed, 16 Jan 2019 04:03:10 +0000 (20:03 -0800)]
Update SlicePreferenceController

Make sure setSliceUri is invoked even when it is null, where we create
SliceLiveData.

Then in lifecycle, if LiveData is not null, we will register observer.

Bug: 120803703
Test: Manual

Change-Id: I56caf2abf04c4a251ebafa5deb599d44b1c7fe92

5 years agoMerge "Clean up updateState()"
TreeHugger Robot [Tue, 22 Jan 2019 18:23:15 +0000 (18:23 +0000)]
Merge "Clean up updateState()"

5 years agoMerge "Add icons of WifiDppAddDeviceFragment."
TreeHugger Robot [Tue, 22 Jan 2019 11:11:30 +0000 (11:11 +0000)]
Merge "Add icons of WifiDppAddDeviceFragment."

5 years ago[Network Connection] Correct title padding
cosmohsieh [Tue, 22 Jan 2019 07:13:10 +0000 (15:13 +0800)]
[Network Connection] Correct title padding

Padding of dialog title needs to align design doc.

Bug: 123161302
Test: manual
Change-Id: I4b8a3d12dd309b0c1812694c42c7e0d283c619f2

5 years agoAdd icons of WifiDppAddDeviceFragment.
Arc Wang [Tue, 22 Jan 2019 07:23:21 +0000 (15:23 +0800)]
Add icons of WifiDppAddDeviceFragment.

Bug: 118797202
Test: manual test
Change-Id: Ia2ef9db3526f98b1c697a864cec34e1d4dcfc400

5 years agoMigrating to new footer button for ChooseLockPassword page
pastychang [Fri, 18 Jan 2019 06:28:27 +0000 (14:28 +0800)]
Migrating to new footer button for ChooseLockPassword page

Bug: 120805516
Test: RunSettingsRoboTests
Change-Id: I1fb4588d0c2cf04bca88ec470d59945c2fcab01c

5 years ago[Network Connection] Implement toasting after wifi is connected
cosmohsieh [Tue, 22 Jan 2019 02:24:20 +0000 (10:24 +0800)]
[Network Connection] Implement toasting after wifi is connected

When wifi is connected (onUserSelectionConnectSuccess), making a toast
infos user and closed the dialog.

Bug: 123160958
Test: atest NetworkRequestDialogFragmentTest
Change-Id: I85ab648188018773e1f76541d18903c733bc3e69

5 years agoControl UI behavior according to different Wi-Fi DPP intents.
Arc Wang [Thu, 17 Jan 2019 23:59:28 +0000 (07:59 +0800)]
Control UI behavior according to different Wi-Fi DPP intents.

When it's a configurator from Settings, the cancel button of WifiDppChooseSavedWifiNetworkFragment
should pop back stack. When it's a configurator from a camera app, the cancel button of
WifiDppChooseSavedWifiNetworkFragment should finish host activity.

Bug: 120517242
Test: manual test
Change-Id: Ia0fb0daf16c94ecd62aa6d357405fcd529935d2f

5 years agoFixed Settings crash caused by null bluetooth adpater.
Weilun Du [Fri, 18 Jan 2019 16:59:51 +0000 (08:59 -0800)]
Fixed Settings crash caused by null bluetooth adpater.

Emulator doesn't support bluetooth.

BUG: 123026204
Change-Id: I5fddfaff03dfd882688a73542278d8ef1e509ca2
Signed-off-by: Weilun Du <wdu@google.com>
5 years agoMerge "Add Filtering for snoop logs based on L2CAP and RFCOMM Channels (3/4)"
Ajay Panicker [Tue, 22 Jan 2019 00:00:12 +0000 (00:00 +0000)]
Merge "Add Filtering for snoop logs based on L2CAP and RFCOMM Channels (3/4)"

5 years agoMerge "Fix crash issue when click 'Share' button"
Johnson Lu [Mon, 21 Jan 2019 13:08:28 +0000 (13:08 +0000)]
Merge "Fix crash issue when click 'Share' button"

5 years agoKeyChain: Remove Screenlock dependency
Eran Messeri [Wed, 16 Jan 2019 13:49:04 +0000 (05:49 -0800)]
KeyChain: Remove Screenlock dependency

In coordination with KeyChain changes, stop using FLAG_ENCRYPTED when
importing keys into KeyStore and remove the requirement that a screen
lock is present.

The change to this package removes the checks for KeyStore state and
Keyguard presence. See the KeyChain change for more detailed
explanation.

Test: atest CtsDevicePolicyManagerTestCases:com.android.cts.devicepolicy.MixedProfileOwnerTest#testKeyManagement
Bug: 120901345
Change-Id: I82f1c18e84dd4a63d55017fa4b7be31c45f7ef14

5 years agoFix crash issue when click 'Share' button
Johnson Lu [Mon, 21 Jan 2019 09:30:25 +0000 (17:30 +0800)]
Fix crash issue when click 'Share' button

Hide 'Share' button if access point return null wifi config.

Change-Id: I554ce8c3214c94892d57c213d0588c70aad97439
Fixes: 123172888
Test: robotests

5 years agoMerge "Add a picture for Wi-Fi DPP add device fragment."
TreeHugger Robot [Mon, 21 Jan 2019 04:58:35 +0000 (04:58 +0000)]
Merge "Add a picture for Wi-Fi DPP add device fragment."

5 years agoMerge "[Mac Randomization] Change order of Privacy setting"
TreeHugger Robot [Mon, 21 Jan 2019 04:33:27 +0000 (04:33 +0000)]
Merge "[Mac Randomization] Change order of Privacy setting"

5 years agoMerge "Migrating to new footer button for ChooseLockPattern page"
Pasty Chang [Mon, 21 Jan 2019 03:35:23 +0000 (03:35 +0000)]
Merge "Migrating to new footer button for ChooseLockPattern page"

5 years agoMerge "Check whether the device support DPP for public intent"
TreeHugger Robot [Mon, 21 Jan 2019 03:06:12 +0000 (03:06 +0000)]
Merge "Check whether the device support DPP for public intent"

5 years ago[Mac Randomization] Change order of Privacy setting
cosmohsieh [Fri, 18 Jan 2019 01:22:21 +0000 (09:22 +0800)]
[Mac Randomization] Change order of Privacy setting

For better UX, making the default option 'Use randomized MAC (default)' as the
first option item.

Bug: 123160090
Test: make RunSettingsRoboTests -j32 ROBOTEST_FILTER=com.android.settings.wifi.details
Change-Id: I264756778dd8cafea620a0fcb5f57df91c049259

5 years agoMerge "Night mode wording"
TreeHugger Robot [Mon, 21 Jan 2019 00:16:48 +0000 (00:16 +0000)]
Merge "Night mode wording"

5 years agoAssistant is now set as role.
Philip P. Moltmann [Fri, 18 Jan 2019 16:18:46 +0000 (08:18 -0800)]
Assistant is now set as role.

Hence remove old assitant picker

Bug: 110557011
Test: - Set assitant via Default app settings and via roles UI
      - m -j RunSettingsRoboTests
Change-Id: Id41c5087506ece392ee644a33d1a79b7f9b17ee8

5 years agoNight mode wording
Lucas Dupin [Fri, 18 Jan 2019 00:27:43 +0000 (16:27 -0800)]
Night mode wording

Renaming to 'theme' per UX recomendation

Change-Id: I80817ea3778715c3514205ede738f70d92fa15e9
Fixes: 123042258
Test: manual

5 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Sat, 19 Jan 2019 23:24:19 +0000 (23:24 +0000)]
Merge "Import translations. DO NOT MERGE"

5 years ago[automerger skipped] Import translations. DO NOT MERGE am: e60e0d2291 -s ours
Bill Yi [Sat, 19 Jan 2019 22:50:07 +0000 (14:50 -0800)]
[automerger skipped] Import translations. DO NOT MERGE am: e60e0d2291 -s ours
am: 6aa71b3aef -s ours
am skip reason: subject contains skip directive

Change-Id: I581abc912bee99a4bbf9e93b5c024b1002205537

5 years ago[automerger skipped] Import translations. DO NOT MERGE
Bill Yi [Sat, 19 Jan 2019 22:46:03 +0000 (14:46 -0800)]
[automerger skipped] Import translations. DO NOT MERGE
am: e60e0d2291 -s ours
am skip reason: subject contains skip directive

Change-Id: I27259294f2360a745415605afaf325e37fe8c565

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 19 Jan 2019 19:34:19 +0000 (11:34 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ie074fc1d702ed2775866c82a126bd8efa8b2865b

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 19 Jan 2019 18:21:20 +0000 (10:21 -0800)]
Import translations. DO NOT MERGE

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

5 years agoMerge "Add Notification Channel slice to Contextual Settings Homepage"
Yanting Yang [Sat, 19 Jan 2019 11:36:42 +0000 (11:36 +0000)]
Merge "Add Notification Channel slice to Contextual Settings Homepage"

5 years agoClean up updateState()
wengsu [Sat, 19 Jan 2019 10:01:20 +0000 (18:01 +0800)]
Clean up updateState()

  1. It's to set preference always even no available Bluetooth device.
  2. Remove redundant code in if (numDevices == 0) {...} condition.

Bug: 123000252
Test: make -j56 RunSettingsRoboTests ROBOTEST_FILTER=MediaOutputPreferenceControllerTest
Change-Id: I9061428375f6097fde60498bf19eae2edafa5959

5 years agoAdd Notification Channel slice to Contextual Settings Homepage
Yanting Yang [Fri, 11 Jan 2019 10:35:21 +0000 (18:35 +0800)]
Add Notification Channel slice to Contextual Settings Homepage

Bug: 119831690
Test: visual, robotests
Change-Id: Ia8d020dcdab181497d4ae4bf968ea641b6908622

5 years agoMerge "Add feature provider for aware info."
TreeHugger Robot [Sat, 19 Jan 2019 08:29:56 +0000 (08:29 +0000)]
Merge "Add feature provider for aware info."

5 years agoMerge "Gives unvailable slice of Night Light a customized subtitle"
TreeHugger Robot [Sat, 19 Jan 2019 08:12:55 +0000 (08:12 +0000)]
Merge "Gives unvailable slice of Night Light a customized subtitle"

5 years agoMerge "Add data usage header to mobile network details page"
TreeHugger Robot [Sat, 19 Jan 2019 07:17:33 +0000 (07:17 +0000)]
Merge "Add data usage header to mobile network details page"

5 years agoMerge "Use correct metrics value in MobileNetworkListFragment"
TreeHugger Robot [Sat, 19 Jan 2019 07:08:25 +0000 (07:08 +0000)]
Merge "Use correct metrics value in MobileNetworkListFragment"

5 years agoMerge "Use the accent color for search icon in homepage"
TreeHugger Robot [Sat, 19 Jan 2019 07:04:18 +0000 (07:04 +0000)]
Merge "Use the accent color for search icon in homepage"

5 years agoMerge "Syncs the lock and unlock icons with new AOD's"
TreeHugger Robot [Sat, 19 Jan 2019 06:48:33 +0000 (06:48 +0000)]
Merge "Syncs the lock and unlock icons with new AOD's"

5 years agoMerge "Use new interface for setAppEntity"
TreeHugger Robot [Sat, 19 Jan 2019 05:57:25 +0000 (05:57 +0000)]
Merge "Use new interface for setAppEntity"

5 years agoGives unvailable slice of Night Light a customized subtitle
Console Chen [Fri, 11 Jan 2019 06:50:51 +0000 (14:50 +0800)]
Gives unvailable slice of Night Light a customized subtitle

When a slice depends on some setting and the setting is off,
it shows "depends on another setting".
Base on the new introduced attribute on ag/5843828 , assigns
customized subtitle for showing the unavailabe slice when the
Night Light is off.

Change-Id: I5c3530281fac4ef63caf2d3ac8e2be872d704bcb
Fixes: 118399193
Test: Manual

5 years agoMerge "Update parameter for Easy Connect API in WiFi DPP flow"
TreeHugger Robot [Sat, 19 Jan 2019 04:33:21 +0000 (04:33 +0000)]
Merge "Update parameter for Easy Connect API in WiFi DPP flow"

5 years agoMerge "Create a permission bar chart in Privacy page"
TreeHugger Robot [Sat, 19 Jan 2019 04:28:22 +0000 (04:28 +0000)]
Merge "Create a permission bar chart in Privacy page"

5 years agoMerge changes from topic "settings_westworld"
TreeHugger Robot [Sat, 19 Jan 2019 04:09:50 +0000 (04:09 +0000)]
Merge changes from topic "settings_westworld"

* changes:
  Reset allow background activity to default on
  Migrate all MetricsProto enums to SettingsEnums

5 years agoReset allow background activity to default on
Fan Zhang [Sat, 19 Jan 2019 00:10:20 +0000 (16:10 -0800)]
Reset allow background activity to default on

Change-Id: Ifeda9bb431b8f0c3bbefb41fb13fa70e15952cce
Fixes: 123029532
Test: robotests

5 years agoMerge "Move color transform check to ColorDisplayManager"
Christine Franks [Fri, 18 Jan 2019 23:08:37 +0000 (23:08 +0000)]
Merge "Move color transform check to ColorDisplayManager"

5 years agoAdd feature provider for aware info.
Edgar Wang [Wed, 9 Jan 2019 11:56:42 +0000 (19:56 +0800)]
Add feature provider for aware info.

The feature provider contains API that query aware info.
By default it's false.

Test: make -j RunSettingsRoboTests
Bug: 122574999
Change-Id: I7148258768a4dad1967fd0e0b23b79654e5a3d41

5 years agoUse correct metrics value in MobileNetworkListFragment
Antony Sargent [Fri, 18 Jan 2019 17:36:32 +0000 (09:36 -0800)]
Use correct metrics value in MobileNetworkListFragment

Bug: 116349402
Test: n/a
Change-Id: I01a81be496c296538e3395931a0fed8098f4da99

5 years agoMigrating to new footer button for ChooseLockPattern page
pastychang [Thu, 17 Jan 2019 07:44:08 +0000 (15:44 +0800)]
Migrating to new footer button for ChooseLockPattern page

Bug: 120805516
Test: RunSettingsRoboTests
Change-Id: Ifeaf402548146fca9f5fd5dfe0d976d38246b7e9

5 years agoAdd data usage header to mobile network details page
Antony Sargent [Thu, 17 Jan 2019 20:59:30 +0000 (12:59 -0800)]
Add data usage header to mobile network details page

As a part of the work for subscriptions UI improvements, we want to show
data usage information at the top of the mobile network details page,
and those details need to be specific to the particular subscription
we're showing details for, even if that SIM isn't the current default
one. This is useful for seeing data usage across your SIMs in dual-SIM
devices.

This CL adapts our already existing DataUsageSummaryPreferenceController
class so that if can be used on any fragment instead of just the
DataUsageSummary one, and changes it to take an explicit subscription
id instead of assuming it should use the default one.

Bug: 122670283
Test: make RunSettingsRoboTests
Change-Id: I41e307b0f32580c73b08adec7cabf01c96d7e835

5 years ago[automerger skipped] Merge "Add Dynamic tiles" am: 15bf05f6fd am: 0d8ea3bfce
Fan Zhang [Fri, 18 Jan 2019 01:40:17 +0000 (17:40 -0800)]
[automerger skipped] Merge "Add Dynamic tiles" am: 15bf05f6fd am: 0d8ea3bfce
am: 3de14ebfa2 -s ours
am skip reason: change_id I3cdad9b6ceeba0df3e0e9db4607daffcc5cbdc8b with SHA1 a3a24be224 is in history

Change-Id: I2fe793b11c5a2e41c7c02dd1b5afadf0fafdf31d

5 years agoMerge "Add Dynamic tiles" am: 15bf05f6fd
Fan Zhang [Fri, 18 Jan 2019 01:26:39 +0000 (17:26 -0800)]
Merge "Add Dynamic tiles" am: 15bf05f6fd
am: 0d8ea3bfce

Change-Id: I081d9ce4018e6fb7d899655ddeb96c5a9c3eb649

5 years agoMerge "Add Dynamic tiles"
Fan Zhang [Fri, 18 Jan 2019 01:08:14 +0000 (17:08 -0800)]
Merge "Add Dynamic tiles"
am: 15bf05f6fd

Change-Id: I0998725bc59e1d4f9b8afff388c2a9a3c680423c

5 years agoMerge "Add Dynamic tiles"
Fan Zhang [Fri, 18 Jan 2019 00:47:52 +0000 (00:47 +0000)]
Merge "Add Dynamic tiles"

5 years agoUse the accent color for search icon in homepage
Sunny Shao [Thu, 17 Jan 2019 09:41:05 +0000 (17:41 +0800)]
Use the accent color for search icon in homepage

Add the ic_homepage_search.xml and use the accent color

Bug: 122924929
Test: manual view
Change-Id: I0ed9d2261da776f7c04bd576fd1af612c47d85db