OSDN Git Service

android-x86/packages-apps-Settings.git
7 years agoAdd developer menu entry to enable Bluetooth inband ringing
Jack He [Fri, 31 Mar 2017 17:51:22 +0000 (10:51 -0700)]
Add developer menu entry to enable Bluetooth inband ringing

Bug: 19171297
Test: Make, HFP regression test, testplans/82144
Change-Id: Ib24463347323f83daf8b4d9f1d38bb9c3071fb95
(cherry picked from commit 8d64a93c6a41e2f85d0435a6c8c070d931da45c9)

7 years agoAdd permission check to Intents used by Authenticator Settings. am: ea55e6331e am...
Dmitry Dementyev [Wed, 12 Apr 2017 20:32:11 +0000 (20:32 +0000)]
Add permission check to Intents used by Authenticator Settings. am: ea55e6331e am: bac5163a9a am: 0c07b38054  -s ours am: 22db6274bf  -s ours am: 13b12fd61d  -s ours am: 2d9593f8f1  -s ours am: 5f32a5b5f3  -s ours am: 56dc835f3c  -s ours am: b23bdee761  -s ours am: 704c02db08  -s ours am: 89657550ac  -s ours am: ed6872b3d5  -s ours am: 43e154604a  -s ours am: d4d2b47d48  -s ours
am: 521e705eaf  -s ours

Change-Id: Ia5298253f9349ccb3819f5f4eea1c217aef0b326

7 years agoAdd permission check to Intents used by Authenticator Settings. am: ea55e6331e am...
Dmitry Dementyev [Wed, 12 Apr 2017 20:26:40 +0000 (20:26 +0000)]
Add permission check to Intents used by Authenticator Settings. am: ea55e6331e am: bac5163a9a am: 0c07b38054  -s ours am: 22db6274bf  -s ours am: 13b12fd61d  -s ours am: 2d9593f8f1  -s ours am: 5f32a5b5f3  -s ours am: 56dc835f3c  -s ours am: b23bdee761  -s ours am: 704c02db08  -s ours am: 89657550ac  -s ours am: ed6872b3d5  -s ours am: 43e154604a  -s ours
am: d4d2b47d48  -s ours

Change-Id: Ib983d50a3e079c1cf72fddae475d10a441def7dd

7 years agoMerge "Update "Open networks available" toggle to instead open notification channel...
TreeHugger Robot [Wed, 12 Apr 2017 20:24:21 +0000 (20:24 +0000)]
Merge "Update "Open networks available" toggle to instead open notification channel preferences." into oc-dev

7 years agoAdd permission check to Intents used by Authenticator Settings. am: ea55e6331e am...
Dmitry Dementyev [Wed, 12 Apr 2017 20:21:39 +0000 (20:21 +0000)]
Add permission check to Intents used by Authenticator Settings. am: ea55e6331e am: bac5163a9a am: 0c07b38054  -s ours am: 22db6274bf  -s ours am: 13b12fd61d  -s ours am: 2d9593f8f1  -s ours am: 5f32a5b5f3  -s ours am: 56dc835f3c  -s ours am: b23bdee761  -s ours am: 704c02db08  -s ours am: 89657550ac  -s ours am: ed6872b3d5  -s ours
am: 43e154604a  -s ours

Change-Id: I5d559b468d1d6165162d78cbde84b45e05e7b5ec

7 years agoAdd permission check to Intents used by Authenticator Settings. am: ea55e6331e am...
Dmitry Dementyev [Wed, 12 Apr 2017 20:15:40 +0000 (20:15 +0000)]
Add permission check to Intents used by Authenticator Settings. am: ea55e6331e am: bac5163a9a am: 0c07b38054  -s ours am: 22db6274bf  -s ours am: 13b12fd61d  -s ours am: 2d9593f8f1  -s ours am: 5f32a5b5f3  -s ours am: 56dc835f3c  -s ours am: b23bdee761  -s ours am: 704c02db08  -s ours am: 89657550ac  -s ours
am: ed6872b3d5  -s ours

Change-Id: I0aafd94271cab6fd2fb9acebca3c41299ec9550f

7 years agoAdd permission check to Intents used by Authenticator Settings. am: ea55e6331e am...
Dmitry Dementyev [Wed, 12 Apr 2017 20:10:07 +0000 (20:10 +0000)]
Add permission check to Intents used by Authenticator Settings. am: ea55e6331e am: bac5163a9a am: 0c07b38054  -s ours am: 22db6274bf  -s ours am: 13b12fd61d  -s ours am: 2d9593f8f1  -s ours am: 5f32a5b5f3  -s ours am: 56dc835f3c  -s ours am: b23bdee761  -s ours am: 704c02db08  -s ours
am: 89657550ac  -s ours

