OSDN Git Service

android-x86/packages-apps-Settings.git
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 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 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 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 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

7 years agoMerge "Fix a crash when opening uninstalled app detail page"
TreeHugger Robot [Tue, 7 Mar 2017 23:13:19 +0000 (23:13 +0000)]
Merge "Fix a crash when opening uninstalled app detail page"

7 years agoMerge "Update "make password visible" preference string"
TreeHugger Robot [Tue, 7 Mar 2017 23:06:01 +0000 (23:06 +0000)]
Merge "Update "make password visible" preference string"

7 years agoMerge "Use the screen context when adding preferences."
Daniel Nishi [Tue, 7 Mar 2017 22:55:05 +0000 (22:55 +0000)]
Merge "Use the screen context when adding preferences."

7 years agoMove the action buttons in installed app detail page in the preference xml.
Doris Ling [Tue, 7 Mar 2017 22:52:02 +0000 (14:52 -0800)]
Move the action buttons in installed app detail page in the preference xml.

- instead of dynamically creating the preferences for the action
buttons, add the actions items to the installed app details xml.
- rename the reference as it is no longer a footer.

Change-Id: I41b99f50bcc4916384555b5d9470ac937ff1d2ac
Fix: 36001501
Test: make RunSettingsRoboTests

7 years agoFix test when running with ROBOTEST_FILTER option
Fan Zhang [Tue, 7 Mar 2017 18:16:20 +0000 (10:16 -0800)]
Fix test when running with ROBOTEST_FILTER option

Change-Id: I864af10cecb6ad520c999a41be4f6ba6f6c378bf
Bug: 36024626
Test: make RunSettingsRoboTests

7 years agoMerge "Fix phishing attack in ChooseLockGeneric"
Steven Ng [Tue, 7 Mar 2017 21:49:31 +0000 (21:49 +0000)]
Merge "Fix phishing attack in ChooseLockGeneric"

7 years agoUse light status bar theme in confirm credential activity
Fan Zhang [Tue, 7 Mar 2017 21:44:18 +0000 (13:44 -0800)]
Use light status bar theme in confirm credential activity

Change-Id: I21443fd4eedf3ec9760e751a39d624e0c75530d5
Fix: 35996219
Test: visual

7 years agoUpdate "make password visible" preference string
Fan Zhang [Tue, 7 Mar 2017 21:35:29 +0000 (13:35 -0800)]
Update "make password visible" preference string

Change-Id: Iaeaf5382476e22bf934ea2b0a200ec5ed146a48d
Fix: 35139378
Test: visual

7 years agoFix a crash when opening uninstalled app detail page
Fan Zhang [Tue, 7 Mar 2017 20:12:38 +0000 (12:12 -0800)]
Fix a crash when opening uninstalled app detail page

Change-Id: I417e7eb6f9c857ace4e8047b226abe03a7c8248d
Fix: 36027848
Fix: 34392538
Test: make RunSettingsRoboTests

7 years agoMerge "Remove code that check for dashboard feature."
TreeHugger Robot [Tue, 7 Mar 2017 20:57:28 +0000 (20:57 +0000)]
Merge "Remove code that check for dashboard feature."

7 years agoFix phishing attack in ChooseLockGeneric
Steven Ng [Thu, 23 Feb 2017 10:34:28 +0000 (10:34 +0000)]
Fix phishing attack in ChooseLockGeneric

Test: 1) make and run SettingsTests. It passes.
      2) Manual test 1
         a) On a device supports fingerprint, set a password but not fingerprint.
         b) adb shell am start -a android.app.action.SET_NEW_PARENT_PROFILE_PASSWORD
         c) Confirm Lock password screen is shown
         d) Select "Skip fingerprint". There isn't a second lock password confirmation screen.
         e) A new password can be set successfully.
      3) Manual test 2
         a) Repeat step 2)a) - 2)c)
         b) Select "Fingerprint + PIN". There isn't a second lock password confirmation screen.
         c) A new password and fingerprint can be enrolled successfully.

Bug: 33059280
Change-Id: I1078c6e303fc41aeeb370e5d6518d1f16b5837f1

7 years agoFix disabled WebView packages being shown as enabled in Dev Setting.
Gustav Sennton [Thu, 23 Feb 2017 18:32:20 +0000 (18:32 +0000)]
Fix disabled WebView packages being shown as enabled in Dev Setting.

WebView packages that cannot be chosen as WebView implementation should
be shown as disabled in the 'WebView Implementation' Dev Setting.
Simplify the logic in DefaultAppInfo a little bit to avoid
special-casing for the WebView Dev setting.
Also add tests to ensure we are correctly disabling WebView packages in
the Dev setting and showing their disabled-reasons.

Bug: 35707106
Test: 'make RunSettingsRoboTests'
Test: Ensure disabled WebView packages show up as being disabled in the
'WebView Implementation' Dev Setting.
Change-Id: Ic2f5265c3451b6396e55b7bc29689c3d889ddb5e

7 years agoRemove code that check for dashboard feature.
Doris Ling [Sat, 4 Mar 2017 01:12:47 +0000 (17:12 -0800)]
Remove code that check for dashboard feature.

- remove DashboardFeatureProvider.isEnabled() and all relating code
and tests.

