OSDN Git Service

android-x86/packages-apps-Settings.git
7 years agoMerge "Update the music files icon." into oc-dev
Daniel Nishi [Fri, 9 Jun 2017 00:19:03 +0000 (00:19 +0000)]
Merge "Update the music files icon." into oc-dev
am: 47c6afde7f

Change-Id: I78e6e1a16e25aff0e0374f5910fcbba0624f712b

7 years agoMerge "Update the music files icon." into oc-dev
TreeHugger Robot [Fri, 9 Jun 2017 00:13:18 +0000 (00:13 +0000)]
Merge "Update the music files icon." into oc-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 8 Jun 2017 22:48:47 +0000 (22:48 +0000)]
Import translations. DO NOT MERGE
am: 29a7bce4e5  -s ours

Change-Id: Iaec93787ba7a7e2eb885893842cea02932e16abe

7 years agoUpdate the music files icon.
Daniel Nishi [Mon, 5 Jun 2017 21:35:29 +0000 (14:35 -0700)]
Update the music files icon.

Change-Id: Id1c933e395131ca6e9e9268d7c42f7324aa6fdac
Fixes: 62291640
Test: Manual

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 8 Jun 2017 14:59:38 +0000 (07:59 -0700)]
Import translations. DO NOT MERGE

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

7 years agoMerge "Add keys to all Preferences on the Managed device info page" into oc-dev
Bartosz Fabianowski [Thu, 8 Jun 2017 05:55:40 +0000 (05:55 +0000)]
Merge "Add keys to all Preferences on the Managed device info page" into oc-dev
am: 9e94d80fa5

Change-Id: Ic9c510dac141664020567877d501da6289b633b4

7 years agoMerge "Add keys to all Preferences on the Managed device info page" into oc-dev
TreeHugger Robot [Thu, 8 Jun 2017 05:51:14 +0000 (05:51 +0000)]
Merge "Add keys to all Preferences on the Managed device info page" into oc-dev

7 years agoMerge "Use default package in BatteryEntry" into oc-dev
jackqdyulei [Thu, 8 Jun 2017 02:13:24 +0000 (02:13 +0000)]
Merge "Use default package in BatteryEntry" into oc-dev
am: f5f51c4cf2

Change-Id: Ifd36cd50e2f4528dae247e99aafb5e93d916351e

7 years agoMerge "Use default package in BatteryEntry" into oc-dev
TreeHugger Robot [Thu, 8 Jun 2017 02:10:28 +0000 (02:10 +0000)]
Merge "Use default package in BatteryEntry" into oc-dev

7 years agoMerge "Hide Display Theme from search results when not available" into oc-dev
Matthew Fritze [Wed, 7 Jun 2017 20:46:56 +0000 (20:46 +0000)]
Merge "Hide Display Theme from search results when not available" into oc-dev
am: 9f2f9e331f

Change-Id: Ie3fe1e8a7d2ac0c4045209403966dd80b7c4b5fa

7 years agoMerge "Hide Display Theme from search results when not available" into oc-dev
TreeHugger Robot [Wed, 7 Jun 2017 20:39:36 +0000 (20:39 +0000)]
Merge "Hide Display Theme from search results when not available" into oc-dev

7 years agoUse default package in BatteryEntry
jackqdyulei [Wed, 7 Jun 2017 20:20:47 +0000 (13:20 -0700)]
Use default package in BatteryEntry

Before this cl, we use the first package name if there is a name
list in BatterySipper.

We should use BatteryEntry.defaultPackageName instead, which could
describle the batterysipper more accurately.

Bug: 62417935
Test: RunSettingsRoboTests
Change-Id: I44fa151c0cf8f14cba305f179c7e94e5bc3ce434

7 years agoHide Display Theme from search results when not available
Matthew Fritze [Wed, 7 Jun 2017 15:59:30 +0000 (08:59 -0700)]
Hide Display Theme from search results when not available

Test: make RunSettingsRoboTests
Fixes: 62377986
Change-Id: I5d0737034ef3f845e790934465b65a5415654822

7 years agoAdd keys to all Preferences on the Managed device info page
Bartosz Fabianowski [Tue, 6 Jun 2017 15:33:30 +0000 (17:33 +0200)]
Add keys to all Preferences on the Managed device info page

In order to be able to hide the page from search results, all Preferences
(and PreferenceCategories) must have android:keys.

Bug: 62285529
Test: The Settings framework will have a test that ensure each Preference
Test: has a key from O-DR onward

Change-Id: I1e41ce6f8b9f90155ef92354b9268e9e720e1e73