Change-Id: I3bb7c6e6f2a8abcad3304c43e611df855e79dad9

7 years agoAdd permission check to Intents used by Authenticator Settings. am: ea55e6331e am...
Dmitry Dementyev [Wed, 12 Apr 2017 20:04:11 +0000 (20:04 +0000)]
Add permission check to Intents used by Authenticator Settings. am: ea55e6331e am: bac5163a9a am: 0c07b38054  -s ours am: 22db6274bf  -s ours am: 13b12fd61d  -s ours am: 2d9593f8f1  -s ours am: 5f32a5b5f3  -s ours am: 56dc835f3c  -s ours am: b23bdee761  -s ours
am: 704c02db08  -s ours

Change-Id: I29ab4a6fb0dfbd3f03b9be71f28ff9f36893bc59

7 years agoAdd permission check to Intents used by Authenticator Settings. am: ea55e6331e am...
Dmitry Dementyev [Wed, 12 Apr 2017 20:00:05 +0000 (20:00 +0000)]
Add permission check to Intents used by Authenticator Settings. am: ea55e6331e am: bac5163a9a am: 0c07b38054  -s ours am: 22db6274bf  -s ours am: 13b12fd61d  -s ours am: 2d9593f8f1  -s ours am: 5f32a5b5f3  -s ours am: 56dc835f3c  -s ours
am: b23bdee761  -s ours

Change-Id: Ie66bdaba9900b112cee1d9503a332b7bbe203283

7 years agoAdd permission check to Intents used by Authenticator Settings. am: ea55e6331e am...
Dmitry Dementyev [Wed, 12 Apr 2017 19:54:06 +0000 (19:54 +0000)]
Add permission check to Intents used by Authenticator Settings. am: ea55e6331e am: bac5163a9a am: 0c07b38054  -s ours am: 22db6274bf  -s ours am: 13b12fd61d  -s ours am: 2d9593f8f1  -s ours am: 5f32a5b5f3  -s ours
am: 56dc835f3c  -s ours

Change-Id: Iafcd0d4116683e0b40a9f98ef9ccf3d176ec0b32

7 years agoAdd permission check to Intents used by Authenticator Settings. am: ea55e6331e am...
Dmitry Dementyev [Wed, 12 Apr 2017 19:49:07 +0000 (19:49 +0000)]
Add permission check to Intents used by Authenticator Settings. am: ea55e6331e am: bac5163a9a am: 0c07b38054  -s ours am: 22db6274bf  -s ours am: 13b12fd61d  -s ours am: 2d9593f8f1  -s ours
am: 5f32a5b5f3  -s ours

Change-Id: I608a98d05d77b2e755f516ec60c64484c81437da

7 years agoAdd permission check to Intents used by Authenticator Settings. am: ea55e6331e am...
Dmitry Dementyev [Wed, 12 Apr 2017 19:44:05 +0000 (19:44 +0000)]
Add permission check to Intents used by Authenticator Settings. am: ea55e6331e am: bac5163a9a am: 0c07b38054  -s ours am: 22db6274bf  -s ours am: 13b12fd61d  -s ours
am: 2d9593f8f1  -s ours

Change-Id: Id5ccadb538d8986e86b614d9303a637d6661c482

7 years agoMerge "Rename WEB_ACTION_ENABLED to INSTANT_APPS_ENABLED" into oc-dev
TreeHugger Robot [Wed, 12 Apr 2017 19:39:12 +0000 (19:39 +0000)]
Merge "Rename WEB_ACTION_ENABLED to INSTANT_APPS_ENABLED" into oc-dev

7 years agoMerge "Move bunch of battery methods to BatteryUtils.java" into oc-dev
Lei Yu [Wed, 12 Apr 2017 19:39:08 +0000 (19:39 +0000)]
Merge "Move bunch of battery methods to BatteryUtils.java" into oc-dev

7 years agoAdd permission check to Intents used by Authenticator Settings. am: ea55e6331e am...
Dmitry Dementyev [Wed, 12 Apr 2017 19:37:33 +0000 (19:37 +0000)]
Add permission check to Intents used by Authenticator Settings. am: ea55e6331e am: bac5163a9a am: 0c07b38054  -s ours am: 22db6274bf  -s ours
am: 13b12fd61d  -s ours

Change-Id: I20df71c6318262d701b6cb75aff56e9e99c6eaf5

7 years agoAdd permission check to Intents used by Authenticator Settings. am: ea55e6331e am...
Dmitry Dementyev [Wed, 12 Apr 2017 19:32:36 +0000 (19:32 +0000)]
Add permission check to Intents used by Authenticator Settings. am: ea55e6331e am: bac5163a9a am: 0c07b38054  -s ours
am: 22db6274bf  -s ours

