OSDN Git Service

android-x86/packages-apps-Settings.git
7 years agoMerge "Move assist gestures settings to overlay" into oc-dr1-dev
Kevin Chyn [Wed, 14 Jun 2017 01:43:47 +0000 (01:43 +0000)]
Merge "Move assist gestures settings to overlay" into oc-dr1-dev

7 years agoMerge "Replace showSoftInput with ImeAwareEditText.scheduleShowSoftInput" into oc...
TreeHugger Robot [Tue, 13 Jun 2017 23:53:32 +0000 (23:53 +0000)]
Merge "Replace showSoftInput with ImeAwareEditText.scheduleShowSoftInput" into oc-dr1-dev

7 years agoMerge "Add action active check for anomaly action." into oc-dr1-dev
TreeHugger Robot [Tue, 13 Jun 2017 22:36:04 +0000 (22:36 +0000)]
Merge "Add action active check for anomaly action." into oc-dr1-dev

7 years agoMerge "Added support for external tiles to the lockscreen activity" into oc-dr1-dev
Katsiaryna Naliuka [Tue, 13 Jun 2017 22:15:33 +0000 (22:15 +0000)]
Merge "Added support for external tiles to the lockscreen activity" into oc-dr1-dev

7 years agoMove assist gestures settings to overlay
Kevin Chyn [Fri, 9 Jun 2017 20:37:14 +0000 (13:37 -0700)]
Move assist gestures settings to overlay

Bug: 37427306

Test: make -j RunSettingsRoboTests && manual testing of settings
Change-Id: If2b0ec9a966334a91f090051dee661011bfc0d70

7 years agoMerge "Update dialogs for anomaly" into oc-dr1-dev
TreeHugger Robot [Tue, 13 Jun 2017 21:36:40 +0000 (21:36 +0000)]
Merge "Update dialogs for anomaly" into oc-dr1-dev

7 years agoAdd action active check for anomaly action.
jackqdyulei [Fri, 9 Jun 2017 00:43:29 +0000 (17:43 -0700)]
Add action active check for anomaly action.

This cl adds the action active check for the following actions:
1. ForceStopAction: check whether app is stopped
2. BackgroundActivityAction: check whether background activity
is turned on

If related action is not active, we won't report anomaly
to users. Future cl will add active check for bluetooth anomaly.

Bug: 62452014
Test: RunSettingsRoboTests

Change-Id: Ib490227f4570accf8ca4840a99bf85a022c42a5b

7 years agoMerge "Fix build - fix import of SettingsRobolectricTestRunner." into oc-dr1-dev
Alison Cichowlas [Tue, 13 Jun 2017 11:08:32 +0000 (11:08 +0000)]
Merge "Fix build - fix import of SettingsRobolectricTestRunner." into oc-dr1-dev

7 years agoAdded support for external tiles to the lockscreen activity
Katsiaryna Naliuka [Mon, 12 Jun 2017 15:37:33 +0000 (17:37 +0200)]
Added support for external tiles to the lockscreen activity

