OSDN Git Service

android-x86/packages-apps-Settings.git
7 years agoAdd Advanced button to Apps & notifications page.
Doris Ling [Mon, 13 Mar 2017 21:36:12 +0000 (14:36 -0700)]
Add Advanced button to Apps & notifications page.

- set the progressive mixin to show 3 items initially.

Change-Id: I874982e9b230d5b6afe4f2ced8e8c8c4dd84ba79
Fix: 36177949
Test: visual

7 years agoMerge "Specify disallowed action in AdminSupportDetailsDialog"
TreeHugger Robot [Mon, 13 Mar 2017 20:11:35 +0000 (20:11 +0000)]
Merge "Specify disallowed action in AdminSupportDetailsDialog"

7 years agoMerge "Add optional feedback button for settings search"
Matthew Fritze [Mon, 13 Mar 2017 19:39:49 +0000 (19:39 +0000)]
Merge "Add optional feedback button for settings search"

7 years agoMerge "Add battery percentage switch to display settings"
TreeHugger Robot [Mon, 13 Mar 2017 19:09:45 +0000 (19:09 +0000)]
Merge "Add battery percentage switch to display settings"

7 years agoMerge "Revert "Accessibility settings refresh.""
Saige McVea [Mon, 13 Mar 2017 18:30:40 +0000 (18:30 +0000)]
Merge "Revert "Accessibility settings refresh.""

7 years agoRevert "Accessibility settings refresh."
Saige McVea [Mon, 13 Mar 2017 18:04:00 +0000 (18:04 +0000)]
Revert "Accessibility settings refresh."

This reverts commit 89a5c629631c8ffbfd3f32d2f7b3ebd978b0b992.

Change-Id: I97e420e4f78ee3e48b8aa10c8f5c1e2861032fab

7 years agoSpecify disallowed action in AdminSupportDetailsDialog
phweiss [Wed, 8 Mar 2017 18:55:48 +0000 (19:55 +0100)]
Specify disallowed action in AdminSupportDetailsDialog

The title of an AdminSupportDetailsDialog "Action not allowed" is
replaced by specialized strings such as "Screenshot not allowed" if
the action is specified by the extra DevicePolicyManager.EXTRA_RESTRICTION
in the calling intent.

This is done because these intents can be created by
third-party apps via the new public API
DevicePolicyManager.createAdminSupportIntent, and the disallowed action
might not be obvious in context of the third party app.

Bug: 31215663
Test: CtsVerifier in separate CL
Change-Id: I0c9e360cea34bec8eda29d86c5bf55d8c38c47ec

7 years agoMerge "Add logging to Bluetooth settings."
Doris Ling [Mon, 13 Mar 2017 17:24:13 +0000 (17:24 +0000)]
Merge "Add logging to Bluetooth settings."

7 years agoAdd optional feedback button for settings search
Matthew Fritze [Tue, 21 Feb 2017 18:20:40 +0000 (10:20 -0800)]
Add optional feedback button for settings search

Adds mechanism for adding a button in the search screen
and stubs to show and hide the button.

Fixes: 35164702
Test: make -j40 RunSettingsRoboTests
Change-Id: I34d245e84b62cedf2dc6e5de4ea336c5a99ffd31

7 years agoMerge "WebView implementation Dev setting: Show the version number after name"
Gustav Sennton [Mon, 13 Mar 2017 14:25:27 +0000 (14:25 +0000)]
Merge "WebView implementation Dev setting: Show the version number after name"

7 years agoMerge commit '11324dcedfd9d4cccba0b1e493c44fe80bb05da4' into manual_merge_11324dcedf
Jeff Sharkey [Sun, 12 Mar 2017 23:22:21 +0000 (17:22 -0600)]
Merge commit '11324dcedfd9d4cccba0b1e493c44fe80bb05da4' into manual_merge_11324dcedf

Change-Id: Icd2605fd1572dd21bb27a7d42bc62ba9b06bd9ad

7 years agoMerge "Fix network name for Passpoint network" am: 742bd03f12
Jeff Sharkey [Sun, 12 Mar 2017 23:13:42 +0000 (23:13 +0000)]
Merge "Fix network name for Passpoint network" am: 742bd03f12
am: a41debeacd

Change-Id: I6cffc06b4d792501fd3cc158cbc119b3c388c9be

7 years agoMerge "Fix network name for Passpoint network"
Jeff Sharkey [Sun, 12 Mar 2017 23:09:11 +0000 (23:09 +0000)]
Merge "Fix network name for Passpoint network"
am: 742bd03f12

Change-Id: Ia9ae9d6034f72be5f8d34340efce5b52d71fa6c2