Change-Id: Ieeeb4f1677f835787098dd75c4131be5960d6855

7 years agoAdd permission check to Intents used by Authenticator Settings. am: ea55e6331e am...
Dmitry Dementyev [Wed, 12 Apr 2017 19:26:32 +0000 (19:26 +0000)]
Add permission check to Intents used by Authenticator Settings. am: ea55e6331e am: bac5163a9a
am: 0c07b38054  -s ours

Change-Id: Ibb0be31c8bf222d0c823142e075db819a3a52047

7 years agoAdd permission check to Intents used by Authenticator Settings. am: ea55e6331e
Dmitry Dementyev [Wed, 12 Apr 2017 19:21:36 +0000 (19:21 +0000)]
Add permission check to Intents used by Authenticator Settings. am: ea55e6331e
am: bac5163a9a

Change-Id: Ib70241c596aca047a096318eb2026634692f8620

7 years agoAdd permission check to Intents used by Authenticator Settings.
Dmitry Dementyev [Wed, 12 Apr 2017 19:16:01 +0000 (19:16 +0000)]
Add permission check to Intents used by Authenticator Settings.
am: ea55e6331e

Change-Id: Iafaa143dd3c3201f16d1e19cb150243fd5f88232

7 years agoMerge "Use bg appop ALLOWED, not DEFAULT" into oc-dev
Chris Tate [Wed, 12 Apr 2017 18:58:26 +0000 (18:58 +0000)]
Merge "Use bg appop ALLOWED, not DEFAULT" into oc-dev