Bug: 35764802
Test: make RunSettingsRoboTests
Change-Id: If7796677abc8904b7436525836d50cdef38e37a4

7 years agoMerge "Add default IME to Privacy Settings page"
TreeHugger Robot [Tue, 7 Mar 2017 18:36:54 +0000 (18:36 +0000)]
Merge "Add default IME to Privacy Settings page"

7 years agoMerge "Align the profile calculation with other screens."
Daniel Nishi [Tue, 7 Mar 2017 17:49:28 +0000 (17:49 +0000)]
Merge "Align the profile calculation with other screens."

7 years agoMerge "Fast track the installed app details storage."
Daniel Nishi [Tue, 7 Mar 2017 17:48:53 +0000 (17:48 +0000)]
Merge "Fast track the installed app details storage."

7 years agoHide "Factory reset" item for secondary users
Anton Philippov [Tue, 7 Mar 2017 15:52:42 +0000 (15:52 +0000)]
Hide "Factory reset" item for secondary users

Bug: 35415714
Test: make RunSettingsRoboTests
Change-Id: I48d6d094476c5fc83dbc17906d84cc848e499624

7 years agoFix failed to remove account in managed profile
Tony Mak [Tue, 7 Mar 2017 13:37:38 +0000 (13:37 +0000)]
Fix failed to remove account in managed profile

Fix: 35996483

Test: m -j RunSettingsRoboTests
Test: manual test
          1. Remove account in work profile
          2. Remove account in user 0

Change-Id: I3ed9364afbf8ef5cddd0edc0d4e0e5e48d2dd62a

7 years agoAdd default IME to Privacy Settings page
Bartosz Fabianowski [Fri, 17 Feb 2017 12:30:32 +0000 (13:30 +0100)]
Add default IME to Privacy Settings page

This CL adds information about default IMEs set by Device Owner and/or
Profile Owners to the Enterprise Privacy Setting page.

Test: make RunSettingsRoboTests
Bug: 32692748

Change-Id: I9f78ab4792a5a1d444808048ff33e3e20a0483dc

7 years agoMerge "Remove some dashboard alias"
TreeHugger Robot [Tue, 7 Mar 2017 06:19:54 +0000 (06:19 +0000)]
Merge "Remove some dashboard alias"

7 years agoRemove some dashboard alias
Doris Ling [Fri, 3 Mar 2017 22:21:37 +0000 (14:21 -0800)]
Remove some dashboard alias

- remove UsersDashboardAlias, PaymentSettingsDashboardAlias,
  ManageApplicationsDashboardAlias, and AppNotificationDashboardAlias,
  and merge the metadata into the target activity
- remove StorageActivity
- remove the old top level settings categories

Bug: 35764802
Test:  RunSettingsRoboTests
Change-Id: I0faf006c92a1822228bea20ad884cd9a21696fd3

7 years agoMerge "Changes event handling phases for DeviceListPreferenceFragment." am: 084c20409...
Jaewoong Jung [Tue, 7 Mar 2017 02:31:47 +0000 (02:31 +0000)]
Merge "Changes event handling phases for DeviceListPreferenceFragment." am: 084c20409b am: 015fe72cd3
am: 42786ef2f2

Change-Id: I5f5be1929616a550dd26acf5059c932bdd321fd6

7 years agoMerge "Changes event handling phases for DeviceListPreferenceFragment." am: 084c20409b
Jaewoong Jung [Tue, 7 Mar 2017 02:29:45 +0000 (02:29 +0000)]
Merge "Changes event handling phases for DeviceListPreferenceFragment." am: 084c20409b
am: 015fe72cd3

Change-Id: Ice1275e292262a86caafe64d01676eaccad0f702

7 years agoMerge "Changes event handling phases for DeviceListPreferenceFragment."
Jaewoong Jung [Tue, 7 Mar 2017 02:27:15 +0000 (02:27 +0000)]
Merge "Changes event handling phases for DeviceListPreferenceFragment."
am: 084c20409b

Change-Id: Ic0abdcd7a7de944b3348590cdfa922fcf1dcbed1

7 years agoMerge "Create settings page for choosing default Network Scorer."
TreeHugger Robot [Tue, 7 Mar 2017 02:06:08 +0000 (02:06 +0000)]
Merge "Create settings page for choosing default Network Scorer."

7 years agoMerge "Update preference logger to log pref change as ACTION"
TreeHugger Robot [Tue, 7 Mar 2017 02:00:27 +0000 (02:00 +0000)]
Merge "Update preference logger to log pref change as ACTION"

7 years agoMerge "Add type UNACCOUNTED("miscellaneous") in advanced battery page"
Lei Yu [Tue, 7 Mar 2017 01:54:21 +0000 (01:54 +0000)]
Merge "Add type UNACCOUNTED("miscellaneous") in advanced battery page"

7 years agoMerge "Accessibility settings refresh."
Saige McVea [Tue, 7 Mar 2017 01:16:47 +0000 (01:16 +0000)]
Merge "Accessibility settings refresh."

7 years agoMerge "Revert color-coded icons."
TreeHugger Robot [Tue, 7 Mar 2017 00:42:14 +0000 (00:42 +0000)]
Merge "Revert color-coded icons."