7 years agoMerge "Fix network name for Passpoint network"
Jeff Sharkey [Sun, 12 Mar 2017 23:03:20 +0000 (23:03 +0000)]
Merge "Fix network name for Passpoint network"

7 years agoMerge "Add setting for the assist gesture sensitivity control."
TreeHugger Robot [Sat, 11 Mar 2017 03:17:37 +0000 (03:17 +0000)]
Merge "Add setting for the assist gesture sensitivity control."

7 years agoMerge "Add DynamicAvailabilityPreferenceController"
TreeHugger Robot [Sat, 11 Mar 2017 03:07:30 +0000 (03:07 +0000)]
Merge "Add DynamicAvailabilityPreferenceController"

7 years agoAdd setting for the assist gesture sensitivity control.
Philip Quinn [Mon, 6 Mar 2017 21:37:42 +0000 (13:37 -0800)]
Add setting for the assist gesture sensitivity control.

The sensitivity control is only visible when the assist gesture itself
is enabled.

Test: make -j RunSettingsRoboTests; manual test on supported/unsupported
      configurations.

Change-Id: I584975794c5cf9d788e93167292d142ae2faf1c5

7 years agoMerge "Fix the Storage settings title."
TreeHugger Robot [Sat, 11 Mar 2017 00:01:14 +0000 (00:01 +0000)]
Merge "Fix the Storage settings title."

7 years agoMerge "Use color accent as background color for app info pages."
TreeHugger Robot [Fri, 10 Mar 2017 23:58:29 +0000 (23:58 +0000)]
Merge "Use color accent as background color for app info pages."

7 years agoMerge "Disable wifi display activity if device can't support it."
TreeHugger Robot [Fri, 10 Mar 2017 23:35:26 +0000 (23:35 +0000)]
Merge "Disable wifi display activity if device can't support it."

7 years agoMerge "Refactor sound setting -> work profile initialization logic."
Fan Zhang [Fri, 10 Mar 2017 22:39:30 +0000 (22:39 +0000)]
Merge "Refactor sound setting -> work profile initialization logic."

7 years agoAdd DynamicAvailabilityPreferenceController
Bartosz Fabianowski [Fri, 10 Mar 2017 22:23:17 +0000 (23:23 +0100)]
Add DynamicAvailabilityPreferenceController

This is a PreferenceController that correctly handles the case of
isAvailable() changing dynamically, while the Settings page containing
the preference in question is open.

Bug: 32692748
Test: m RunSettingsRoboTests

Change-Id: I95e22bbc7bdc17bacd2bf6b82fa5b535494d5bce

7 years agoUse color accent as background color for app info pages.
Doris Ling [Fri, 10 Mar 2017 22:15:14 +0000 (14:15 -0800)]
Use color accent as background color for app info pages.

Bug: 34977561
Test: visual
Change-Id: Idc03d33a318d7908a47e76738f7d098ab60fb0fe

7 years agoMerge "Update the Manage Storage preference."
TreeHugger Robot [Fri, 10 Mar 2017 22:01:57 +0000 (22:01 +0000)]
Merge "Update the Manage Storage preference."

7 years agoFix the Storage settings title.
Daniel Nishi [Thu, 9 Mar 2017 01:36:30 +0000 (17:36 -0800)]
Fix the Storage settings title.

The wrong resource id was passed in for the title.

Change-Id: I5d4bc4d127903f58c0df671504a140fe883c2f17
Fixes: 35961000,36126458
Test: Manual

7 years agoDisable wifi display activity if device can't support it.
Fan Zhang [Fri, 10 Mar 2017 20:25:35 +0000 (12:25 -0800)]
Disable wifi display activity if device can't support it.

Change-Id: I19ab9d0d480b66e56b87cef7c49d4391a3608111
Fix: 36069170
Test: make RunSettingsRoboTests

7 years agoAdd battery percentage switch to display settings
Evan Laird [Fri, 10 Mar 2017 15:35:20 +0000 (10:35 -0500)]
Add battery percentage switch to display settings

Test: mmma packages/apps/Settings/tests/robotests
Bug:32539932
Change-Id: I08c1d0f3b6cb8be7d1456268498356f7ed833e5c

7 years agoMerge "Hide "Factory reset" item for secondary users"
Anton Philippov [Fri, 10 Mar 2017 19:05:18 +0000 (19:05 +0000)]
Merge "Hide "Factory reset" item for secondary users"

7 years agoRefactor code incompatible with Mockito 2.7.13
Paul Duffin [Fri, 10 Mar 2017 14:59:09 +0000 (14:59 +0000)]
Refactor code incompatible with Mockito 2.7.13

Bug: 32912773
Test: make checkbuild
Change-Id: Idcd89438aa05ed2d010934cc6613763d4cfb9885