7 years agoMerge "Don't crash in SecondaryUserController." into oc-dev
Daniel Nishi [Wed, 12 Apr 2017 18:57:47 +0000 (18:57 +0000)]
Merge "Don't crash in SecondaryUserController." into oc-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Wed, 12 Apr 2017 18:37:22 +0000 (18:37 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "Allow settings preference title to span over multiple lines." into oc-dev
TreeHugger Robot [Wed, 12 Apr 2017 17:57:27 +0000 (17:57 +0000)]
Merge "Allow settings preference title to span over multiple lines." into oc-dev

7 years agoMerge "Send ACTION_KEYCHAIN_CHANGED when installing a cert" into oc-dev
Chad Brubaker [Wed, 12 Apr 2017 17:21:09 +0000 (17:21 +0000)]
Merge "Send ACTION_KEYCHAIN_CHANGED when installing a cert" into oc-dev

7 years agoMerge "Use correct title when opening from notification" into oc-dev
Christine Franks [Wed, 12 Apr 2017 17:19:40 +0000 (17:19 +0000)]
Merge "Use correct title when opening from notification" into oc-dev

7 years agoMove bunch of battery methods to BatteryUtils.java
jackqdyulei [Tue, 4 Apr 2017 21:34:05 +0000 (14:34 -0700)]
Move bunch of battery methods to BatteryUtils.java

This cl moves following methods to BatteryUtils:
1. shouldHideSipper
2. removeHiddenBatterySippers
3. calculateBatteryPercent

As a result, we could use these methods in battery page as well
as app info page.

This cl also move bunch of tests to new file and add test for
method calculateBatteryPercent

Bug: 36816681
Test: RunSettingsRoboTests
Change-Id: Ic32700fe9741fbb96363db4af2d4fccb3ee8e317

7 years agoDon't crash in SecondaryUserController.
Daniel Nishi [Tue, 11 Apr 2017 21:30:33 +0000 (14:30 -0700)]
Don't crash in SecondaryUserController.

If icons were fetched before displayPreference() is called, it can
cause a NPE. This adds a null check to ensure that it never
attempts to set an icon without both the icon and preference being
non-null.

Change-Id: Ib4269428e64545c9e255f7e3292fb6c046c1f307
Fixes: 37248158
Test: Settings Robotest

7 years agoRename WEB_ACTION_ENABLED to INSTANT_APPS_ENABLED
Jesse Evans [Sat, 8 Apr 2017 00:04:44 +0000 (17:04 -0700)]
Rename WEB_ACTION_ENABLED to INSTANT_APPS_ENABLED

Test: make RunSettingsRoboTests
Change-Id: Iee3a279be6a33932797a5e9378c451feb9b3df1a

7 years agoMerge "VPN settings: better a11y voice for legacy dialog" into oc-dev
TreeHugger Robot [Wed, 12 Apr 2017 11:20:08 +0000 (11:20 +0000)]
Merge "VPN settings: better a11y voice for legacy dialog" into oc-dev

7 years agoRemove unused xml file.
Niels Egberts [Thu, 30 Mar 2017 10:06:37 +0000 (11:06 +0100)]
Remove unused xml file.

Bug: 36741587
Test: mmma packages/apps/Settings
Change-Id: I35eee7fb442a1cdeb54d8a9f54426322c75e3f99
(cherry picked from commit ecb613bd8d485b6c0eed1b7ec10a8dae8d1da08f)

7 years agoMerge "Remove hotspot receiver from manifest." into oc-dev
TreeHugger Robot [Wed, 12 Apr 2017 08:20:05 +0000 (08:20 +0000)]
Merge "Remove hotspot receiver from manifest." into oc-dev

7 years agoMerge "Wi-Fi network details page fixes." into oc-dev
TreeHugger Robot [Wed, 12 Apr 2017 04:40:10 +0000 (04:40 +0000)]
Merge "Wi-Fi network details page fixes." into oc-dev

7 years agoMerge "Renaming intent action for unknown sources" into oc-dev
Suprabh Shukla [Wed, 12 Apr 2017 04:32:45 +0000 (04:32 +0000)]
Merge "Renaming intent action for unknown sources" into oc-dev

7 years agoMerge "Add placeholder summary to stablize app info pref height" into oc-dev
TreeHugger Robot [Wed, 12 Apr 2017 02:36:11 +0000 (02:36 +0000)]
Merge "Add placeholder summary to stablize app info pref height" into oc-dev

7 years agoMerge "Fix nav up button from running process details." into oc-dev
TreeHugger Robot [Wed, 12 Apr 2017 01:25:36 +0000 (01:25 +0000)]
Merge "Fix nav up button from running process details." into oc-dev

7 years agoMerge "Fake the cache size to be 0 bytes when cleared." into oc-dev
TreeHugger Robot [Wed, 12 Apr 2017 01:25:21 +0000 (01:25 +0000)]
Merge "Fake the cache size to be 0 bytes when cleared." into oc-dev

7 years agoMerge "Remove divider above ExpandPreference." into oc-dev
TreeHugger Robot [Wed, 12 Apr 2017 00:03:05 +0000 (00:03 +0000)]
Merge "Remove divider above ExpandPreference." into oc-dev

7 years agoMerge "Fix sketchy usage of new PreferenceScreen" into oc-dev
TreeHugger Robot [Tue, 11 Apr 2017 23:43:26 +0000 (23:43 +0000)]
Merge "Fix sketchy usage of new PreferenceScreen" into oc-dev

7 years agoMerge "Don't show vpn info box when we don't have anything useful" into oc-dev
TreeHugger Robot [Tue, 11 Apr 2017 23:35:37 +0000 (23:35 +0000)]
Merge "Don't show vpn info box when we don't have anything useful" into oc-dev

7 years agoMerge "Revert "Revert "Convert BT preference to use TwoTargetPreference""" into oc-dev
TreeHugger Robot [Tue, 11 Apr 2017 23:35:13 +0000 (23:35 +0000)]
Merge "Revert "Revert "Convert BT preference to use TwoTargetPreference""" into oc-dev

7 years agoWi-Fi network details page fixes.
Amin Shaikh [Fri, 7 Apr 2017 21:01:41 +0000 (14:01 -0700)]
Wi-Fi network details page fixes.

- Fix NPE in WifiDetailPreferenceController#setIpText
- Add MAC address preference in the details section
- Set subnet mask and gateway preferences
- Do not show IP information preferences if no information is available
- Fix string capitalization errors
- Only show IPv4 DNS servers under "Network details" section

Bug: 36483230
Bug: 37096448
Bug: 36482499
Bug: 37165860
Test: m RunSettingsRoboTests
Change-Id: I0e3f0ccfc4a8d802b51ed6b3be81c75e384dd06f

7 years agoMerge "Fixes instant apps on the Opening links screen" into oc-dev
TreeHugger Robot [Tue, 11 Apr 2017 22:36:30 +0000 (22:36 +0000)]
Merge "Fixes instant apps on the  Opening links screen" into oc-dev

7 years agoUse correct title when opening from notification
Christine Franks [Tue, 11 Apr 2017 16:56:09 +0000 (09:56 -0700)]
Use correct title when opening from notification

Bug: 36070413
Test: tap system alert window notification, which brings up Settings
with the correct title.

Change-Id: I6f346a7336a71c046cbc58b7291a851a7537d5ac

7 years agoUse bg appop ALLOWED, not DEFAULT
Christopher Tate [Tue, 11 Apr 2017 17:52:06 +0000 (10:52 -0700)]
Use bg appop ALLOWED, not DEFAULT

DEFAULT is not actually the right thing; it's a subtlety used for
other things that have compound state.  ALLOWED is the proper
outright "let this thing run free" state for this appop.

Also, set the appop only for the target package, not for the
entire uid.

Bug 37226920
Bug 37242946
Test: make RunSettingsRoboTests

Change-Id: I8c0a995b9519f980685e8573da946dcc93ac4e7c

7 years agoFix nav up button from running process details.
Fan Zhang [Tue, 11 Apr 2017 20:40:10 +0000 (13:40 -0700)]
Fix nav up button from running process details.

Change-Id: I08fbbc1dab886dd26e7d780c0fc1b50c98a0e2f8
Fix: 36667083
Test: manual

7 years agoAllow settings preference title to span over multiple lines.
Doris Ling [Tue, 11 Apr 2017 20:17:38 +0000 (13:17 -0700)]
Allow settings preference title to span over multiple lines.

- add singleLineTitle=false to SettingsPreference style, so that it will
not confined the title to a single line.
- remove the custom multi line title from DividerPreference and
MasterSwitchPreference.

Change-Id: I5a78d2cd6ac00c4482e252b0789fd2d265bd9adf
Fix: 34886787
Test: manual

7 years agoRemove divider above ExpandPreference.
Andrew Sapperstein [Tue, 11 Apr 2017 01:30:21 +0000 (18:30 -0700)]
Remove divider above ExpandPreference.

Change-Id: Ib1841d99025af3f97495efd6d6186b328af33f84
Fixes: 36479214
Test: manual, visual update

7 years agoMerge "Sort channels and groups by id" into oc-dev
Julia Reynolds [Tue, 11 Apr 2017 19:18:52 +0000 (19:18 +0000)]
Merge "Sort channels and groups by id" into oc-dev

7 years agoRemove hotspot receiver from manifest.
Doris Ling [Thu, 30 Mar 2017 21:40:25 +0000 (14:40 -0700)]
Remove hotspot receiver from manifest.

The hotspot receiver if used to cancel any tethering alarm set when wifi
ap state changes. Removing it from the manifest, and only register the
receiver when we schedule the tethering alarm.

Change-Id: I97c3be6e2a374949208bbdd4ac5ccc2fabf0291a
Fix: 35968322
Test: make RunSettingsRoboTests

7 years agoDon't show vpn info box when we don't have anything useful
Fan Zhang [Tue, 11 Apr 2017 18:28:11 +0000 (11:28 -0700)]
Don't show vpn info box when we don't have anything useful

Change-Id: I12a71b38486cab8a6a188c299e90a7674926dc98
Fix: 36068109
Test: make RunSettingsRoboTests -j40

7 years agoUpdate "Open networks available" toggle to instead open notification channel preferences.
Stephen Chen [Thu, 6 Apr 2017 21:59:49 +0000 (14:59 -0700)]
Update "Open networks available" toggle to instead open notification channel preferences.

Bug: 36526438
Test: make ROBOTEST_FILTER=NotifyOpenNetworkPreferenceControllerTest RunSettingsRoboTests -j40
Change-Id: Idde3949856d050e62abff2c75a7b7db475a94d99

7 years agoVPN settings: better a11y voice for legacy dialog
Charles He [Tue, 11 Apr 2017 18:37:05 +0000 (19:37 +0100)]
VPN settings: better a11y voice for legacy dialog

Previously, the user input fields in the legacy VPN config dialog would
simply be read out as "edit box", "drop-down list", etc., without
reference to their corresponding labels. This is not optimal for
low-vision users.

In this CL, we add a "labelFor" attribute to the prompt TextView of each
field. The resulting input fields would instead be read out as "edit box
for username", "drop-down list for type", etc., which are much less
ambiguous than before.

Bug: 37202471
Test: make SettingsGoogle and navigate the dialog with TalkBack on
Change-Id: Id23d0563984e3de4a4a3d03a587ca130b50508fc

7 years agoFake the cache size to be 0 bytes when cleared.
Daniel Nishi [Tue, 28 Mar 2017 17:44:37 +0000 (10:44 -0700)]
Fake the cache size to be 0 bytes when cleared.

The fast track storage calculation returns a non-zero answer after
the storage has been cleared. The simplest workaround here is to
fake the size as 0 bytes in the view after cache clearing.

It will not be zero if the user exits and comes back, but this
should be fine.

MARK IT ZERO!

Change-Id: Ia012c2cf2842040d5eac3d4a72539ec7dcfb9570
Fixes: 34965659
Test: Settings Robotest
(cherry picked from commit bf1f8e9ca74736ea2d795ce918e45c972dfea52c)

7 years agoMerge "Add shadow to AdaptiveIconDrawables using View level shadow" into oc-dev
Hyunyoung Song [Tue, 11 Apr 2017 18:11:48 +0000 (18:11 +0000)]
Merge "Add shadow to AdaptiveIconDrawables using View level shadow" into oc-dev

7 years agoFix sketchy usage of new PreferenceScreen
Tony Mantler [Mon, 10 Apr 2017 22:20:59 +0000 (15:20 -0700)]
Fix sketchy usage of new PreferenceScreen

Things get weird if you don't use PreferenceManager#createPreferenceScreen

Bug: 37216851
Test: Compiles and runs
Change-Id: I7cebec133c4f27f7eeda83c95d8acb4823f67dc4

7 years agoMerge "Add textAlignment for preference_widget_summary" into oc-dev
Lei Yu [Tue, 11 Apr 2017 17:10:07 +0000 (17:10 +0000)]
Merge "Add textAlignment for preference_widget_summary" into oc-dev

7 years agoRevert "Revert "Convert BT preference to use TwoTargetPreference""
Fan Zhang [Mon, 10 Apr 2017 23:26:42 +0000 (16:26 -0700)]
Revert "Revert "Convert BT preference to use TwoTargetPreference""

This reverts commit 457c3cbec2cf38a671a101e9c9426b318aff1564.

Revert with fix/test.
The fix is that we removed DevicePickerFragment#initDevicePreference(),
which incorrectly set a useless widget on preference, and removes the
gear icon from preference, preventing bind() call to go through

Change-Id: Ia70cdb51d13cca6035a4e7fe8008d195f7f00c6e
Fix: 36511169
Test: runtest --path tests/app/src/com/android/settings/bluetooth/DevicePickerActivityTest.java

7 years agoUpdate string char limits
Fan Zhang [Mon, 10 Apr 2017 22:42:00 +0000 (15:42 -0700)]
Update string char limits

Fix: 36852178
Fix: 36851715
Fix: 36657781
Fix: 36700992
Fix: 36650008
Fix: 36657636
Test: builds and robotests
Change-Id: I14c21b2cb37b911c14dff40343fa094d7150f201

7 years agoMerge "Add "Current screen saver" string" into oc-dev
TreeHugger Robot [Tue, 11 Apr 2017 15:44:29 +0000 (15:44 +0000)]
Merge "Add "Current screen saver" string" into oc-dev

7 years agoMerge "Update text for security preference." into oc-dev
Doris Ling [Tue, 11 Apr 2017 15:24:43 +0000 (15:24 +0000)]
Merge "Update text for security preference." into oc-dev

7 years agoMerge "Allow user to specify EAP-SIM under PEAP" into oc-dev
TreeHugger Robot [Tue, 11 Apr 2017 07:22:51 +0000 (07:22 +0000)]
Merge "Allow user to specify EAP-SIM under PEAP" into oc-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 11 Apr 2017 02:55:40 +0000 (19:55 -0700)]
Import translations. DO NOT MERGE

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