Bug: 62487664
Test: Built and flashed a system image.
Change-Id: I75e42a042f9212e247f02c5523979bcd5ea57baa

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dr1-dev
TreeHugger Robot [Tue, 13 Jun 2017 09:45:19 +0000 (09:45 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
Bill Yi [Tue, 13 Jun 2017 08:11:23 +0000 (08:11 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am: 327b9119d7  -s ours

Change-Id: I24da3a236478e91b06710a4065ba29663921f940

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

7 years agoFix build - fix import of SettingsRobolectricTestRunner.
Alison Cichowlas [Tue, 13 Jun 2017 03:04:40 +0000 (23:04 -0400)]
Fix build - fix import of SettingsRobolectricTestRunner.

Test: Only changing imports in test files.
Change-Id: Ib0d1433983da36416b979a0eaa1bb57419150374

7 years agoLimit unconfigurability to specified channels.
Alison Cichowlas [Tue, 13 Jun 2017 01:45:10 +0000 (01:45 +0000)]
Limit unconfigurability to specified channels.
am: 80fa6b5833

Change-Id: I63c40ae241f6891fa1e6b85a78dc78d2b918ca6d

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 13 Jun 2017 01:23:15 +0000 (18:23 -0700)]
Import translations. DO NOT MERGE

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

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 13 Jun 2017 01:16:46 +0000 (18:16 -0700)]
Import translations. DO NOT MERGE

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

7 years agoReplace showSoftInput with ImeAwareEditText.scheduleShowSoftInput
Tarandeep Singh [Mon, 12 Jun 2017 22:32:28 +0000 (15:32 -0700)]
Replace showSoftInput with ImeAwareEditText.scheduleShowSoftInput

Both View focus (which is triggered by View.requestFocus()) and IME focus
(which is internally handled inside InputMethodManager), are implemented
as delayed tasks on the UI thread. The goal here is to make sure that
InputMethodManager.showSoftInput() always gets called only after the target
EditText gained IME focus.
This requires some tricks, but is basically a solved problem with
ImeAwareEditText introduced by
I182b05d3ff59fb3b4732d60d0d5a464f0e0e0235. Here we can just reuse it.

Note that ConfirmLockPassword & ChooseLockPassword are the only ones
using ScrollToParentEditText. Latter doesn't call IMM.showSoftInput().

Fixes: 62542157
Test: Verified keyboard still shows-up on the ConfirmLock screen.

Change-Id: I892d639f3cc5d43db553b682d5278b8ce2fe72da

7 years agoMerge "Increase length of string for pref title" into oc-dr1-dev
TreeHugger Robot [Tue, 13 Jun 2017 00:13:43 +0000 (00:13 +0000)]
Merge "Increase length of string for pref title" into oc-dr1-dev

7 years agoLimit unconfigurability to specified channels.
Alison Cichowlas [Thu, 8 Jun 2017 20:17:23 +0000 (16:17 -0400)]
Limit unconfigurability to specified channels.

Bug: 62426259
Test: Unit test in NotificationBackendTest.java
Change-Id: I79d069cee0b641d520b02f8a25751ec3e0d4632d

7 years agoFix keyboard not launching on screen lock settings.
Tarandeep Singh [Fri, 9 Jun 2017 23:24:14 +0000 (16:24 -0700)]
Fix keyboard not launching on screen lock settings.

calling requestFocus() on EditText fixes the issue.

Bug: 62344628
Test: manual
Change-Id: If8321cb646dca5882d5a44bd1ec2f66f0f4ec5aa

7 years agoMerge "Increase CHAR LIMIT" into oc-dr1-dev
Maurice Lam [Mon, 12 Jun 2017 18:34:31 +0000 (18:34 +0000)]
Merge "Increase CHAR LIMIT" into oc-dr1-dev

7 years agoIncrease length of string for pref title
Salvador Martinez [Mon, 12 Jun 2017 18:08:56 +0000 (11:08 -0700)]
Increase length of string for pref title

Translators needed a few more characters in a preference that still
had ample space. This cl simply changes the comment to allow for
the requested character count.

Test: Ensure 25 chars fit (screenshot)
Bug: 62433109
Change-Id: I1bd31c969cc4fea8bcfec794a2d8a7b98778853c

7 years agoIncrease CHAR LIMIT
Maurice Lam [Sun, 11 Jun 2017 21:13:24 +0000 (14:13 -0700)]
Increase CHAR LIMIT

Test: Existing tests pass
Bug: 62362729
Bug: 62401881
Change-Id: I4416db079d35cfdedd69670eaa92ef62bcacca80

7 years agoUpdate advanced battery screen to use headline font.
Andrew Sapperstein [Sun, 11 Jun 2017 01:00:45 +0000 (18:00 -0700)]
Update advanced battery screen to use headline font.

Change-Id: I8e70cc8093cccbe67b7c363a60a03f0eb1cda2e5
Fixes: 62507326
Test: robotests

7 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 10 Jun 2017 01:36:51 +0000 (18:36 -0700)]
Import translations. DO NOT MERGE

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

7 years agoUpdate dialogs for anomaly
jackqdyulei [Fri, 9 Jun 2017 20:29:09 +0000 (13:29 -0700)]
Update dialogs for anomaly

1. Add dialog for background activity action
2. Use new strings in anomaly dialogs

Bug: 62490179
Test: RunSettingsRoboTests

Change-Id: Ide836a4aca939963bd3b15c6d728eed68a6d7f43

7 years agoUpdate SummaryPreference to use config_headlineFontFamily.
Andrew Sapperstein [Fri, 9 Jun 2017 00:27:14 +0000 (17:27 -0700)]
Update SummaryPreference to use config_headlineFontFamily.

Also deleted a couple of unused files.

Change-Id: I42b6f6c79c3a7ba00040d657204830c5a468a2b2
Fixes: 62385826
Test: manual

7 years agoMerge "Add "Free up space" to the Settings search." into oc-dr1-dev
Daniel Nishi [Fri, 9 Jun 2017 17:56:50 +0000 (17:56 +0000)]
Merge "Add "Free up space" to the Settings search." into oc-dr1-dev

7 years agoMerge "Create new category for lock screen redaction" into oc-dr1-dev
Maurice Lam [Fri, 9 Jun 2017 17:07:47 +0000 (17:07 +0000)]
Merge "Create new category for lock screen redaction" into oc-dr1-dev

7 years agoMerge "Add intent action to support page" into oc-dr1-dev
Maurice Lam [Fri, 9 Jun 2017 16:50:55 +0000 (16:50 +0000)]
Merge "Add intent action to support page" into oc-dr1-dev

7 years agoRefactor test runner to use static list of resource paths
Andrew Sapperstein [Fri, 9 Jun 2017 02:27:36 +0000 (19:27 -0700)]
Refactor test runner to use static list of resource paths

Previously everything lived in an inner class method of
SettingsRobolectricTestRunner. That method has now been turned into
a static method so that it can be called by other runners.

Bug: 62460102
Test: robotests
Change-Id: I6612b1f26404587301c534c8ba60e39d59d6c840

7 years agoMerge "Set advanced battery usage items as non-selectable" into oc-dev
Antony Sargent [Fri, 9 Jun 2017 15:49:10 +0000 (15:49 +0000)]
Merge "Set advanced battery usage items as non-selectable" into oc-dev
am: d77b699e60

Change-Id: Ib647c80d06ed0cda957759f0250277531ac46f13

7 years agoMerge "Set advanced battery usage items as non-selectable" into oc-dev
Antony Sargent [Fri, 9 Jun 2017 15:41:25 +0000 (15:41 +0000)]
Merge "Set advanced battery usage items as non-selectable" into oc-dev

7 years agoMerge "Instrument sign-in-captive-portal button" into oc-dr1-dev
Hugo Benichi [Fri, 9 Jun 2017 08:56:17 +0000 (08:56 +0000)]
Merge "Instrument sign-in-captive-portal button" into oc-dr1-dev

7 years agoMerge "Make flag "showAllapps" persistent in PowerUsageSummary" into oc-dev
jackqdyulei [Fri, 9 Jun 2017 08:34:43 +0000 (08:34 +0000)]
Merge "Make flag "showAllapps" persistent in PowerUsageSummary" into oc-dev
am: 4f02eebab8  -s ours

Change-Id: I19ee339c025e3db0c26cd323b65db1131980733e

7 years agoMerge "Make flag "showAllapps" persistent in PowerUsageSummary" into oc-dev
TreeHugger Robot [Fri, 9 Jun 2017 08:29:56 +0000 (08:29 +0000)]
Merge "Make flag "showAllapps" persistent in PowerUsageSummary" into oc-dev

7 years agoMake flag "showAllapps" persistent in PowerUsageSummary
jackqdyulei [Thu, 8 Jun 2017 21:26:39 +0000 (14:26 -0700)]
Make flag "showAllapps" persistent in PowerUsageSummary

This flag is used to decide whether to show all the apps
(including system app, service..) in battery settings

Handle it in onCreate() and onSaveInstanceState()

Bug: 62422948
Test: RunSettingsRoboTests
Change-Id: I30c0d6e1e25902f1192fc2564aa09d635b5e0f4f
Merged-In: I30c0d6e1e25902f1192fc2564aa09d635b5e0f4f

7 years agoMerge "Make flag "showAllapps" persistent in PowerUsageSummary" into oc-dr1-dev
TreeHugger Robot [Fri, 9 Jun 2017 04:39:39 +0000 (04:39 +0000)]
Merge "Make flag "showAllapps" persistent in PowerUsageSummary" into oc-dr1-dev

7 years agoMerge "Update subtitle for apps in battery settings" into oc-dev
jackqdyulei [Fri, 9 Jun 2017 02:57:46 +0000 (02:57 +0000)]
Merge "Update subtitle for apps in battery settings" into oc-dev
am: 031b90541f

Change-Id: Ia0581b295824b73ef36f931066b883cff51fc0e9

7 years agoMerge "Use support feature provider to provide intro url." into oc-dr1-dev
TreeHugger Robot [Fri, 9 Jun 2017 02:54:31 +0000 (02:54 +0000)]
Merge "Use support feature provider to provide intro url." into oc-dr1-dev

7 years agoMerge "Update subtitle for apps in battery settings" into oc-dev
TreeHugger Robot [Fri, 9 Jun 2017 02:53:35 +0000 (02:53 +0000)]
Merge "Update subtitle for apps in battery settings" into oc-dev

7 years agoInstrument sign-in-captive-portal button
Hugo Benichi [Mon, 5 Jun 2017 07:30:37 +0000 (16:30 +0900)]
Instrument sign-in-captive-portal button

Bug: 36203355
Bug: 34901696
Bug: 36532213
Test: WifiDetailPreferenceControllerTest updated
Change-Id: I03dbcdd6efbd0d7aaf2ef67d541fceeb6acc2acf
(cherry picked from commit 539211a718125cc894b81ccbb9e5d1f9364912b5)

7 years agoMake flag "showAllapps" persistent in PowerUsageSummary
jackqdyulei [Thu, 8 Jun 2017 21:26:39 +0000 (14:26 -0700)]
Make flag "showAllapps" persistent in PowerUsageSummary

This flag is used to decide whether to show all the apps
(including system app, service..) in battery settings

Handle it in onCreate() and onSaveInstanceState()

Bug: 62422948
Test: RunSettingsRoboTests
Change-Id: I30c0d6e1e25902f1192fc2564aa09d635b5e0f4f

7 years agoMerge "Search results always highlight proper results" into oc-dev
Matthew Fritze [Fri, 9 Jun 2017 01:23:39 +0000 (01:23 +0000)]
Merge "Search results always highlight proper results" into oc-dev
am: 2a32cb6a33

Change-Id: I1bc6297cc75aa833184a00598f5930aa3ca114dc

7 years agoMerge "Search results always highlight proper results" into oc-dev
TreeHugger Robot [Fri, 9 Jun 2017 01:19:37 +0000 (01:19 +0000)]
Merge "Search results always highlight proper results" into oc-dev

7 years agoMerge "Update text for Languages & Input." into oc-dr1-dev
TreeHugger Robot [Fri, 9 Jun 2017 01:09:24 +0000 (01:09 +0000)]
Merge "Update text for Languages & Input." into oc-dr1-dev

7 years agoAdd intent action to support page
Maurice Lam [Thu, 8 Jun 2017 18:57:40 +0000 (11:57 -0700)]
Add intent action to support page

Test: cd tests/robotests && mma
Bug: 62348910
Change-Id: I65b8290bc5bf47803349de92b2560099e7dda402
(cherry picked from commit 1bf5454f64572d9dd58897e5c4981d9a91ce98e0)

7 years agoCreate new category for lock screen redaction
Maurice Lam [Thu, 8 Jun 2017 03:59:51 +0000 (20:59 -0700)]
Create new category for lock screen redaction

So that we can show it without all the other default setup wizard
only actions.

Test: Manual
Bug: 62278041
Change-Id: Iba8a626b9b6e1ae909b4f6260dae7c0462b92627
(cherry picked from commit 96ae3f82b3645904e97851b97a276745f458b70e)

7 years agoMerge "Update the music files icon." into oc-dev
Daniel Nishi [Fri, 9 Jun 2017 00:19:04 +0000 (00:19 +0000)]
Merge "Update the music files icon." into oc-dev
am: 47c6afde7f

Change-Id: I20505a1958f7639ac91c571371a7555c4f9b9024

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 agoUse support feature provider to provide intro url.
Fan Zhang [Thu, 8 Jun 2017 22:50:18 +0000 (15:50 -0700)]
Use support feature provider to provide intro url.

Change-Id: I3d2493ec8c84fdc61c04fd63537f959fbd589e98
Fix: 62034077
Test: make RunSettingsRoboTests

7 years agoSearch results always highlight proper results
Matthew Fritze [Wed, 7 Jun 2017 00:14:33 +0000 (17:14 -0700)]
Search results always highlight proper results

In fragments where preferences were being injected after
the super#onResume, the incorrect preference was
being highlighted as the selected result.

This is because the index of the preference is calculated
in SettingsPreferenceFragment#onResume, but the index is
not checked again before the item is highlighted.

Instead, we calculate index right before we highlight.

Change-Id: Idaa655f682a1a6186c1996fb51d352589bbeda0f
Fixes: 62179739
Test: runtest --path packages/apps/Settings/tests/app/src/com/android/settings/SettingsPreferenceFragmentTest.java

7 years agoMerge "Implement general projection curve support for UsageGraph." into oc-dr1-dev
TreeHugger Robot [Thu, 8 Jun 2017 23:23:00 +0000 (23:23 +0000)]
Merge "Implement general projection curve support for UsageGraph." into oc-dr1-dev

7 years agoAdd "Free up space" to the Settings search.
Daniel Nishi [Mon, 5 Jun 2017 22:28:48 +0000 (15:28 -0700)]
Add "Free up space" to the Settings search.

Change-Id: I8e987595adbd3c32de4001527a2a20478686d3e7
Fixes: 62167072
Test: Manual

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

Change-Id: I436ea7a7e5a758581ed5b4e0c6aa0bc3773d702c

7 years agoUpdate subtitle for apps in battery settings
jackqdyulei [Wed, 7 Jun 2017 22:56:03 +0000 (15:56 -0700)]
Update subtitle for apps in battery settings

1. If it is a normal app, show "Screen usage TIME"
2. If it is a hidden app, show "TIME"

Note that in this case the item screen will show "TIME"

Bug: 62422404
Test: RunSettingsRoboTests
Change-Id: Ie8d6caf998d18994ac158f0217109c0e5e9f92ba

7 years agoUpdate text for Languages & Input.
Doris Ling [Wed, 7 Jun 2017 21:16:43 +0000 (14:16 -0700)]
Update text for Languages & Input.

- update preference title to include gesture
- if assist gesture is supported, set summary text to reflect assist
status

Change-Id: I79477f331ae447d2505a1519da09886bf07ba1a2
Fix: 62219660
Test: make RunSettingsRoboTests

7 years agoMerge "Add debug data in AnomalyLoader" into oc-dr1-dev
Lei Yu [Thu, 8 Jun 2017 17:59:33 +0000 (17:59 +0000)]
Merge "Add debug data in AnomalyLoader" into oc-dr1-dev

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 agoImplement general projection curve support for UsageGraph.
Alex Kulesza [Tue, 6 Jun 2017 23:24:48 +0000 (19:24 -0400)]
Implement general projection curve support for UsageGraph.

Previously, projections were hard-coded in UsageGraph as lines from the
last known point to the corner of the graph. This change replaces that
with support for arbitrary projection curves. Logic for hiding/showing
the projection is now gone; if the client does not want a projection,
it simply does not supply one.

There are two active clients of this code: the data usage graph and the
battery usage graph. The data graph does not use projections and is
essentially unchanged. The battery graph now implements its linear
extrapolation directly in BatteryInfo.

Bug: 38400320
Test: make SettingsUnitTests SettingsGoogleUnitTests
Test: manual (screenshots in comments)
Change-Id: I754e66f6b18ecb8b936143399f8e9e3368fc1ce4

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 06:13:42 +0000 (06:13 +0000)]
Merge "Add keys to all Preferences on the Managed device info page" into oc-dev
am: 9e94d80fa5