7 years agoWebView implementation Dev setting: Show the version number after name
Gustav Sennton [Fri, 10 Mar 2017 12:22:06 +0000 (12:22 +0000)]
WebView implementation Dev setting: Show the version number after name

Show the package version of each WebView implementation after their
package name in the WebView Implementation Dev Setting. Showing a
package version is useful for debugging purposes.

Bug: 35621558
Test: run make RunSettingsRoboTests
Test: Ensure package version is shown in titles of items in WebView
Implementation Dev Setting.
Change-Id: If195dd87aebeac1783600b7c9f376ff8e791c3be

7 years agoMerge "Replaced auto-fill by autofill to keep it consistent with API style."
TreeHugger Robot [Fri, 10 Mar 2017 07:05:35 +0000 (07:05 +0000)]
Merge "Replaced auto-fill by autofill to keep it consistent with API style."

7 years agoMerge "Fix misc style issue in "Open by default" screen."
TreeHugger Robot [Fri, 10 Mar 2017 03:40:39 +0000 (03:40 +0000)]
Merge "Fix misc style issue in "Open by default" screen."

7 years agoAdd logging to Bluetooth settings.
Doris Ling [Fri, 10 Mar 2017 01:35:22 +0000 (17:35 -0800)]
Add logging to Bluetooth settings.

- Add logging when users selects the listed devices to connect or
disconnect, and when connection error is shown
- Update the event for the top level bluetooth master switch toggle to
have its own event.

Change-Id: I58f21256fdd07fad9d733ff987ff38df1148f4f8
Fix: 35065258
Test: make RunSettingsRoboTests

7 years agoFix misc style issue in "Open by default" screen.
Fan Zhang [Fri, 10 Mar 2017 02:10:07 +0000 (18:10 -0800)]
Fix misc style issue in "Open by default" screen.

Fix: 35960603
Test: visual

Change-Id: I6d3f471bb31e8c945d4d3346ad9512cda095ed64

7 years agoRefactor sound setting -> work profile initialization logic.
Fan Zhang [Fri, 10 Mar 2017 00:27:22 +0000 (16:27 -0800)]
Refactor sound setting -> work profile initialization logic.

- Some formatting change
- Merge work profile sound settings into main sound setting xml file, and
  use existing WorkCategory to host it. This category automatically hides
  everything within if user is not using work profile.
- Remove logic for manually populating work profile sound setting into
  the UI, thus removing the animation glitch when expanding advanced
  button.

Change-Id: I90459e5cd1d3d20a97ea3629e143ebf13dbd0f76
Fix: 35959624
Test: make RunSettingsRoboTests

7 years agoMisc fixes
Fan Zhang [Thu, 9 Mar 2017 21:50:29 +0000 (13:50 -0800)]
Misc fixes

- Remove tiny icon in bluetooth subheader
- Turn new search on

Fix: 35917435
Test: make RunSettingsRoboTests

Change-Id: I97a02319108a46a0c3df2295ddec49d47f13b597

7 years agoresolve merge conflicts of 75ae46d035 to lmp-mr1-dev am: e24780ed4c am: 5c4276a258...
Dmitry Dementyev [Thu, 9 Mar 2017 18:35:40 +0000 (18:35 +0000)]
resolve merge conflicts of 75ae46d035 to lmp-mr1-dev am: e24780ed4c am: 5c4276a258 am: 3a5e567ab9 am: b7e2545217 am: def3eddb43 am: 3964c51bf2  -s ours am: f1fb452863 am: 2569925151 am: efb9f74486 am: d5f3ae5cac am: 0fb3d55e3a
am: dd48f602bb

Change-Id: I69d192ea59bd5c2b79abd513e88aecc78a0d6980

7 years agoresolve merge conflicts of 3964c51bf2 to nyc-dev am: 0f04a5a93f am: 8c5c5b5cec am...
Dmitry Dementyev [Thu, 9 Mar 2017 18:35:27 +0000 (18:35 +0000)]
resolve merge conflicts of 3964c51bf2 to nyc-dev am: 0f04a5a93f am: 8c5c5b5cec am: 3b5b2d6d20 am: c28fb3e071 am: 5330df501f
am: 7a3593cbc6  -s ours

Change-Id: Iab4a431d43dade3cbe26b5be7e4166f090a26d2e

7 years agoresolve merge conflicts of 75ae46d035 to lmp-mr1-dev am: e24780ed4c am: 5c4276a258...
Dmitry Dementyev [Thu, 9 Mar 2017 18:32:28 +0000 (18:32 +0000)]
resolve merge conflicts of 75ae46d035 to lmp-mr1-dev am: e24780ed4c am: 5c4276a258 am: 3a5e567ab9 am: b7e2545217 am: def3eddb43 am: 3964c51bf2  -s ours am: f1fb452863 am: 2569925151 am: efb9f74486 am: d5f3ae5cac
am: 0fb3d55e3a