7 years agoAdd textAlignment for preference_widget_summary
jackqdyulei [Fri, 7 Apr 2017 19:09:40 +0000 (12:09 -0700)]
Add textAlignment for preference_widget_summary

To make sure the text are aligned to the "viewEnd".

Bug: 37159537
Test: Screenshot
Change-Id: Ifab03dda6c9954d6b83ce4db0708303e0c5d32bd

7 years agoMerge "Remove Night Light suggestion. DO NOT MERGE" into oc-dev
TreeHugger Robot [Tue, 11 Apr 2017 01:24:08 +0000 (01:24 +0000)]
Merge "Remove Night Light suggestion. DO NOT MERGE" into oc-dev

7 years agoMerge "Reindex on OTA and locale change" into oc-dev
TreeHugger Robot [Mon, 10 Apr 2017 23:54:54 +0000 (23:54 +0000)]
Merge "Reindex on OTA and locale change" into oc-dev

7 years agoRemove Night Light suggestion. DO NOT MERGE
Sean Stout [Mon, 10 Apr 2017 22:31:25 +0000 (15:31 -0700)]
Remove Night Light suggestion. DO NOT MERGE

Test: make ROBOTEST_FILTER=SettingsSuggestionsTest RunSettingsRoboTests
Bug: 37207263
Change-Id: Ieeb660abdcbe07cb66f1ae3b6e86d8fd27a26478