Change-Id: I8056fc4d13f3e8528c1297ee3fe6f432ff7bc6dc

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:14:25 +0000 (02:14 +0000)]
Merge "Use default package in BatteryEntry" into oc-dev
am: f5f51c4cf2

Change-Id: Ic97c8e2020f642cf7abba063e194796afe85bb58

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 agoAdd debug data in AnomalyLoader
jackqdyulei [Fri, 2 Jun 2017 22:00:43 +0000 (15:00 -0700)]
Add debug data in AnomalyLoader

Bug: 62299540
Test: RunSettingsRoboTests
Change-Id: Id20db9fc0da8e090385caa982f2fb5a6fa0b2f38
(cherry picked from commit 5753e6d97ed50ee6130530140766607bc4bfa6b8)

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

Change-Id: I478def41cfe2e639ec6d93ef9bbe2d79fda46142

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 "Add saturation boost setting"
TreeHugger Robot [Wed, 7 Jun 2017 02:36:12 +0000 (02:36 +0000)]
Merge "Add saturation boost setting"

7 years agoMerge "Update battery & storage settings to use headline font."
TreeHugger Robot [Wed, 7 Jun 2017 02:08:55 +0000 (02:08 +0000)]
Merge "Update battery & storage settings to use headline font."

7 years agoMerge "Include home app when searching installed apps"
TreeHugger Robot [Wed, 7 Jun 2017 01:17:48 +0000 (01:17 +0000)]
Merge "Include home app when searching installed apps"