Change-Id: I6c19c6e9ee3586ee954ffe6fc195072c073b489e

7 years agoresolve merge conflicts of 3964c51bf2 to nyc-dev am: 0f04a5a93f am: 8c5c5b5cec am...
Dmitry Dementyev [Thu, 9 Mar 2017 18:32:13 +0000 (18:32 +0000)]
resolve merge conflicts of 3964c51bf2 to nyc-dev am: 0f04a5a93f am: 8c5c5b5cec am: 3b5b2d6d20 am: c28fb3e071
am: 5330df501f

Change-Id: I32c0ac9a2a38b01417ccf9135b4bfc002af68cc7

7 years agoresolve merge conflicts of 75ae46d035 to lmp-mr1-dev am: e24780ed4c am: 5c4276a258...
Dmitry Dementyev [Thu, 9 Mar 2017 18:29:27 +0000 (18:29 +0000)]
resolve merge conflicts of 75ae46d035 to lmp-mr1-dev am: e24780ed4c am: 5c4276a258 am: 3a5e567ab9 am: b7e2545217 am: def3eddb43 am: 3964c51bf2  -s ours am: f1fb452863 am: 2569925151 am: efb9f74486
am: d5f3ae5cac

Change-Id: Iacd8197fe2d48921a7b5adc71298ae8a00bb871d

7 years agoresolve merge conflicts of 3964c51bf2 to nyc-dev am: 0f04a5a93f am: 8c5c5b5cec am...
Dmitry Dementyev [Thu, 9 Mar 2017 18:29:12 +0000 (18:29 +0000)]
resolve merge conflicts of 3964c51bf2 to nyc-dev am: 0f04a5a93f am: 8c5c5b5cec am: 3b5b2d6d20
am: c28fb3e071

Change-Id: I1944207165459d9bbd946eb6f30b18809a561c3c

7 years agoresolve merge conflicts of 75ae46d035 to lmp-mr1-dev am: e24780ed4c am: 5c4276a258...
Dmitry Dementyev [Thu, 9 Mar 2017 18:25:27 +0000 (18:25 +0000)]
resolve merge conflicts of 75ae46d035 to lmp-mr1-dev am: e24780ed4c am: 5c4276a258 am: 3a5e567ab9 am: b7e2545217 am: def3eddb43 am: 3964c51bf2  -s ours am: f1fb452863 am: 2569925151
am: efb9f74486

Change-Id: I947fecd7b54fac9c3253decff4d635cad7706baa

7 years agoresolve merge conflicts of 3964c51bf2 to nyc-dev am: 0f04a5a93f am: 8c5c5b5cec
Dmitry Dementyev [Thu, 9 Mar 2017 18:25:11 +0000 (18:25 +0000)]
resolve merge conflicts of 3964c51bf2 to nyc-dev am: 0f04a5a93f am: 8c5c5b5cec
am: 3b5b2d6d20

Change-Id: I52945a6de0678ae91a1eba0201dc252402146260

7 years agoresolve merge conflicts of 75ae46d035 to lmp-mr1-dev am: e24780ed4c am: 5c4276a258...
Dmitry Dementyev [Thu, 9 Mar 2017 18:22:27 +0000 (18:22 +0000)]
resolve merge conflicts of 75ae46d035 to lmp-mr1-dev am: e24780ed4c am: 5c4276a258 am: 3a5e567ab9 am: b7e2545217 am: def3eddb43 am: 3964c51bf2  -s ours am: f1fb452863
am: 2569925151

Change-Id: I9462ba01dda65034a82df27a0b7aaf2de14591b0

7 years agoresolve merge conflicts of 3964c51bf2 to nyc-dev am: 0f04a5a93f
Dmitry Dementyev [Thu, 9 Mar 2017 18:22:11 +0000 (18:22 +0000)]
resolve merge conflicts of 3964c51bf2 to nyc-dev am: 0f04a5a93f
am: 8c5c5b5cec

Change-Id: I56f7364b5b70fe41a5d09fbaf334c0e15f073750

7 years agoresolve merge conflicts of 75ae46d035 to lmp-mr1-dev am: e24780ed4c am: 5c4276a258...
Dmitry Dementyev [Thu, 9 Mar 2017 18:19:26 +0000 (18:19 +0000)]
resolve merge conflicts of 75ae46d035 to lmp-mr1-dev am: e24780ed4c am: 5c4276a258 am: 3a5e567ab9 am: b7e2545217 am: def3eddb43 am: 3964c51bf2  -s ours
am: f1fb452863