7 years agoMerge "Use the standard place holder for the security summary. DO NOT MERGE" into...
William Luh [Tue, 6 Jun 2017 23:57:31 +0000 (23:57 +0000)]
Merge "Use the standard place holder for the security summary. DO NOT MERGE" into oc-dev
am: f702e39156

Change-Id: I3e45e09f609428bd7abe46629d68adf54c5b357b

7 years agoMerge "If two groups are posted to settings, remove old group and log." into oc-dev
Alison Cichowlas [Tue, 6 Jun 2017 23:57:05 +0000 (23:57 +0000)]
Merge "If two groups are posted to settings, remove old group and log." into oc-dev
am: 9fa5e66a66

Change-Id: Iafb44eeb33fc626633ed885a2a18ed1cbe95ee48

7 years agoMerge "Make icons colorful for Security settings." into oc-dev
William Luh [Tue, 6 Jun 2017 23:56:36 +0000 (23:56 +0000)]
Merge "Make icons colorful for Security settings." into oc-dev
am: 9f7e705426

Change-Id: I397599ce60a3a334aae17ad77dfa94c4e7b24398

7 years agoMerge "Use the standard place holder for the security summary. DO NOT MERGE" into...
TreeHugger Robot [Tue, 6 Jun 2017 23:52:47 +0000 (23:52 +0000)]
Merge "Use the standard place holder for the security summary. DO NOT MERGE" into oc-dev

7 years agoMerge "If two groups are posted to settings, remove old group and log." into oc-dev
TreeHugger Robot [Tue, 6 Jun 2017 23:34:42 +0000 (23:34 +0000)]
Merge "If two groups are posted to settings, remove old group and log." into oc-dev

7 years agoMerge "Make icons colorful for Security settings." into oc-dev
TreeHugger Robot [Tue, 6 Jun 2017 23:31:07 +0000 (23:31 +0000)]
Merge "Make icons colorful for Security settings." into oc-dev

7 years agoMerge "Wifi details: minor ordering fixes." into oc-dev
Lorenzo Colitti [Tue, 6 Jun 2017 22:35:42 +0000 (22:35 +0000)]
Merge "Wifi details: minor ordering fixes." into oc-dev
am: 85395155fb

Change-Id: Iae57ad27902d3dcb5406007ddc21bb03545bfcea

7 years agoMerge "Wifi details: minor ordering fixes." into oc-dev
Lorenzo Colitti [Tue, 6 Jun 2017 22:24:42 +0000 (22:24 +0000)]
Merge "Wifi details: minor ordering fixes." into oc-dev

7 years agoMake icons colorful for Security settings.
William Luh [Tue, 6 Jun 2017 17:27:26 +0000 (10:27 -0700)]
Make icons colorful for Security settings.

Bug:37997112
Test: make RunSettingsRoboTests
Change-Id: I287b5321cab0d4432fae61cf5565251180f37f5f

7 years agoIf two groups are posted to settings, remove old group and log.
Alison Cichowlas [Tue, 6 Jun 2017 19:06:14 +0000 (15:06 -0400)]
If two groups are posted to settings, remove old group and log.

Bug: 62136650
Test: manual: set debugger in asynctask at line 110 to force
race condition, triggered task twice then released both.
also ran existing tests with no new failures.
Change-Id: I8508fe9f191ca6cd0bb6dfbc62d884420d3fd747

7 years agoMerge "NFC: Reset Tap&pay summary text if default payment is not set" am: e990bf3041...
Hiroki Yamamoto [Tue, 6 Jun 2017 19:34:49 +0000 (19:34 +0000)]
Merge "NFC: Reset Tap&pay summary text if default payment is not set" am: e990bf3041 am: 56a8267f59
am: 77452b8a57

Change-Id: I19237cb1f24dc1f0b127b2bd2476ee1f3a28b0bb

7 years agoMerge "NFC: Reset Tap&pay summary text if default payment is not set" am: e990bf3041
Hiroki Yamamoto [Tue, 6 Jun 2017 19:28:41 +0000 (19:28 +0000)]
Merge "NFC: Reset Tap&pay summary text if default payment is not set" am: e990bf3041
am: 56a8267f59

Change-Id: Idca7ade0068f390289c7c13d1765fead6e0e1d35

7 years agoMerge "NFC: Reset Tap&pay summary text if default payment is not set"
Hiroki Yamamoto [Tue, 6 Jun 2017 19:22:09 +0000 (19:22 +0000)]
Merge "NFC: Reset Tap&pay summary text if default payment is not set"
am: e990bf3041

Change-Id: I2b2978a82a9dbee948b4e50f2b85978b9ddb58e5

7 years agoMerge "NFC: Reset Tap&pay summary text if default payment is not set"
Treehugger Robot [Tue, 6 Jun 2017 19:12:53 +0000 (19:12 +0000)]
Merge "NFC: Reset Tap&pay summary text if default payment is not set"