7 years agoAdd saturation boost setting
Romain Guy [Tue, 6 Jun 2017 01:44:47 +0000 (18:44 -0700)]
Add saturation boost setting

Bug: 62238038 62377592 38225028
Test: make RunSettingsRoboTests -j40 ROBOTEST_FILTER=com.android.settings.display.ColorModePreferenceControllerTest
Change-Id: Iae8f4b25966ff28fde127e6103b2c03c67862cf0

7 years agoSet advanced battery usage items as non-selectable
Antony Sargent [Tue, 6 Jun 2017 23:04:56 +0000 (16:04 -0700)]
Set advanced battery usage items as non-selectable

The items in the ListView for the Advanced battery usage screen should
not ripple when touched, since these items don't do anything.

Bug: 38019330
Test: make RunSettingsRoboTests
Change-Id: I987a770f0f146b02bbf947238be7490e8a170feb

7 years agoMerge "Use the standard place holder for the security summary. DO NOT MERGE" into...
William Luh [Wed, 7 Jun 2017 00:11:33 +0000 (00:11 +0000)]
Merge "Use the standard place holder for the security summary. DO NOT MERGE" into oc-dev am: f702e39156
am: 5a4603f5b3

Change-Id: Id6fccb0b75aafc2097b57f538dd9218067f30431