Change-Id: I074be985f7e09f1d7bac6936d7cadc25a9b8afba

7 years agoresolve merge conflicts of 3964c51bf2 to nyc-dev
Dmitry Dementyev [Thu, 9 Mar 2017 18:19:10 +0000 (18:19 +0000)]
resolve merge conflicts of 3964c51bf2 to nyc-dev
am: 0f04a5a93f

Change-Id: I5bb82c0b56e43903d10304007bc17165be3c23f9

7 years agoresolve merge conflicts of 75ae46d035 to lmp-mr1-dev am: e24780ed4c am: 5c4276a258...
Dmitry Dementyev [Thu, 9 Mar 2017 18:16:23 +0000 (18:16 +0000)]
resolve merge conflicts of 75ae46d035 to lmp-mr1-dev am: e24780ed4c am: 5c4276a258 am: 3a5e567ab9 am: b7e2545217 am: def3eddb43
am: 3964c51bf2  -s ours

Change-Id: I8f8c6bd49cc10addae1408f1cfb8b2200184a999

7 years agoMerge "Initialize injected Security preferences."
William Luh [Thu, 9 Mar 2017 17:08:11 +0000 (17:08 +0000)]
Merge "Initialize injected Security preferences."

7 years agoMerge "Update layout and strings for DO Disclosures"
TreeHugger Robot [Thu, 9 Mar 2017 12:33:05 +0000 (12:33 +0000)]
Merge "Update layout and strings for DO Disclosures"

7 years agoMerge "Add CA certs Privacy Settings page"
TreeHugger Robot [Thu, 9 Mar 2017 10:51:14 +0000 (10:51 +0000)]
Merge "Add CA certs Privacy Settings page"

7 years agoMerge "Misc fixes"
TreeHugger Robot [Thu, 9 Mar 2017 06:09:57 +0000 (06:09 +0000)]
Merge "Misc fixes"

7 years agoMerge "Change advaned button text color"
TreeHugger Robot [Thu, 9 Mar 2017 04:07:01 +0000 (04:07 +0000)]
Merge "Change advaned button text color"

7 years agoMerge "Fix layout for time zone picker"
TreeHugger Robot [Thu, 9 Mar 2017 03:57:22 +0000 (03:57 +0000)]
Merge "Fix layout for time zone picker"

7 years agoMerge "Update theme setting to not require reboot"
TreeHugger Robot [Thu, 9 Mar 2017 03:14:52 +0000 (03:14 +0000)]
Merge "Update theme setting to not require reboot"

7 years agoChange advaned button text color
Fan Zhang [Thu, 9 Mar 2017 02:14:40 +0000 (18:14 -0800)]
Change advaned button text color

Test: visual
Change-Id: I5a7155ac9dfa8dc4b48ba17a937c9c4b03eb2868

7 years agoMerge "Adding app specific screen for "External Sources""
TreeHugger Robot [Thu, 9 Mar 2017 01:21:55 +0000 (01:21 +0000)]
Merge "Adding app specific screen for "External Sources""

7 years agoUpdate theme setting to not require reboot
Jason Monk [Tue, 7 Mar 2017 20:59:36 +0000 (15:59 -0500)]
Update theme setting to not require reboot

Add calls into the OverlayManagerService to update the overlays
directly and remove reboot dialog.

Test: make RunSettingsRobotTests
Change-Id: I92841e643eab70b4b194f60cce95ce3cedb75972
Fixes: 34701451

7 years agoresolve merge conflicts of 3964c51bf2 to nyc-dev
Dmitry Dementyev [Thu, 9 Mar 2017 00:32:00 +0000 (16:32 -0800)]
resolve merge conflicts of 3964c51bf2 to nyc-dev

Bug: 33123882
Test: manual tests
Merged-In: If68343d155364654fa7db55ace3fb3c4db508c7e
Change-Id: I17ceca883819a161c4eab2a414abf0b64c320378

7 years agoMerge "Add dividers on a few preferences"
TreeHugger Robot [Thu, 9 Mar 2017 01:03:10 +0000 (01:03 +0000)]
Merge "Add dividers on a few preferences"

7 years agoInitialize injected Security preferences.
William Luh [Wed, 8 Mar 2017 19:44:54 +0000 (11:44 -0800)]
Initialize injected Security preferences.

Previously a default "G" icon was loaded before the injected ones and
this would be visually jarring. Also the text summary would cause the
titles to shift up, so now load an empty icon and empty summary so no
more jarring visual effects.

Bug: 35994047
Test: make RunSettingsRoboTests
Change-Id: Ia06535215432fe350a3bb06f541e817a566772e0