7 years agoMerge "Revert "Initial search bar implementation."" into oc-dev
Andrew Sapperstein [Tue, 6 Jun 2017 19:10:43 +0000 (19:10 +0000)]
Merge "Revert "Initial search bar implementation."" into oc-dev
am: dfc1983601

Change-Id: I6c143b18b53857accac23d7c64f807c6987609a5

7 years agoMerge "Revert "Initial search bar implementation."" into oc-dev
TreeHugger Robot [Tue, 6 Jun 2017 19:04:25 +0000 (19:04 +0000)]
Merge "Revert "Initial search bar implementation."" into oc-dev

7 years agoMerge "Check for dynamic summaries at display time for search" into oc-dev
Matthew Fritze [Tue, 6 Jun 2017 19:00:29 +0000 (19:00 +0000)]
Merge "Check for dynamic summaries at display time for search" into oc-dev
am: 2046c59b77

Change-Id: I549f1aa455ffbff0119dd00ef782710992100cce

7 years agoMerge "Revert "Add search bar to SearchActivity."" into oc-dev
Andrew Sapperstein [Tue, 6 Jun 2017 19:00:04 +0000 (19:00 +0000)]
Merge "Revert "Add search bar to SearchActivity."" into oc-dev
am: 37f87b6c64

Change-Id: Icbdb586e3e1a35c004298f50a57812e50ee73eea

7 years agoMerge "Check for dynamic summaries at display time for search" into oc-dev
TreeHugger Robot [Tue, 6 Jun 2017 18:52:30 +0000 (18:52 +0000)]
Merge "Check for dynamic summaries at display time for search" into oc-dev

7 years agoMerge "Revert "Add search bar to SearchActivity."" into oc-dev
TreeHugger Robot [Tue, 6 Jun 2017 18:42:24 +0000 (18:42 +0000)]
Merge "Revert "Add search bar to SearchActivity."" into oc-dev

7 years agoUse the standard place holder for the security summary. DO NOT MERGE
William Luh [Fri, 26 May 2017 23:10:51 +0000 (16:10 -0700)]
Use the standard place holder for the security summary. DO NOT MERGE

This removes the jitter when the cache is empty and there is
initially no summary, and then it is replaced by the fetched summary
when it's available.

Bug:36463348
Test: make RunSettingsRoboTests
Change-Id: I92cafbf23e3c562a470488dea28fd5106bbdf885

7 years agoMerge "Revert "Revert "Revert "Replace dynamic summary text for SettingPref"""" into...
Matthew Fritze [Tue, 6 Jun 2017 17:58:30 +0000 (17:58 +0000)]
Merge "Revert "Revert "Revert "Replace dynamic summary text for SettingPref"""" into oc-dev
am: b8028f63ec

Change-Id: I47066c45b6ee286a2f1eac5ba1d57a5de058652c

7 years agoMerge "Revert "Revert "Revert "Replace dynamic summary text for SettingPref"""" into...
TreeHugger Robot [Tue, 6 Jun 2017 17:44:21 +0000 (17:44 +0000)]
Merge "Revert "Revert "Revert "Replace dynamic summary text for SettingPref"""" into oc-dev

7 years agoMerge "Band aid to fix overly long text in donut." into oc-dev
Daniel Nishi [Tue, 6 Jun 2017 17:40:04 +0000 (17:40 +0000)]
Merge "Band aid to fix overly long text in donut." into oc-dev
am: b5abb2c1d2

Change-Id: I8bd8b052cd8c437dd858a459c8098e39878b4b50

7 years agoMerge "Update the no-results icon in settings search" into oc-dev
Matthew Fritze [Tue, 6 Jun 2017 17:34:31 +0000 (17:34 +0000)]
Merge "Update the no-results icon in settings search" into oc-dev
am: 02e360dbc9

Change-Id: Ic77a5d965bfb882d128182f3eaff5e0c857dd500

7 years agoMerge "Band aid to fix overly long text in donut." into oc-dev
Daniel Nishi [Tue, 6 Jun 2017 17:33:55 +0000 (17:33 +0000)]
Merge "Band aid to fix overly long text in donut." into oc-dev

7 years agoRevert "Initial search bar implementation."
Andrew Sapperstein [Tue, 6 Jun 2017 16:33:27 +0000 (16:33 +0000)]
Revert "Initial search bar implementation."

This reverts commit 14934599dd6008a79c5e0d67f1df9ba5886c5198.

Bug: 37477506
Change-Id: I510b9a71dd3f19a3d2194da1f4d8f8060d0a4935
Merged-In: Id7477b90fbaf30eb5cac1ee244c847bddb95b3fd