7 years agoAdd placeholder summary to stablize app info pref height
Fan Zhang [Mon, 10 Apr 2017 23:17:33 +0000 (16:17 -0700)]
Add placeholder summary to stablize app info pref height

Change-Id: I6a62a94bb02271cdde9873745432aa829d6d4460
Fix: 36900036
Test: rebuild and existing robotests

7 years agoUpdate text for security preference.
Doris Ling [Mon, 10 Apr 2017 22:21:18 +0000 (15:21 -0700)]
Update text for security preference.

Swap location to screen lock in title and summary.

Bug: 37161482
Test: builds
Change-Id: Ie95f1d8c984587bf3898a431edde0868b0e17fce

7 years agoAdd shadow to AdaptiveIconDrawables using View level shadow
Hyunyoung Song [Thu, 6 Apr 2017 18:04:53 +0000 (11:04 -0700)]
Add shadow to AdaptiveIconDrawables using View level shadow

Test: $ make RunSettingsRoboTests -j40
RunSettingsRoboTests: ......
RunSettingsRoboTests: Time: 151.394
RunSettingsRoboTests:
RunSettingsRoboTests: OK (1355 tests)
RunSettingsRoboTests:

Bug: 36088922

Change-Id: I5b5651d2305ab65e1358609a4110e248dee9eab2