7 years agoFix layout for time zone picker
Fan Zhang [Wed, 8 Mar 2017 23:59:45 +0000 (15:59 -0800)]
Fix layout for time zone picker

Change-Id: I2f1dedac7d747901978ef5d4a1a58bae2fa02921
Fix: 35856915
Test: make RunSettingsRoboTests

7 years agoMisc fixes
Fan Zhang [Wed, 8 Mar 2017 17:24:45 +0000 (09:24 -0800)]
Misc fixes

- Deprecate CopyablePreference
- Update search icon for connected device page

Fix: 36006104
Fix: 35948464
Test: make RunSettingsRoboTests

Change-Id: I0f48028b50d347484b4dd2c7844e782d374715d4

7 years agoAdd dividers on a few preferences
Fan Zhang [Wed, 8 Mar 2017 21:29:45 +0000 (13:29 -0800)]
Add dividers on a few preferences

Fix: 36023418
Fix: 36058273

Test: visual
- On top of emergency preference
- On top of footer preference

Change-Id: Iefbbf0ad410d46c466f919ecb60b572dd6f1ea28

7 years agoAdd background activity toggle in Battery settings
jackqdyulei [Mon, 6 Mar 2017 23:49:04 +0000 (15:49 -0800)]
Add background activity toggle in Battery settings

We will show this preference only if the app is target prior to O
(targetSdk < O)

Bug: 33454801
Test: RunSettingsRoboTests
Change-Id: Ibd6a2147b8e7b49d2b7e3176296dd9b91ee4cc6f

7 years agoMerge "Misc fix for secondary user"
TreeHugger Robot [Wed, 8 Mar 2017 22:32:45 +0000 (22:32 +0000)]
Merge "Misc fix for secondary user"

7 years agoMerge "Show Search button in menu of Wifi Preferences page."
Stephen Chen [Wed, 8 Mar 2017 22:24:51 +0000 (22:24 +0000)]
Merge "Show Search button in menu of Wifi Preferences page."

7 years agoMerge "Remove refresh button from WifiSettings."
Stephen Chen [Wed, 8 Mar 2017 21:46:58 +0000 (21:46 +0000)]
Merge "Remove refresh button from WifiSettings."

7 years agoReplaced auto-fill by autofill to keep it consistent with API style.
Felipe Leme [Tue, 7 Mar 2017 16:58:15 +0000 (08:58 -0800)]
Replaced auto-fill by autofill to keep it consistent with API style.

To keep backward compatibility, it looks for the new service (AutofillService),
then falls back to the old one (AutoFillService) if not found.

Bug: 35956626
Bug: 36024626
Test: manual verification with a custom service
Test: RunSettingsRoboTests passes

Change-Id: I64112ac5d796e94866e632ec8ea79a3fb13e3d9b

7 years agoMisc fix for secondary user
Fan Zhang [Wed, 8 Mar 2017 17:24:45 +0000 (09:24 -0800)]
Misc fix for secondary user

- Theme fix: action bar and status bar color now have enough contrast
  for SUW theme.
- Fix a ConcurrentModificationError when switching between users
  quickly.

Change-Id: If31f88e36f1d4c5d7f90bc9d128041f0e0a81ff9
Fix: 35948464
Test: make RunSettingsRoboTests

7 years agoMerge "Create NetworkScorerPicker preference controller to set preference summary."
Stephen Chen [Wed, 8 Mar 2017 21:04:43 +0000 (21:04 +0000)]
Merge "Create NetworkScorerPicker preference controller to set preference summary."

7 years agoShow Search button in menu of Wifi Preferences page.
Stephen Chen [Wed, 8 Mar 2017 20:38:06 +0000 (12:38 -0800)]
Show Search button in menu of Wifi Preferences page.

Bug: 36066060
Change-Id: Ia40ca8750cfc5233926b6156bb9262b071bb3b85
Test: verify on device.

7 years agoRemove refresh button from WifiSettings.
Stephen Chen [Wed, 8 Mar 2017 19:55:28 +0000 (11:55 -0800)]
Remove refresh button from WifiSettings.

Bug: 34891524
Test: b/34673204 for instrumentation tests. Verified button is removed.
Change-Id: I0b30d36bd6b3f0b1361ef4f7dc775ed3545a7bdc

7 years agoMerge "SecuritySubSettings: Show trust agent label on lock timeout setting"
TreeHugger Robot [Wed, 8 Mar 2017 19:54:10 +0000 (19:54 +0000)]
Merge "SecuritySubSettings: Show trust agent label on lock timeout setting"