7 years agoRevert "Add search bar to SearchActivity."
Andrew Sapperstein [Tue, 6 Jun 2017 16:33:13 +0000 (16:33 +0000)]
Revert "Add search bar to SearchActivity."

This reverts commit fac61b71e5b32bf8cd464049c2750a18911b75b2.

Bug: 37477506
Change-Id: I1ee66999fbb28b03feb5a51c7146f31a71c1252a
Merged-In: I4a0f0c91c51ff5820b61a596520d80a3337c3466

7 years agoMerge "Update the no-results icon in settings search" into oc-dev
TreeHugger Robot [Tue, 6 Jun 2017 17:25:56 +0000 (17:25 +0000)]
Merge "Update the no-results icon in settings search" into oc-dev

7 years agoRevert "Revert "Revert "Replace dynamic summary text for SettingPref"""
Matthew Fritze [Tue, 6 Jun 2017 01:02:19 +0000 (01:02 +0000)]
Revert "Revert "Revert "Replace dynamic summary text for SettingPref"""

This reverts commit c1e9f8787f02df0d38a9d4e93f7996318fc46355.

Reason for revert: There is an issue when dropdown menu text has a '%' sign in it.
Despite testing it on my own devices, the bug did not show up immediately.

Instead of continuing down this path for OC, we'll just revert
this patch, and then as an ugly, band-aid solution, check the
summary text for the "%s" substring, and hide it when found.
In O-DR onward, we'll look for a more permanent solution.