7 years agoReindex on OTA and locale change
Matthew Fritze [Mon, 3 Apr 2017 18:35:48 +0000 (11:35 -0700)]
Reindex on OTA and locale change

When the user gets an OTA or changes language, settings
will clear the database and reindex it.

Test: make RunSettingsRoboTests
Change-Id: I379ece86b2d41d673bbbffbcf947774f3ccd4cb9
Fixes: 36859162

7 years agoAdd "Current screen saver" string
Evan Laird [Mon, 10 Apr 2017 20:31:06 +0000 (16:31 -0400)]
Add "Current screen saver" string

This one was missed originally.

Test: none
Bug:35031991
Change-Id: I9b1bff9a9c834c306fe03e4405950bc1ac3ac3ac

7 years agoMerge "Fix the intent to launch storage details." into oc-dev
Garfield Tan [Mon, 10 Apr 2017 20:24:19 +0000 (20:24 +0000)]
Merge "Fix the intent to launch storage details." into oc-dev

7 years agoSend ACTION_KEYCHAIN_CHANGED when installing a cert
Chad Brubaker [Mon, 10 Apr 2017 17:26:46 +0000 (10:26 -0700)]
Send ACTION_KEYCHAIN_CHANGED when installing a cert

Change-Id: I846162511b5d75d937d4c543d47d535894e1d688
Fixes: 36492950
Test: Verified that installing a cert via UI triggers the broadcast

7 years agoMerge "Add user icon to the other user preferences." into oc-dev
Daniel Nishi [Mon, 10 Apr 2017 17:27:24 +0000 (17:27 +0000)]
Merge "Add user icon to the other user preferences." into oc-dev

7 years agoMerge "Add log for BatteryUtils" into oc-dev
Lei Yu [Mon, 10 Apr 2017 17:06:44 +0000 (17:06 +0000)]
Merge "Add log for BatteryUtils" into oc-dev

7 years agoSort channels and groups by id
Julia Reynolds [Mon, 10 Apr 2017 16:47:13 +0000 (12:47 -0400)]
Sort channels and groups by id

Test: manual
Change-Id: I3949e9eb7b901bd897d848627682878937aac0c1

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Sat, 8 Apr 2017 08:06:36 +0000 (08:06 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoFix the intent to launch storage details.
Garfield Tan [Sat, 8 Apr 2017 01:42:32 +0000 (18:42 -0700)]
Fix the intent to launch storage details.

Test: Manual tests & robo tests.
Bug: 37164357
Change-Id: Ia73a6286edadb9c9e1691dcc0c9e391ce2981dee

7 years agoAdd user icon to the other user preferences.
Daniel Nishi [Fri, 24 Mar 2017 19:23:27 +0000 (12:23 -0700)]
Add user icon to the other user preferences.

This icon is loaded in the background to avoid doing IO on
the main thread. Once we know there are more users and also
have the icon loaded, we add the category to the view.

Fixes: 36252572
Test: Robotest

Change-Id: Ib50287bb7ed323f22fbe407b56be1bf2fe98f121

7 years agoMerge "Extend the translation limit to 60" into oc-dev
Lei Yu [Fri, 7 Apr 2017 21:03:15 +0000 (21:03 +0000)]
Merge "Extend the translation limit to 60" into oc-dev

7 years agoMerge "renaming/removing fingerprints should be reflected in UI immediately" into...
TreeHugger Robot [Fri, 7 Apr 2017 20:55:10 +0000 (20:55 +0000)]
Merge "renaming/removing fingerprints should be reflected in UI immediately" into oc-dev

7 years agoMerge "Add summary text to Lock screen preferences." into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 20:03:35 +0000 (20:03 +0000)]
Merge "Add summary text to Lock screen preferences." into oc-dev

7 years agoMerge "Increase char limit for adaptive brightness text." into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 19:55:53 +0000 (19:55 +0000)]
Merge "Increase char limit for adaptive brightness text." into oc-dev