7 years agoresolve merge conflicts of 75ae46d035 to lmp-mr1-dev am: e24780ed4c am: 5c4276a258...
Dmitry Dementyev [Wed, 8 Mar 2017 19:17:42 +0000 (19:17 +0000)]
resolve merge conflicts of 75ae46d035 to lmp-mr1-dev am: e24780ed4c am: 5c4276a258 am: 3a5e567ab9 am: b7e2545217
am: def3eddb43

Change-Id: I103086932e0f5071b1fa554a9e11a524b0d36d7d

7 years agoresolve merge conflicts of 75ae46d035 to lmp-mr1-dev am: e24780ed4c am: 5c4276a258...
Dmitry Dementyev [Wed, 8 Mar 2017 19:15:40 +0000 (19:15 +0000)]
resolve merge conflicts of 75ae46d035 to lmp-mr1-dev am: e24780ed4c am: 5c4276a258 am: 3a5e567ab9
am: b7e2545217

Change-Id: I40643a3a88c3ec9344604917dd0e765cd9078f29

7 years agoresolve merge conflicts of 75ae46d035 to lmp-mr1-dev am: e24780ed4c am: 5c4276a258
Dmitry Dementyev [Wed, 8 Mar 2017 19:13:10 +0000 (19:13 +0000)]
resolve merge conflicts of 75ae46d035 to lmp-mr1-dev am: e24780ed4c am: 5c4276a258
am: 3a5e567ab9

Change-Id: Ie14fd1ef35f12fffadf4e241e3cd8146a1063d8a

7 years agoresolve merge conflicts of 75ae46d035 to lmp-mr1-dev am: e24780ed4c
Dmitry Dementyev [Wed, 8 Mar 2017 19:11:13 +0000 (19:11 +0000)]
resolve merge conflicts of 75ae46d035 to lmp-mr1-dev am: e24780ed4c
am: 5c4276a258

Change-Id: Iba7445a15febacfd49ee8a415d8b5a02691b084b

7 years agoresolve merge conflicts of 75ae46d035 to lmp-mr1-dev
Dmitry Dementyev [Wed, 8 Mar 2017 19:08:40 +0000 (19:08 +0000)]
resolve merge conflicts of 75ae46d035 to lmp-mr1-dev
am: e24780ed4c

Change-Id: I2fe71909a4b3873fc4e14f7c28b50b0418f85dd1

7 years agoMerge "Set Tron log event on NetworkScorerPicker."
TreeHugger Robot [Wed, 8 Mar 2017 19:08:04 +0000 (19:08 +0000)]
Merge "Set Tron log event on NetworkScorerPicker."

7 years agoMerge "Fix disabled WebView packages being shown as enabled in Dev Setting."
TreeHugger Robot [Wed, 8 Mar 2017 18:39:02 +0000 (18:39 +0000)]
Merge "Fix disabled WebView packages being shown as enabled in Dev Setting."

7 years agoMerge "Fix a crash when transferring an app."
Daniel Nishi [Wed, 8 Mar 2017 18:19:25 +0000 (18:19 +0000)]
Merge "Fix a crash when transferring an app."

7 years agoUpdate the Manage Storage preference.
Daniel Nishi [Mon, 27 Feb 2017 21:22:08 +0000 (13:22 -0800)]
Update the Manage Storage preference.

Now, it is a master switch preference which can toggle the
automatic management on/off. This also removes the old
UI in the storage summary at the top.

Bug: 33199077
Test: SettingsRoboTests

Change-Id: I709fd2ca0687f760a5d97ad6bebe477b427b0464

7 years agoUpdate layout and strings for DO Disclosures
Bartosz Fabianowski [Wed, 8 Mar 2017 13:01:26 +0000 (14:01 +0100)]
Update layout and strings for DO Disclosures

This CL updates the DO Disclosures page (aka "Enterprise Privacy")
to incorporate UI layout and string changes proposed since
implementation began. There are no logic changes.

Test: make RunSettingsRoboTests
Bug: 32692748

Change-Id: I6ae972e77bd90eb9c61d6a516046a6eb09981ad3

7 years agoAdd CA certs Privacy Settings page
Bartosz Fabianowski [Mon, 6 Mar 2017 17:42:25 +0000 (18:42 +0100)]
Add CA certs Privacy Settings page

This CL adds information about CA certs installed by Device Owner and/or
Profile Owners to the Enterprise Privacy Setting page.

Test: make RunSettingsRoboTests
Bug: 32692748

Change-Id: I67bbe5af2b5b6326e4cd7224d0c6f17ab256dace

7 years agoAdding app specific screen for "External Sources"
Suprabh Shukla [Tue, 7 Mar 2017 01:51:05 +0000 (17:51 -0800)]
Adding app specific screen for "External Sources"