Change-Id: Ia7a04bfb7b09c436dc0f13564f2134a1f0c436e2
Bug: 36101902
Fix: 62211676

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
Bill Yi [Tue, 6 Jun 2017 16:28:22 +0000 (16:28 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am: 11465af11e  -s ours

Change-Id: I398b4773e26cb34a1ce6304d91b52df32a11e821

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Tue, 6 Jun 2017 16:17:42 +0000 (16:17 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoCheck for dynamic summaries at display time for search
Matthew Fritze [Tue, 6 Jun 2017 02:08:14 +0000 (19:08 -0700)]
Check for dynamic summaries at display time for search

In order to hide dynamic summaries which use SettingPref,
we check if the summary is equal to "%s".

This is a temporary, band-aid fix which should be
changed in the next release.

Bug: 36101902
Test: make RunSettingsRoboTests
Change-Id: I6cadb3ba68f09ba18ad9a6d2a817804c5d4a08e5

7 years agoNFC: Reset Tap&pay summary text if default payment is not set
Hiroki Yamamoto [Tue, 6 Jun 2017 11:05:00 +0000 (20:05 +0900)]
NFC: Reset Tap&pay summary text if default payment is not set

Reset Tap&pay summary text even default payment is null
to show the correct status that is no payment service.

Test: manual
Bug: 62366917
Change-Id: Ida9cf0b205e56163505862498b1ac4d679c2c92a

7 years agoMerge "Revert "Remove dynamic summary from Security Patch info"" into oc-dev
Salvador Martinez [Tue, 6 Jun 2017 04:35:19 +0000 (04:35 +0000)]
Merge "Revert "Remove dynamic summary from Security Patch info"" into oc-dev
am: a8e887be86

Change-Id: I561cd90ba74a551a44d43a04a1b567efc74e4863

7 years agoMerge "Revert "Remove dynamic summary from Security Patch info"" into oc-dev
Salvador Martinez [Tue, 6 Jun 2017 04:29:31 +0000 (04:29 +0000)]
Merge "Revert "Remove dynamic summary from Security Patch info"" into oc-dev

7 years agoRevert "Remove dynamic summary from Security Patch info"
Fan Zhang [Tue, 6 Jun 2017 04:07:52 +0000 (04:07 +0000)]
Revert "Remove dynamic summary from Security Patch info"

The change breaks build

Fix: 62359766
Bug: 36101902

This reverts commit 2b562f84b6c317711fdb70db5b4d3cb9953ed536.

Change-Id: Ie712d471f1fa9858b65fd1c0b111405dfb49eb38

7 years agoWifi details: minor ordering fixes.
Lorenzo Colitti [Sun, 4 Jun 2017 14:15:40 +0000 (23:15 +0900)]
Wifi details: minor ordering fixes.

1. Set mNetwork before the NetworkCallbacks can be delivered.
   Previously, the code would set mNetwork in updateInfo, relying
   on the fact that the BroadcastReceiver registered in onResume
   is immediately invoked. However, this races with the
   callbacks, which are also immediately invoked. If the
   callbacks won the race, mNetwork would not be set and they
   would be ignored.

2. Call updateInfo in onResume instead of in displayPreference.
   This ensures that it's always called exactly once before the
   activity starts running, regardless of whether it's being
   displayed the first time (i.e., after onStart) or resumed
   by switching from another app. displayPreference is only
   called in the former case.

3. Don't call getLinkProperties and getNetworkCapabilities in
   updateInfo. These calls are superfluous, because this
   information is update by the NetworkCallbacks, and they can
   cause jank because updateInfo is called on the UI thread.

This requires that the tests be changed so they always call
onResume, since no UI elements are populated until onResume is
called.

Bug: 62209358
Test: make -j64 RunSettingsRoboTests
Change-Id: Iccb1b9ae51188755d890a6df83004dbe9bec565e

7 years agoMerge "Make footer preferences non-clickable by default" into oc-dev
jackqdyulei [Tue, 6 Jun 2017 02:05:09 +0000 (02:05 +0000)]
Merge "Make footer preferences non-clickable by default" into oc-dev
am: 8fbb0bc1f2

Change-Id: Idd493f97773816dc4cc1c759bc5465a2b7f4b04f

7 years agoMerge "Make footer preferences non-clickable by default" into oc-dev
TreeHugger Robot [Tue, 6 Jun 2017 01:53:58 +0000 (01:53 +0000)]
Merge "Make footer preferences non-clickable by default" into oc-dev

7 years agoMerge changes I23540440,I67269e1a into oc-dev
Lorenzo Colitti [Tue, 6 Jun 2017 01:27:32 +0000 (01:27 +0000)]
Merge changes I23540440,I67269e1a into oc-dev
am: 4249a7092b

Change-Id: Ic8383cce733c5767b133af0e9f85e213e0c36018

7 years agoMerge changes I23540440,I67269e1a into oc-dev
Lorenzo Colitti [Tue, 6 Jun 2017 01:22:07 +0000 (01:22 +0000)]
Merge changes I23540440,I67269e1a into oc-dev

* changes:
  When validation state changes, update the AP summary.
  Minor tweaks to WifiDetailPreferenceControllerTest.

7 years agoMerge "Also update flip camera settings for managed profile." into oc-dev
Doris Ling [Tue, 6 Jun 2017 01:15:51 +0000 (01:15 +0000)]
Merge "Also update flip camera settings for managed profile." into oc-dev
am: 051a83d909

Change-Id: I4ba1750948815233ef6a963ddde1ca0bd33bcdec

7 years agoRemove call to WifiManager.setWifiApEnabled().
Doris Ling [Tue, 6 Jun 2017 01:15:10 +0000 (01:15 +0000)]
Remove call to WifiManager.setWifiApEnabled().
am: f38ed2fbb2

Change-Id: I255679d0eaeaa94d2ac6e5caddf4c6f5a5581bc1

7 years agoMerge "Also update flip camera settings for managed profile." into oc-dev
TreeHugger Robot [Tue, 6 Jun 2017 01:12:28 +0000 (01:12 +0000)]
Merge "Also update flip camera settings for managed profile." into oc-dev

7 years agoUpdate the no-results icon in settings search
Matthew Fritze [Tue, 6 Jun 2017 00:53:14 +0000 (17:53 -0700)]
Update the no-results icon in settings search

Bug: 36597112
Test: Open settings, search for 'battle toads', and see the no results icon
Change-Id: I7196114ecaf733747237202d30dd1b47ad37d97e

7 years agoAlso update flip camera settings for managed profile.
Doris Ling [Mon, 5 Jun 2017 21:48:44 +0000 (14:48 -0700)]
Also update flip camera settings for managed profile.

When user update the setting for flip camera, check if there is managed
profile for the user, and update the setting for the managed user id as
well, so that the work profile camera app can read the correct setting
value.

Change-Id: I757041289329870311bc8473b19fd49ecdd0fadb
Fix: 62078588
Test: make RunSettingsRoboTests

7 years agoRemove call to WifiManager.setWifiApEnabled().
Doris Ling [Fri, 2 Jun 2017 00:06:40 +0000 (17:06 -0700)]
Remove call to WifiManager.setWifiApEnabled().

- replace it with ConnectivityManager.stopTethering() instead.

Change-Id: I112863b1be37c0fef5d59c16d73f0c6cf71c6dea
Fix: 62191978
Test: make RunSettingsRoboTests

7 years agoBand aid to fix overly long text in donut.
Daniel Nishi [Wed, 24 May 2017 23:25:08 +0000 (16:25 -0700)]
Band aid to fix overly long text in donut.

In the Storage Settings, if the text is too long, it will overlap with
the donut. After discussing with UX, we've opted to shrink the text in
the extenuating circumstances. This is because this text is more of a
helper and the full information is on the left.

Bug: 38030457
Test: Manual with Telugu
Change-Id: I18bcaaae74d049c42eaff50868d3861ae258839d

7 years agoMake footer preferences non-clickable by default
jackqdyulei [Mon, 5 Jun 2017 17:44:34 +0000 (10:44 -0700)]
Make footer preferences non-clickable by default

cherry-picked from ag/2301717

Both the footer preference and the TextView they contain
were clickable, which confused some accessibility services.

Bug: 62050563
Test: Verified that switch access no longer offers users
the option of clicking on the footer for accessibility
services and Magnification as well as in the Battery
settings screen.

Change-Id: I5cb13d6268466c690dd38f2b652422d2c3d813b4
Merged-In: I937340fda93f6a8097919e1f86d5d890487370bc

7 years agoWhen validation state changes, update the AP summary.
Lorenzo Colitti [Fri, 2 Jun 2017 09:00:40 +0000 (18:00 +0900)]
When validation state changes, update the AP summary.

This stops the AP summary from getting stuck on "Connected, no
Internet" even when the system has validated Internet access.

Bug: 62209358
Test: make -j64 RunSettingsRoboTests
Change-Id: I235404408f7d8b958653d25656d97da8206e35ce

7 years agoMerge "ConditionManager: don't crash when trying to add unexpected condition" am...
Thecrazyskull [Sun, 4 Jun 2017 00:04:25 +0000 (00:04 +0000)]
Merge "ConditionManager: don't crash when trying to add unexpected condition" am: 46f7199cb1 am: 6270dce2cd
am: 7151be926d

Change-Id: I16805427f0d053c6d1c5975275f00cb0ed1c9cbb

7 years agoMerge "ConditionManager: don't crash when trying to add unexpected condition" am...
Thecrazyskull [Sun, 4 Jun 2017 00:00:25 +0000 (00:00 +0000)]
Merge "ConditionManager: don't crash when trying to add unexpected condition" am: 46f7199cb1
am: 6270dce2cd

Change-Id: Ie8ce734935d9950c515675710772aa5f3c80c988

7 years agoMerge "ConditionManager: don't crash when trying to add unexpected condition"
Thecrazyskull [Sat, 3 Jun 2017 23:55:52 +0000 (23:55 +0000)]
Merge "ConditionManager: don't crash when trying to add unexpected condition"
am: 46f7199cb1

Change-Id: Ifd9394c6da48a88ddb6f59ead3db1c93519a70ac

7 years agoMerge "ConditionManager: don't crash when trying to add unexpected condition"
Treehugger Robot [Sat, 3 Jun 2017 23:49:37 +0000 (23:49 +0000)]
Merge "ConditionManager: don't crash when trying to add unexpected condition"

7 years agoMerge "Sometime, Settings app crash when AllowBindAppWidgetActivity closing" am:...
Mikhail Malakhov [Sat, 3 Jun 2017 22:24:50 +0000 (22:24 +0000)]
Merge "Sometime, Settings app crash when AllowBindAppWidgetActivity closing" am: c7697e9b8a am: 933cdd5503
am: 0730393097

Change-Id: Ia65d7c966350dac44a1d15a5781d051df8d464cd

7 years agoMerge "Sometime, Settings app crash when AllowBindAppWidgetActivity closing" am:...
Mikhail Malakhov [Sat, 3 Jun 2017 22:20:48 +0000 (22:20 +0000)]
Merge "Sometime, Settings app crash when AllowBindAppWidgetActivity closing" am: c7697e9b8a
am: 933cdd5503

Change-Id: I0fbdadf1b42543936f3ed657b52da23978a0fe16

7 years agoMerge "Sometime, Settings app crash when AllowBindAppWidgetActivity closing"
Mikhail Malakhov [Sat, 3 Jun 2017 22:16:48 +0000 (22:16 +0000)]
Merge "Sometime, Settings app crash when AllowBindAppWidgetActivity closing"
am: c7697e9b8a

Change-Id: Ic9bdabec50ba8b72656c0d5fc0b56551ad3a46cb

7 years agoMerge "Sometime, Settings app crash when AllowBindAppWidgetActivity closing"
Treehugger Robot [Sat, 3 Jun 2017 22:11:11 +0000 (22:11 +0000)]
Merge "Sometime, Settings app crash when AllowBindAppWidgetActivity closing"

7 years agoMerge "Move strings to SettingsLib so TV can use them" into oc-dev
Tony Mantler [Sat, 3 Jun 2017 22:00:17 +0000 (22:00 +0000)]
Merge "Move strings to SettingsLib so TV can use them" into oc-dev
am: 685041559a

Change-Id: I9ff3757e28b82caac7d83394f3734eee040a7b00

7 years agoMerge "Move strings to SettingsLib so TV can use them" into oc-dev
TreeHugger Robot [Sat, 3 Jun 2017 21:40:51 +0000 (21:40 +0000)]
Merge "Move strings to SettingsLib so TV can use them" into oc-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 3 Jun 2017 18:42:52 +0000 (11:42 -0700)]
Import translations. DO NOT MERGE

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

7 years agoConditionManager: don't crash when trying to add unexpected condition
Thecrazyskull [Thu, 2 Mar 2017 19:55:59 +0000 (14:55 -0500)]
ConditionManager: don't crash when trying to add unexpected condition

* Instead, just don't add the unexpected condition

Test: none

Change-Id: Id768d54e90fac6cbbfdca514e769cb3b331fbc46

7 years agoMove strings to SettingsLib so TV can use them
Tony Mantler [Fri, 26 May 2017 20:34:14 +0000 (13:34 -0700)]
Move strings to SettingsLib so TV can use them

Bug: 38496265
Test: Compiles
Change-Id: Iea90cbcf858cd598af4adc017e673e299a62ed39
Merged-In: Iea90cbcf858cd598af4adc017e673e299a62ed39

7 years agoMerge "wifi: use WifiSavedConfigUtils to retrieve saved configurations" into oc-dev
Peter Qiu [Fri, 2 Jun 2017 20:38:58 +0000 (20:38 +0000)]
Merge "wifi: use WifiSavedConfigUtils to retrieve saved configurations" into oc-dev
am: 7eeca4b052

Change-Id: I5a8daed2e821623aaa953ccf256808776f7febdd

7 years agoMerge "wifi: use WifiSavedConfigUtils to retrieve saved configurations" into oc-dev
TreeHugger Robot [Fri, 2 Jun 2017 20:25:12 +0000 (20:25 +0000)]
Merge "wifi: use WifiSavedConfigUtils to retrieve saved configurations" into oc-dev

7 years agoMerge "Restart loader in onResume" into oc-dev
Lei Yu [Fri, 2 Jun 2017 19:29:09 +0000 (19:29 +0000)]
Merge "Restart loader in onResume" into oc-dev
am: 74ca6aa060

Change-Id: I4cc76a8eeee55335bd6a4ab7d6870084ec609f9b

7 years agoMerge "Restart loader in onResume" into oc-dev
Lei Yu [Fri, 2 Jun 2017 19:21:27 +0000 (19:21 +0000)]
Merge "Restart loader in onResume" into oc-dev

7 years agoMerge "Delay adding app settings link until data fetch returns, to avoid reordering...
Alison Cichowlas [Fri, 2 Jun 2017 18:49:29 +0000 (18:49 +0000)]
Merge "Delay adding app settings link until data fetch returns, to avoid reordering/visible misplaced "additional settings in the app" during transition." into oc-dev
am: e811873b4e

Change-Id: Ia4def66e47faf702c22a4e3aba04d52965052aa8

7 years agoMerge "Delay adding app settings link until data fetch returns, to avoid reordering...
TreeHugger Robot [Fri, 2 Jun 2017 18:42:24 +0000 (18:42 +0000)]
Merge "Delay adding app settings link until data fetch returns, to avoid reordering/visible misplaced "additional settings in the app" during transition." into oc-dev

7 years agoRestart loader in onResume
jackqdyulei [Thu, 1 Jun 2017 01:03:09 +0000 (18:03 -0700)]
Restart loader in onResume

We need to refresh batterystatsHelper in onResume, so we need to
call restartLoader instead of initLoader

Bug: 62237848
Test: RunSettingsRoboTests
Change-Id: I6f7e1b57b945c92d34587ca24db192600e7f797f
Merged-In: I6f7e1b57b945c92d34587ca24db192600e7f797f

7 years agowifi: use WifiSavedConfigUtils to retrieve saved configurations
Peter Qiu [Wed, 31 May 2017 17:19:42 +0000 (10:19 -0700)]
wifi: use WifiSavedConfigUtils to retrieve saved configurations

Bug: 62048284
Test: manual test
Change-Id: Ib1719af1b256020bbf57d07ebe8c29ac1c460c1a

7 years agoMerge "Refine the ProgressCategory" into oc-dev
Lei Yu [Fri, 2 Jun 2017 17:13:55 +0000 (17:13 +0000)]
Merge "Refine the ProgressCategory" into oc-dev
am: 5f4f1b81af

Change-Id: I2b0fda608b8fe33eaa8ba6e7580c3becc1ebad71

7 years agoMerge "Refine the ProgressCategory" into oc-dev
Lei Yu [Fri, 2 Jun 2017 17:08:43 +0000 (17:08 +0000)]
Merge "Refine the ProgressCategory" into oc-dev

7 years agoMerge "Disallow buzz/beep/disturb changes for notifications with locked importance...
Alison Cichowlas [Fri, 2 Jun 2017 16:56:59 +0000 (16:56 +0000)]
Merge "Disallow buzz/beep/disturb changes for notifications with locked importance." into oc-dev
am: 3efc502840

Change-Id: Ib9006beaec685ef91583278585c9522f995d3c09

7 years agoMerge "Disallow buzz/beep/disturb changes for notifications with locked importance...
TreeHugger Robot [Fri, 2 Jun 2017 16:46:51 +0000 (16:46 +0000)]
Merge "Disallow buzz/beep/disturb changes for notifications with locked importance." into oc-dev

7 years agoMerge "Add group name into channel summary, if applicable." into oc-dev
Alison Cichowlas [Fri, 2 Jun 2017 15:48:25 +0000 (15:48 +0000)]
Merge "Add group name into channel summary, if applicable." into oc-dev
am: 4b29f593f0

Change-Id: Ia4c0c9a506894033471b563f89e02a35cbf25601

7 years agoMerge "Add group name into channel summary, if applicable." into oc-dev
Alison Cichowlas [Fri, 2 Jun 2017 15:39:44 +0000 (15:39 +0000)]
Merge "Add group name into channel summary, if applicable." into oc-dev

7 years agoHide "Changes made by your organization's admin" when empty
Bartosz Fabianowski [Fri, 2 Jun 2017 13:30:12 +0000 (13:30 +0000)]
Hide "Changes made by your organization's admin" when empty
am: 493495452a

Change-Id: Ided6278456fe5ffdbb843717a1ec7070e7a3d3dc

7 years agoHide "Changes made by your organization's admin" when empty
Bartosz Fabianowski [Thu, 18 May 2017 09:46:38 +0000 (11:46 +0200)]
Hide "Changes made by your organization's admin" when empty

The admin of a manged device can take a number actions that will be
listed in the "Changes made by your organization's admin" section of
Settings. If the admin has not taken any such actions, the section
will be empty and should be hidden. This is accomplished by having a
PreferenceController for the section that observes the state of the
PreferenceControllers inside it.

Bug: 35912953
Test: m RunSettingsRoboTests

Merged-in: Ia95754493ee6c5a19b4aa9731fd56fd558e61849

Change-Id: I82ca00b757001390f9a517b0c07057bdc49dab20

7 years agoMinor tweaks to WifiDetailPreferenceControllerTest.
Lorenzo Colitti [Fri, 2 Jun 2017 08:55:55 +0000 (17:55 +0900)]
Minor tweaks to WifiDetailPreferenceControllerTest.

Add makeNetworkCapabilities and updateNetworkCapabilities
methods, and use them. These are not very useful in the current
code but we introduce in their own CL to limit test changes in an
upcoming CL that will make use them to test new code.

Bug: 62209358
Test: make -j64 RunSettingsRoboTests
Change-Id: I67269e1add40ecb3c2b693548e8bf29ae776a79f

7 years agoMerge "Include disabled managed profiles in Accounts page" into oc-dev
Esteban Talavera [Fri, 2 Jun 2017 08:38:51 +0000 (08:38 +0000)]
Merge "Include disabled managed profiles in Accounts page" into oc-dev
am: 92f78354f9

Change-Id: I3dc5fd6bb4c7466b204946db179b10d9a3c9ccdf

7 years agoMerge "Include disabled managed profiles in Accounts page" into oc-dev
Esteban Talavera [Fri, 2 Jun 2017 08:33:16 +0000 (08:33 +0000)]
Merge "Include disabled managed profiles in Accounts page" into oc-dev

7 years agoMerge changes from topic 'wifi_detail_jank' into oc-dev
Lorenzo Colitti [Fri, 2 Jun 2017 06:18:13 +0000 (06:18 +0000)]
Merge changes from topic 'wifi_detail_jank' into oc-dev
am: 0187221bd8

Change-Id: I7873b3f06b40e416b89b44615e9fe28a5b3c7a29

7 years agoMerge changes from topic 'wifi_detail_jank' into oc-dev
TreeHugger Robot [Fri, 2 Jun 2017 06:11:51 +0000 (06:11 +0000)]
Merge changes from topic 'wifi_detail_jank' into oc-dev

* changes:
  Reduce jank in the wifi detail status page.
  Improve testing of IP address display code.

7 years agoVolume can not be updated in Sound&notification
Sheng Wang [Fri, 2 Jun 2017 04:29:05 +0000 (04:29 +0000)]
Volume can not be updated in Sound&notification
am: 8c329af634

Change-Id: I8031a9bbe82b40e79698e9d6be75bcd85bcde028