7 years agoMerge "Update the automatic storage management preferences." into oc-dev
Daniel Nishi [Fri, 7 Apr 2017 19:38:26 +0000 (19:38 +0000)]
Merge "Update the automatic storage management preferences." into oc-dev

7 years agorenaming/removing fingerprints should be reflected in UI immediately
Kevin Chyn [Thu, 6 Apr 2017 18:11:57 +0000 (11:11 -0700)]
renaming/removing fingerprints should be reflected in UI immediately

Fixes 30252265
Test: manual

Change-Id: I5b1bcfff6a6a9ae407db6084562d0244cc5c45c2

7 years agoAdd log for BatteryUtils
jackqdyulei [Wed, 5 Apr 2017 22:21:36 +0000 (15:21 -0700)]
Add log for BatteryUtils

This cl add logs to get more data for app usage time.

Also refactor BatteryUtils to singleton pattern because we need
to extract package name from uid.

Bug: 36909166
Test: RunSettingsRoboTests
Change-Id: I6ede354035c46e46cb856b7cf57bd1b7ccbd6d4f

7 years agoAdd summary text to Lock screen preferences.
Doris Ling [Thu, 6 Apr 2017 23:01:37 +0000 (16:01 -0700)]
Add summary text to Lock screen preferences.

Each time we refresh the security preference page, get the current
summary text from "On the lock screen" and populate to Lock screen
preferences summary.

Bug: 36540633
Test: make RunSettingsRoboTests
Change-Id: I317e3892b35b30981b62f7b7aee9cfdacd04a3ed

7 years agoMerge "Remove misc data in battery main page." into oc-dev
Lei Yu [Fri, 7 Apr 2017 17:37:17 +0000 (17:37 +0000)]
Merge "Remove misc data in battery main page." into oc-dev

7 years agoExtend the translation limit to 60
jackqdyulei [Fri, 7 Apr 2017 17:29:58 +0000 (10:29 -0700)]
Extend the translation limit to 60

Bug: 36830908
Test: Build
Change-Id: Ib7664ac4e625701d928359104ef5e75d158e74ee

7 years agoAllow user to specify EAP-SIM under PEAP
Paul Stewart [Thu, 26 Jan 2017 04:54:27 +0000 (20:54 -0800)]
Allow user to specify EAP-SIM under PEAP

Allow the user to select EAP-SIM methods as a second phase after
an outer PEAP authentication.  This hides the "identity" and
"password" fields if one of these methods is selected.

Bug: 34835771
Test: Manual: Connect to PEAP/EAP-SIM AP
Change-Id: I7e448fbebd352a4b0facbfafa74afaff6b704386

7 years agoIncrease char limit for adaptive brightness text.
Andrew Sapperstein [Thu, 6 Apr 2017 19:46:00 +0000 (12:46 -0700)]
Increase char limit for adaptive brightness text.

Change-Id: I4bab996d94812cf9a2a148ef3dc1119c5dab7a8e
Fixes: 37014409
Test: string change

7 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 7 Apr 2017 16:27:04 +0000 (09:27 -0700)]
Import translations. DO NOT MERGE

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

7 years agoMerge "Omit using ctor of PreferenceViewHolder in tests." into oc-dev
Filip Pavlis [Fri, 7 Apr 2017 10:31:39 +0000 (10:31 +0000)]
Merge "Omit using ctor of PreferenceViewHolder in tests." into oc-dev

7 years agoMerge "Don't enable a11y service if scary dialog obscured" into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 05:47:32 +0000 (05:47 +0000)]
Merge "Don't enable a11y service if scary dialog obscured" into oc-dev

7 years agoMerge "Don't crash if we get a onRemove() callback from Fingerprint" into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 04:47:59 +0000 (04:47 +0000)]
Merge "Don't crash if we get a onRemove() callback from Fingerprint" into oc-dev

7 years agoMerge "Add summary text for Encryption & credential." into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 02:40:12 +0000 (02:40 +0000)]
Merge "Add summary text for Encryption & credential." into oc-dev

7 years agoMerge "Add test to verify no crash on selecting brightness level." into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 02:28:46 +0000 (02:28 +0000)]
Merge "Add test to verify no crash on selecting brightness level." into oc-dev

7 years agoMerge "Update USb preference controller to use the new summary texts." into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 02:27:54 +0000 (02:27 +0000)]
Merge "Update USb preference controller to use the new summary texts." into oc-dev

7 years agoMerge "Update summary text for Trust agent." into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 02:09:35 +0000 (02:09 +0000)]
Merge "Update summary text for Trust agent." into oc-dev

7 years agoMerge "Add subtext to Default apps." into oc-dev
TreeHugger Robot [Fri, 7 Apr 2017 01:41:50 +0000 (01:41 +0000)]
Merge "Add subtext to Default apps." into oc-dev