7 years agoMerge "If two groups are posted to settings, remove old group and log." into oc-dev...
Alison Cichowlas [Wed, 7 Jun 2017 00:11:08 +0000 (00:11 +0000)]
Merge "If two groups are posted to settings, remove old group and log." into oc-dev am: 9fa5e66a66
am: 59b4e5b6c4

Change-Id: I0661ae34df7dcca80b394e9751ce91dd2f5f25e1

7 years agoMerge "Make icons colorful for Security settings." into oc-dev am: 9f7e705426
William Luh [Wed, 7 Jun 2017 00:10:26 +0000 (00:10 +0000)]
Merge "Make icons colorful for Security settings." into oc-dev am: 9f7e705426
am: 802f3e56d3

Change-Id: I4dec2d4211a57da31d0e3006945acd0588ee514c

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 agoUpdate battery & storage settings to use headline font.
Andrew Sapperstein [Tue, 6 Jun 2017 01:48:10 +0000 (18:48 -0700)]
Update battery & storage settings to use headline font.

Updates several locations to use config_headlineFontFamily as the
android:fontFamily or Typeface object. This allows OEMs to specify
a custom headline font.

Bug: 36855735
Test: ag/2360364
Change-Id: I627515d2afd5ff018aae10843d099b8c83880635

7 years agoMerge "Camera lift settings are now default-on."
Daniel Sheng [Tue, 6 Jun 2017 23:26:05 +0000 (23:26 +0000)]
Merge "Camera lift settings are now default-on."