Adding app specific screen so that third party apps and package
installer can directly intent there to direct users to change the
setting. Also added automater tests.

Test: adb shell am instrument -w -e class \
'com.android.settings.applications.ExternalSourcesSettingsTest' \
'com.android.settings.tests/android.support.test.runner.AndroidJUnitRunner'

Bug: 33792674
Bug: 35487166

Change-Id: I5a481ee7032979df94a9e267ea74aa90da6a0906

7 years agoMerge "Display a hardware info dialog when click model number."
TreeHugger Robot [Wed, 8 Mar 2017 03:52:29 +0000 (03:52 +0000)]
Merge "Display a hardware info dialog when click model number."

7 years agoresolve merge conflicts of 75ae46d035 to lmp-mr1-dev
Dmitry Dementyev [Wed, 8 Mar 2017 03:47:52 +0000 (19:47 -0800)]
resolve merge conflicts of 75ae46d035 to lmp-mr1-dev

Change-Id: Ib80d006bbd7b76396b4941e001f5c69fb7b643fa
Bug: 33123882
Test: manual tests:

7 years agoCreate NetworkScorerPicker preference controller to set preference summary.
Stephen Chen [Tue, 7 Mar 2017 23:22:11 +0000 (15:22 -0800)]
Create NetworkScorerPicker preference controller to set preference summary.

Bug: 35854552
Test: make ROBOTEST_FILTER=NetworkScorerPickerPreferenceControllerTest
RunSettingsRoboTests -j40

Change-Id: I6dbd18abd67613ed0f85a52f1a3e13fdab0dca6c

7 years agoMerge "Hide video preference when video is not avaiable."
TreeHugger Robot [Wed, 8 Mar 2017 02:09:47 +0000 (02:09 +0000)]
Merge "Hide video preference when video is not avaiable."

7 years agoMerge "VPN screen clean up"
TreeHugger Robot [Wed, 8 Mar 2017 01:53:22 +0000 (01:53 +0000)]
Merge "VPN screen clean up"

7 years agoFix a crash when transferring an app.
Daniel Nishi [Thu, 2 Mar 2017 20:52:40 +0000 (12:52 -0800)]
Fix a crash when transferring an app.

This crash occurs because the background loader is loading
the storage for an app which is currently being moved off of
the device. In the native code which is calculating the storage,
it throws an InstallerException which is caught and rethrown as an
IllegalStateException.

We handle this in the view by reporting that we could not calculate
the size of the app.

Change-Id: I109b1be60ae60f8ef31b08cb4392b576261fa806
Fixes: 35922033
Test: Robotest

7 years agoMerge "Move the action buttons in installed app detail page in the preference xml."
TreeHugger Robot [Wed, 8 Mar 2017 00:30:13 +0000 (00:30 +0000)]
Merge "Move the action buttons in installed app detail page in the preference xml."

7 years agoVPN screen clean up
Fan Zhang [Wed, 8 Mar 2017 00:19:00 +0000 (16:19 -0800)]
VPN screen clean up

Fix: 35960168
Fix: 35856128
Test: visual
- Increase new vpn dialog padding
- Update VPN icon

Change-Id: Ibc7f4fc5b9eff24693a25542e7d3481fbe3c393d

7 years agoMerge "Use light status bar theme in confirm credential activity"
TreeHugger Robot [Wed, 8 Mar 2017 00:08:53 +0000 (00:08 +0000)]
Merge "Use light status bar theme in confirm credential activity"

7 years agoHide video preference when video is not avaiable.
Fan Zhang [Tue, 7 Mar 2017 23:58:35 +0000 (15:58 -0800)]
Hide video preference when video is not avaiable.

Change-Id: Ic4efc21d41b328591f2146534b7edecd86cb83ac
Fix: 35855399
Test: manual

7 years agoMerge "Fix test when running with ROBOTEST_FILTER option"
TreeHugger Robot [Tue, 7 Mar 2017 23:55:20 +0000 (23:55 +0000)]
Merge "Fix test when running with ROBOTEST_FILTER option"

7 years agoDisplay a hardware info dialog when click model number.
Fan Zhang [Tue, 7 Mar 2017 22:52:51 +0000 (14:52 -0800)]
Display a hardware info dialog when click model number.

Change-Id: I28eeb3e5c3ed290d4e03e0f3989adde0b966bede
Fix: 35851000
Test: make RunSettingsRoboTests

7 years agoSet Tron log event on NetworkScorerPicker.
Stephen Chen [Tue, 7 Mar 2017 23:32:47 +0000 (15:32 -0800)]
Set Tron log event on NetworkScorerPicker.

Bug: 35854268
Test: make
Change-Id: I5430fa6f76dc689a7358a23e7fad5fa8ab0469e6