7 years agoInclude home app when searching installed apps
Fan Zhang [Tue, 6 Jun 2017 23:08:13 +0000 (16:08 -0700)]
Include home app when searching installed apps

Change-Id: I4677307bb23f03ed7fb224c32312be7cb114763d
Fix: 62221174
Test: make RunSettingsRoboTests

7 years agoMerge "Add logging to track search no-result case"
TreeHugger Robot [Tue, 6 Jun 2017 23:03:56 +0000 (23:03 +0000)]
Merge "Add logging to track search no-result case"

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

Change-Id: Id2661d1f4edac5d987f122542176372b2f99ef3b

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 agoCamera lift settings are now default-on.
Daniel Sheng [Tue, 30 May 2017 17:14:57 +0000 (10:14 -0700)]
Camera lift settings are now default-on.

Bug: 62102062
Test: make RunSettingsRoboTests

Changing camera lift trigger setting to default-on.

Change-Id: Id4918ce3ecf82271989741cce54729e8fd49ae52

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 "Use the config default days to retain."
Daniel Nishi [Tue, 6 Jun 2017 20:37:31 +0000 (20:37 +0000)]
Merge "Use the config default days to retain."

7 years agoAdd logging to track search no-result case
Fan Zhang [Tue, 6 Jun 2017 19:37:52 +0000 (12:37 -0700)]
Add logging to track search no-result case

Change-Id: Iea95468c33e6663c0dad374954468947575bb3df
Fix: 37211659
Test: make RunSettingsRoboTests

7 years agoMerge "Fix master build"
Fan Zhang [Tue, 6 Jun 2017 20:23:08 +0000 (20:23 +0000)]
Merge "Fix master build"

7 years agoFix master build
Fan Zhang [Tue, 6 Jun 2017 20:06:25 +0000 (13:06 -0700)]
Fix master build

Caused by bad merge from ag/2360433

Test: make RunSettingsRoboTests
Change-Id: I3fb55768686a6edc56dee60421c116dcf590239f

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

Change-Id: If7351ccb7896cc1cfeb83837b09650a50ed1b55a