OSDN Git Service

android-x86/packages-apps-Settings.git
7 years agoIgnore orientation change to preserve ApnEditor. am: f414d58ddf am: 77f75b3859 am...
Junda Liu [Fri, 17 Feb 2017 18:17:43 +0000 (18:17 +0000)]
Ignore orientation change to preserve ApnEditor. am: f414d58ddf am: 77f75b3859 am: 8db5e61fac
am: 3e24e46b39

Change-Id: Iab1a5a4812537a2d6415fc87ccd050283b0269e9

7 years agoIgnore orientation change to preserve ApnEditor. am: f414d58ddf am: 77f75b3859 am...
Junda Liu [Fri, 17 Feb 2017 18:17:27 +0000 (18:17 +0000)]
Ignore orientation change to preserve ApnEditor. am: f414d58ddf am: 77f75b3859 am: 1bc3adf38a
am: 7372d9d323

Change-Id: Iffbc4d8c5ea63355dba4b8c31c584d188a2b5a60

7 years agoIgnore orientation change to preserve ApnEditor. am: f414d58ddf am: 77f75b3859
Junda Liu [Fri, 17 Feb 2017 18:12:27 +0000 (18:12 +0000)]
Ignore orientation change to preserve ApnEditor. am: f414d58ddf am: 77f75b3859
am: 8db5e61fac

Change-Id: I0b00e7afb390fb91556f0abc5b2bfdee39af767f

7 years agoIgnore orientation change to preserve ApnEditor. am: f414d58ddf am: 77f75b3859
Junda Liu [Fri, 17 Feb 2017 18:12:08 +0000 (18:12 +0000)]
Ignore orientation change to preserve ApnEditor. am: f414d58ddf am: 77f75b3859
am: 1bc3adf38a

Change-Id: Id8fa449ad8bc7f3b36c26ad2bfb0c8d79a04376e

7 years agoIgnore orientation change to preserve ApnEditor. am: f414d58ddf
Junda Liu [Fri, 17 Feb 2017 18:07:06 +0000 (18:07 +0000)]
Ignore orientation change to preserve ApnEditor. am: f414d58ddf
am: 77f75b3859

Change-Id: I9e58a2cb02bc3c71f97ac43061e2ceb5d5702c2e

7 years agoIgnore orientation change to preserve ApnEditor. am: f414d58ddf
Junda Liu [Fri, 17 Feb 2017 18:07:06 +0000 (18:07 +0000)]
Ignore orientation change to preserve ApnEditor. am: f414d58ddf
am: 77f75b3859

Change-Id: Idf45ab75502d89ed26cf082e11f155b7d6201658

7 years agoIgnore orientation change to preserve ApnEditor.
Junda Liu [Fri, 17 Feb 2017 18:02:35 +0000 (18:02 +0000)]
Ignore orientation change to preserve ApnEditor.
am: f414d58ddf

Change-Id: I76b7df13239829f0fbba24db30babf640b2506fd

7 years agoMerge "Modify test cases according to change in remove preference behavior."
TreeHugger Robot [Fri, 17 Feb 2017 04:01:37 +0000 (04:01 +0000)]
Merge "Modify test cases according to change in remove preference behavior."

7 years agoMerge "Make the list in advanced battery page sorted by usage."
TreeHugger Robot [Fri, 17 Feb 2017 02:40:26 +0000 (02:40 +0000)]
Merge "Make the list in advanced battery page sorted by usage."

7 years agoMerge "Add settings for the assist gesture."
TreeHugger Robot [Fri, 17 Feb 2017 02:12:56 +0000 (02:12 +0000)]
Merge "Add settings for the assist gesture."

7 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Fri, 17 Feb 2017 00:59:01 +0000 (00:59 +0000)]
Merge "Import translations. DO NOT MERGE"

7 years agoImport translations. DO NOT MERGE am: 6f3ae7778c -s ours
Bill Yi [Fri, 17 Feb 2017 00:51:27 +0000 (00:51 +0000)]
Import translations. DO NOT MERGE am: 6f3ae7778c  -s ours
am: 8f405abe1a  -s ours

Change-Id: I6e267ebde7e4d6424ed13f1d12d77772f8734c3b

7 years agoModify test cases according to change in remove preference behavior.
Doris Ling [Fri, 17 Feb 2017 00:35:26 +0000 (16:35 -0800)]
Modify test cases according to change in remove preference behavior.

Bug: 35365702
Test: make RunSettingsRoboTests
Change-Id: I541f4bd946116c766a90da955c11933a5499fa93

7 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 17 Feb 2017 00:44:39 +0000 (00:44 +0000)]
Import translations. DO NOT MERGE
am: 6f3ae7778c  -s ours

Change-Id: I10a744f60859902543922168db03a878614f641e

7 years agoMake the list in advanced battery page sorted by usage.
jackqdyulei [Thu, 9 Feb 2017 17:38:01 +0000 (09:38 -0800)]
Make the list in advanced battery page sorted by usage.

1. Make the preference dynamically generated in code
2. Make PowerUsageData comparable and add title resource id.

Bug: 34385770
Test: RunSettingsRoboTests
Change-Id: I1b90b4c6cc7107bc146e3554db04cec7641e1cde

7 years agoMerge "Mark only browser as default in app detail page"
TreeHugger Robot [Fri, 17 Feb 2017 00:04:34 +0000 (00:04 +0000)]
Merge "Mark only browser as default in app detail page"

7 years agoMerge "Update cast setting icon"
TreeHugger Robot [Thu, 16 Feb 2017 22:59:46 +0000 (22:59 +0000)]
Merge "Update cast setting icon"

7 years agoMark only browser as default in app detail page
Fan Zhang [Thu, 16 Feb 2017 19:56:18 +0000 (11:56 -0800)]
Mark only browser as default in app detail page

Change-Id: I8112d859ba788a1dc67c44b5e0de668c0fc13169
Fix: 35307728
Test: make RunSettingsRoboTests

7 years agoMerge "Change launcher and shortcut icons to MaskableIconDrawable Test: manual test...
Hyunyoung Song [Thu, 16 Feb 2017 22:18:15 +0000 (22:18 +0000)]
Merge "Change launcher and shortcut icons to MaskableIconDrawable Test: manual test on Launcher3 Bug: 33034275 Bug: 35431198"

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 16 Feb 2017 21:47:19 +0000 (13:47 -0800)]
Import translations. DO NOT MERGE

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

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 16 Feb 2017 21:41:54 +0000 (13:41 -0800)]
Import translations. DO NOT MERGE

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

7 years agoMerge "Update string: lockdown confirmation dialog title"
TreeHugger Robot [Thu, 16 Feb 2017 20:58:42 +0000 (20:58 +0000)]
Merge "Update string: lockdown confirmation dialog title"

7 years agoUpdate cast setting icon
Fan Zhang [Thu, 16 Feb 2017 20:53:44 +0000 (12:53 -0800)]
Update cast setting icon

Change-Id: Id5cbe994f58c3daea4c70ffd76718ac56389a610
Fix: 35407157
Test: manual

7 years agoChange launcher and shortcut icons to MaskableIconDrawable
Hyunyoung Song [Tue, 14 Feb 2017 18:40:58 +0000 (10:40 -0800)]
Change launcher and shortcut icons to MaskableIconDrawable
Test: manual test on Launcher3
Bug: 33034275
Bug: 35431198

Change-Id: Ief9f49ec38ec95daa738799398fc4b458d634acc

7 years agoMerge "Fix NPE in WriteWifiConfigToNfcDialog."
TreeHugger Robot [Thu, 16 Feb 2017 20:26:39 +0000 (20:26 +0000)]
Merge "Fix NPE in WriteWifiConfigToNfcDialog."

7 years agoMerge "Add source metrics when launching top level setting items."
TreeHugger Robot [Thu, 16 Feb 2017 20:04:30 +0000 (20:04 +0000)]
Merge "Add source metrics when launching top level setting items."

7 years agoUpdate string: lockdown confirmation dialog title
Robin Lee [Thu, 16 Feb 2017 17:48:41 +0000 (17:48 +0000)]
Update string: lockdown confirmation dialog title

The most common string shown previously was:
  "Set always-on VPN?"

It's now a different string:
  "Only allow connections through VPN?"

This makes more sense because the only way to get to this dialog in
stock Settings is by first enabling a specific VPN and afterwards
trying to set the same VPN to lockdown mode.

In this case the prompt should specifically refer to lockdown, not
having a VPN connection in general (because the user clearly already
has one).

Test: m Settings -j20, install a VPN, connect to it, open Settings > Network > Vpn > {VPN name} and select 'only allow connections through VPN'. Verify the title is now the one referred to in the commit message.
Fix: 34491069
Change-Id: Ic74a8b91eb8ae64fbe15723c173281f4ede52b06

7 years agoFix NPE in WriteWifiConfigToNfcDialog.
Amin Shaikh [Thu, 16 Feb 2017 01:47:04 +0000 (17:47 -0800)]
Fix NPE in WriteWifiConfigToNfcDialog.

Bug: 34691792
Test: m RunSettingsRoboTests
Change-Id: I0e396f4f590c8de6636c7494e20d74c562b7c9cd

7 years agoAdd source metrics when launching top level setting items.
Fan Zhang [Thu, 16 Feb 2017 17:26:37 +0000 (09:26 -0800)]
Add source metrics when launching top level setting items.

Change-Id: Idca6e136747fb40ba962307abd2620cdd241c3b1
Fix: 35359289
Test: make RunSettingsRoboTests

7 years agoMerge "Fix a race condition where the extra view may not update timely."
Daniel Nishi [Thu, 16 Feb 2017 17:39:40 +0000 (17:39 +0000)]
Merge "Fix a race condition where the extra view may not update timely."

7 years agoImport translations. DO NOT MERGE am: 7e0985b644 -s ours
Bill Yi [Thu, 16 Feb 2017 15:56:31 +0000 (15:56 +0000)]
Import translations. DO NOT MERGE am: 7e0985b644  -s ours
am: f6247a41f7  -s ours

Change-Id: I69de537de2f21a01535222697a0918f8a2245ddd

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 16 Feb 2017 15:49:10 +0000 (15:49 +0000)]
Import translations. DO NOT MERGE
am: 7e0985b644  -s ours

Change-Id: I90c3ee4b3610f62d693663cb7372b0e96806e9b5

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 16 Feb 2017 13:24:28 +0000 (05:24 -0800)]
Import translations. DO NOT MERGE

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

7 years agoMerge "Modify text in Apps & notifications settings."
TreeHugger Robot [Thu, 16 Feb 2017 05:25:44 +0000 (05:25 +0000)]
Merge "Modify text in Apps & notifications settings."

7 years agoMerge "Log source with visibility change"
TreeHugger Robot [Thu, 16 Feb 2017 04:42:43 +0000 (04:42 +0000)]
Merge "Log source with visibility change"

7 years agoModify text in Apps & notifications settings.
Doris Ling [Wed, 15 Feb 2017 23:42:30 +0000 (15:42 -0800)]
Modify text in Apps & notifications settings.

- in Settings->Apps & notifications->Apps->[select app], update the
  header summary to installation status, and move the version text to
  the bottom of the page.
- updatd preference title from Apps to App info
- update preference title from Notifications to App notifications

Bug: 34977561
Test: make RunSettingsRoboTests
Change-Id: I97e9b81c739fb99eaca2cf45fb11f208ad6cd9ca

7 years agoMerge "Update texts for Settings->Sound->Do not disturb"
TreeHugger Robot [Thu, 16 Feb 2017 02:51:37 +0000 (02:51 +0000)]
Merge "Update texts for Settings->Sound->Do not disturb"

7 years agoMerge "Update preference title for add user on lock screen."
Doris Ling [Thu, 16 Feb 2017 01:58:01 +0000 (01:58 +0000)]
Merge "Update preference title for add user on lock screen."

7 years agoLog source with visibility change
Fan Zhang [Tue, 14 Feb 2017 23:02:35 +0000 (15:02 -0800)]
Log source with visibility change

- Add a method in VisibilityLoggerMixin to log visible event using
  LogMaker, which allows logging additional FIELD_CONTEXT field.
- In Utils.startFragment, add current page's metricsCategory as an extra
  to next page.
- In next page's onResume(), extract the previous page's metricsCategory
  and send it to VisibilityLoggerMixin.visible()
- Update all caller with additional paramters

Change-Id: I8e1f2597fa465b7d3aa16fa1d21c052a3219694a
Fix: 35359289
Test: RunSettingsRoboTests

7 years agoMerge "Update layout for App info page."
TreeHugger Robot [Thu, 16 Feb 2017 01:05:39 +0000 (01:05 +0000)]
Merge "Update layout for App info page."

7 years agoMerge "Add logging when "Advanced" button is clicked"
TreeHugger Robot [Thu, 16 Feb 2017 01:03:22 +0000 (01:03 +0000)]
Merge "Add logging when "Advanced" button is clicked"

7 years agoMerge "Remove Cast from Display settings."
Doris Ling [Thu, 16 Feb 2017 00:16:13 +0000 (00:16 +0000)]
Merge "Remove Cast from Display settings."

7 years agoRemove Cast from Display settings.
Doris Ling [Mon, 6 Feb 2017 19:59:18 +0000 (11:59 -0800)]
Remove Cast from Display settings.

Update the display settings xml to remove the wifi-display settings.

Change-Id: I5363e1a9c4e89af8eaa64512a72cf42160b0fee6
Bug: 34975969
Test: Visual

7 years agoAdd logging when "Advanced" button is clicked
Fan Zhang [Tue, 14 Feb 2017 21:59:41 +0000 (13:59 -0800)]
Add logging when "Advanced" button is clicked

Change-Id: I8259b1b863991935165afb19e34c30dcf5056acf
Fix: 35356464
Test: RunSettingsRoboTests

7 years agoMerge "Do not show key entries used for user authentication flow"
Rubin Xu [Wed, 15 Feb 2017 22:37:39 +0000 (22:37 +0000)]
Merge "Do not show key entries used for user authentication flow"

7 years agoUpdate preference title for add user on lock screen.
Doris Ling [Wed, 15 Feb 2017 19:19:02 +0000 (11:19 -0800)]
Update preference title for add user on lock screen.

In Settings->User & accounts, update the preference title for "Add user"
to "Add users from lock screen" and remove the summary.

Bug: 34976320
Test: Visual
Change-Id: Idfb661537ac3b178ca20c2da9e66ab8a16567ba6

7 years agoUpdate texts for Settings->Sound->Do not disturb
Doris Ling [Wed, 15 Feb 2017 20:04:57 +0000 (12:04 -0800)]
Update texts for Settings->Sound->Do not disturb

- Update title to "Do not disturb preferences"
- Add summary text to reflect the priority only allows preferences
- Refactor the summary handling in ZenModeSettings so that the
  controller can get the summary text

Fix: 34975939
Test: make RunSettingsRoboTests

Change-Id: I3ca1dc43fe1d943735a9f625e66c89708a18300a

7 years agoMerge "Remove extra IndexProviders that provided bad data."
TreeHugger Robot [Wed, 15 Feb 2017 21:44:14 +0000 (21:44 +0000)]
Merge "Remove extra IndexProviders that provided bad data."

7 years agoMerge "Revert accidential merge afe6320d70f46e8af724ef2cde86a5963d198868"
Philip P. Moltmann [Wed, 15 Feb 2017 21:37:30 +0000 (21:37 +0000)]
Merge "Revert accidential merge afe6320d70f46e8af724ef2cde86a5963d198868"

7 years agoMerge "Correctly restrict UI for WifiSettings in Guest profile."
TreeHugger Robot [Wed, 15 Feb 2017 21:36:54 +0000 (21:36 +0000)]
Merge "Correctly restrict UI for WifiSettings in Guest profile."

7 years agoMerge "Move Ringtones out of Advanced."
Doris Ling [Wed, 15 Feb 2017 21:34:27 +0000 (21:34 +0000)]
Merge "Move Ringtones out of Advanced."

7 years agoUpdate layout for App info page.
Doris Ling [Wed, 15 Feb 2017 02:56:49 +0000 (18:56 -0800)]
Update layout for App info page.

- Move the app link buttons to the right
- Move the footer buttons to the top below the header
- Rename the app header details title, summary, and icon views.

Bug: 34977561
Test: make RunSettingsRoboTests
Change-Id: Id0cfc2b73b4e5cbbc1a58e497da52560892b69c8

7 years agoCorrectly restrict UI for WifiSettings in Guest profile.
Stephen Chen [Tue, 14 Feb 2017 21:56:03 +0000 (13:56 -0800)]
Correctly restrict UI for WifiSettings in Guest profile.

Makes sure the restricted user does not see Wifi Preferences
or Saved Networks activity. Also fixes a bug where the progress
bar is displayed starting the activity in Guest mode, and does not go
away. LinkablePreference is changed to make sure titles can be
multi-lined.

Bug: 35317523
Bug: 35318292
Test: to be done in b/35324506
Change-Id: I4a07a2ab3a83c3adaf87226969fd6f16e41c9419

7 years agoMerge "Skip redundant SuggestionLoader run during app start."
TreeHugger Robot [Wed, 15 Feb 2017 03:04:08 +0000 (03:04 +0000)]
Merge "Skip redundant SuggestionLoader run during app start."

7 years agoSkip redundant SuggestionLoader run during app start.
Fan Zhang [Wed, 8 Feb 2017 01:40:59 +0000 (17:40 -0800)]
Skip redundant SuggestionLoader run during app start.

also skip DiffUtil when drawing first frame.

Fix: 34103984
Test: make RunSettingsRoboTests
Change-Id: I4891d1bca1f17c437444761eaf3002624934014d

7 years agoRevert accidential merge afe6320d70f46e8af724ef2cde86a5963d198868
Philip P. Moltmann [Tue, 14 Feb 2017 20:43:02 +0000 (12:43 -0800)]
Revert accidential merge afe6320d70f46e8af724ef2cde86a5963d198868

Test: Clean revert
Change-Id: I674df1a86539b03cb72f43eed2f40f421b953508

7 years agoMerge "Update security screen summary text when no fingerprint"
TreeHugger Robot [Wed, 15 Feb 2017 00:50:38 +0000 (00:50 +0000)]
Merge "Update security screen summary text when no fingerprint"

7 years agoAdd settings for the assist gesture.
Philip Quinn [Tue, 14 Feb 2017 04:07:09 +0000 (20:07 -0800)]
Add settings for the assist gesture.

Availability of the gesture is gated by a new FeatureProvider.

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

Change-Id: I3529367a73e33370d5112b91d5144293ffa7fa22

7 years agoRemove extra IndexProviders that provided bad data.
Matthew Fritze [Thu, 26 Jan 2017 23:21:24 +0000 (15:21 -0800)]
Remove extra IndexProviders that provided bad data.

Gesture Settings and Wireless settings were indexing
duplicate results that only added complexity to Search.
PowerUsageDetail was never supposed to be indexed.

Bug:33701673
Test: make RunSettingsRoboTests
Change-Id: I45d1fa4bd412c3418acec24f8c98eb4736f220ab

7 years agoMerge "Create 'See All Networks' Preference to hide additional networks."
TreeHugger Robot [Wed, 15 Feb 2017 00:34:34 +0000 (00:34 +0000)]
Merge "Create 'See All Networks' Preference to hide additional networks."

7 years agoMerge "Replace footer with regular preference"
TreeHugger Robot [Wed, 15 Feb 2017 00:12:21 +0000 (00:12 +0000)]
Merge "Replace footer with regular preference"

7 years agoUpdate security screen summary text when no fingerprint
Fan Zhang [Tue, 14 Feb 2017 19:58:25 +0000 (11:58 -0800)]
Update security screen summary text when no fingerprint

Change-Id: I810c533b0daeab3bd67d9d5be8a89d93738b4962
Fix: 35339887
Test: RunSettingsRoboTest

7 years agoMove Ringtones out of Advanced.
Doris Ling [Tue, 14 Feb 2017 21:48:01 +0000 (13:48 -0800)]
Move Ringtones out of Advanced.

Increase the tile limit in Settings->Sound so that Ringtones is not
hidden inside the Advances options.

Fix: 35318739
Test: Visual

Change-Id: I08db7b79127226bb6ef8ce8f147e5a90f5939d79

7 years agoReplace footer with regular preference
Salvador Martinez [Mon, 13 Feb 2017 19:50:10 +0000 (11:50 -0800)]
Replace footer with regular preference

Replaced the "Manage Storage" footer preference
with a regular preference because the footer type
is not meant to be a touch target. This should fix
the bug with not being able to click on specific
parts of the preference.

Test: run settings espresso tests
Bug: 34349518
Change-Id: I36ada2a6a537a68d9fcbe7e10773896225ecc6b2

7 years agoMerge "Revert "Remove Gesture settings as inline results""
Matthew Fritze [Tue, 14 Feb 2017 22:05:04 +0000 (22:05 +0000)]
Merge "Revert "Remove Gesture settings as inline results""

7 years agoRevert "Remove Gesture settings as inline results"
Matthew Fritze [Tue, 14 Feb 2017 22:02:13 +0000 (22:02 +0000)]
Revert "Remove Gesture settings as inline results"

This reverts commit 4ec4969b33c3d0f9db58937881eb1dcd7b3e3f59.

Change-Id: I5b0012174864bba8b196220ee29863a9a58faa69

7 years agoMerge "Add account preferences from account type description."
TreeHugger Robot [Tue, 14 Feb 2017 21:30:40 +0000 (21:30 +0000)]
Merge "Add account preferences from account type description."

7 years agoMerge "Remove Gesture settings as inline results"
TreeHugger Robot [Tue, 14 Feb 2017 19:03:57 +0000 (19:03 +0000)]
Merge "Remove Gesture settings as inline results"

7 years agoMerge "Don't show games and music apps in Other Apps."
Daniel Nishi [Tue, 14 Feb 2017 18:45:29 +0000 (18:45 +0000)]
Merge "Don't show games and music apps in Other Apps."

7 years agoAdd account preferences from account type description.
Doris Ling [Fri, 10 Feb 2017 22:22:58 +0000 (14:22 -0800)]
Add account preferences from account type description.

Move the methods that handles the account type preferences to a separate
class and add the call to it in AccountDetailDashboardFragment.

Change-Id: Ib147fb73807b1264e3faedad3466126f2fd9c84d
Fix: 35224671
Test: Manual

7 years agoMerge "Fix monkey crash by guarding singleton initializing"
TreeHugger Robot [Tue, 14 Feb 2017 18:40:35 +0000 (18:40 +0000)]
Merge "Fix monkey crash by guarding singleton initializing"

7 years agoresolve merge conflicts of 9ac842a753 to nyc-mr2-dev-plus-aosp
Philip P. Moltmann [Tue, 14 Feb 2017 18:27:10 +0000 (18:27 +0000)]
resolve merge conflicts of 9ac842a753 to nyc-mr2-dev-plus-aosp
am: afe6320d70

Change-Id: I514cc08bef8ef2b76d90628ae3b21833d3bda206

7 years agoCreate 'See All Networks' Preference to hide additional networks.
Stephen Chen [Fri, 10 Feb 2017 00:17:28 +0000 (16:17 -0800)]
Create 'See All Networks' Preference to hide additional networks.

Bug: 34719725
Test: manual inspection, tests to be added in b/35322551
Change-Id: I1a5a08ca4c53db71b4c0c3d4c2942da65faa67d2

7 years agoresolve merge conflicts of 9ac842a753 to nyc-mr2-dev-plus-aosp
Philip P. Moltmann [Tue, 14 Feb 2017 17:45:51 +0000 (09:45 -0800)]
resolve merge conflicts of 9ac842a753 to nyc-mr2-dev-plus-aosp

Test: built
Change-Id: I156db22c13da98bce0077b2acb8d9f1a3d2ce406

7 years agoRemove Gesture settings as inline results
Matthew Fritze [Thu, 26 Jan 2017 23:21:24 +0000 (15:21 -0800)]
Remove Gesture settings as inline results

Given that inline results do not have intents associated,
the inline results must be self-explanatory. The gesture
settings ofter requier the video/animation to be
understood. Thus they should not be inline.

Test: RunSettingsRoboTests
Bug:
Change-Id: Iae25365b376ec510f8330bc0a0bf72883cf9a6d4

7 years agoMerge "[DO NOT MERGE] Revert "[DO NOT MERGE] Use new QueuedWork interface."" into...
Philip P. Moltmann [Tue, 14 Feb 2017 16:03:27 +0000 (16:03 +0000)]
Merge "[DO NOT MERGE] Revert "[DO NOT MERGE] Use new QueuedWork interface."" into nyc-mr2-dev

7 years agoMerge "Change "Long pressing work mode in quick settings" to managed profile settings"
Ricky Wai [Tue, 14 Feb 2017 11:14:08 +0000 (11:14 +0000)]
Merge "Change "Long pressing work mode in quick settings" to managed profile settings"

7 years agoMerge "CredentialFragment anti-pocket dialing measures."
TreeHugger Robot [Tue, 14 Feb 2017 11:13:59 +0000 (11:13 +0000)]
Merge "CredentialFragment anti-pocket dialing measures."

7 years agoChange "Long pressing work mode in quick settings" to managed profile settings
Ricky Wai [Wed, 1 Feb 2017 15:26:29 +0000 (15:26 +0000)]
Change "Long pressing work mode in quick settings" to managed profile settings

Test: Long pressing work mode can go to managed profile settings now.

Bug: 34189626
Change-Id: I84820b1ce0a5693f36236c1bb512c99db3c6e9df

7 years agoMerge "Add logging for settings"
TreeHugger Robot [Tue, 14 Feb 2017 03:01:29 +0000 (03:01 +0000)]
Merge "Add logging for settings"

7 years agoMerge "Update char_limit for new string"
TreeHugger Robot [Tue, 14 Feb 2017 02:21:20 +0000 (02:21 +0000)]
Merge "Update char_limit for new string"

7 years agoMerge "Deprecate SettingsDrawerActivity.openTile."
TreeHugger Robot [Tue, 14 Feb 2017 01:55:49 +0000 (01:55 +0000)]
Merge "Deprecate SettingsDrawerActivity.openTile."

7 years agoMerge "Add permission check to Intents used by Authenticator Settings."
Dmitry Dementyev [Tue, 14 Feb 2017 01:27:45 +0000 (01:27 +0000)]
Merge "Add permission check to Intents used by Authenticator Settings."

7 years agoAdd logging for settings
Fan Zhang [Mon, 13 Feb 2017 23:28:21 +0000 (15:28 -0800)]
Add logging for settings

- Log when navigating from Settings to injected tiles.
- Log when user creates a new widget shortcut

Fix: 33209678
Fix: 30137094
Test: RunSettingsRoboTests
Change-Id: I1e0f4e00709c392cde2550fafe53890836387c99

7 years agoUpdate char_limit for new string
Fan Zhang [Tue, 14 Feb 2017 00:44:18 +0000 (16:44 -0800)]
Update char_limit for new string

Change-Id: I49fc0522a5522bf5dae16d1a2d12e2819eee7a2a
Fix: 35187169
Test: build

7 years ago[DO NOT MERGE] Revert "[DO NOT MERGE] Use new QueuedWork interface."
Philip P. Moltmann [Mon, 13 Feb 2017 20:58:46 +0000 (20:58 +0000)]
[DO NOT MERGE] Revert "[DO NOT MERGE] Use new QueuedWork interface."

This reverts commit 81758edffae751c31fb1795febe470c171f7fb1b.

Bug: 30662828
Change-Id: I5c877a3a888f075afcfb9f49ec92cf3ad43f6304

7 years agoAdd permission check to Intents used by Authenticator Settings.
Dmitry Dementyev [Sat, 11 Feb 2017 00:51:51 +0000 (16:51 -0800)]
Add permission check to Intents used by Authenticator Settings.

Setting shares system uid and can be used to bypass different security
checks.
We add proper handling for intents which resolve toexported=true activities with permission filed.
Added nested preferences filtering.

Change-Id: If68343d155364654fa7db55ace3fb3c4db508c7e
Test: manual tests
Bug: 14408627

7 years agoFix a bug where SYNC_SETTINGS intent opens a blank page.
Fan Zhang [Mon, 13 Feb 2017 20:28:43 +0000 (12:28 -0800)]
Fix a bug where SYNC_SETTINGS intent opens a blank page.

Point to the intent to new IA fragment (User & Account)

Change-Id: I3880518f36f875091175432c5e91cfcd7edb42cd
Fix: 34395427
Test: run settings integ test

7 years agoDeprecate SettingsDrawerActivity.openTile.
Fan Zhang [Mon, 13 Feb 2017 22:24:36 +0000 (14:24 -0800)]
Deprecate SettingsDrawerActivity.openTile.

Use DashboardFeatureProvider to open tile instead. This makes logic more
centralized in one place, and makes logging easier in the future.

Bug: 30137094
Test: RunSettingsRoboTests
Change-Id: I8a028bb7cac8f70f6c237f253be8668cc3ef257e

7 years agoMerge changes from topic 'hotspot_summary'
TreeHugger Robot [Mon, 13 Feb 2017 21:51:07 +0000 (21:51 +0000)]
Merge changes from topic 'hotspot_summary'

* changes:
  Display current vpn for Vpn preference summary text
  Display carrier network name as celluar setting summary.
  Add hotspot summary text

7 years agoDisplay current vpn for Vpn preference summary text
Fan Zhang [Sat, 11 Feb 2017 21:43:05 +0000 (13:43 -0800)]
Display current vpn for Vpn preference summary text

Change-Id: Id9917a07e519d16e2000b4fa9888f783171e55f8
Fix: 34974598
Test: RunSettingsRoboTests

7 years agoDisplay carrier network name as celluar setting summary.
Fan Zhang [Sat, 11 Feb 2017 18:43:52 +0000 (10:43 -0800)]
Display carrier network name as celluar setting summary.

Bug: 34974598
Test: make RunSettingsRoboTests
Change-Id: I99436337919440e0dd21653f9ea63d6f3a694df0

7 years agoAdd hotspot summary text
Fan Zhang [Fri, 10 Feb 2017 02:04:00 +0000 (18:04 -0800)]
Add hotspot summary text

Bug: 34974598
Test: RunSettingsLibRoboTests

Change-Id: If5d17bf458f980b4f3a8fdeb4718bbf5d2993a21

7 years agoMerge "Add BatteryMeterView in Settings"
TreeHugger Robot [Mon, 13 Feb 2017 20:45:17 +0000 (20:45 +0000)]
Merge "Add BatteryMeterView in Settings"

7 years agoAdd BatteryMeterView in Settings
jackqdyulei [Thu, 2 Feb 2017 19:25:15 +0000 (11:25 -0800)]
Add BatteryMeterView in Settings

1. Show gauge icon at the top of battery main page instead of
battery usage graph.
2. Move the click action from battery usage graph to gauge icon.

Bug: 34387464
Test: RunSettingsRoboTest

Change-Id: Ib182619d6805b401cde03a50e2ae907cf4df7b94

7 years agoMerge "Replace deprecated ACTION_MASTER_CLEAR by ACTION_FACTORY_RESET."
TreeHugger Robot [Mon, 13 Feb 2017 17:46:23 +0000 (17:46 +0000)]
Merge "Replace deprecated ACTION_MASTER_CLEAR by ACTION_FACTORY_RESET."

7 years agoImport translations. DO NOT MERGE am: da8a98fb26 -s ours
Bill Yi [Mon, 13 Feb 2017 17:34:16 +0000 (17:34 +0000)]
Import translations. DO NOT MERGE am: da8a98fb26  -s ours
am: daa2d5a23a  -s ours

Change-Id: I08237170e91f978d9f8718fff3df30c6f6be59f3

7 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 13 Feb 2017 17:31:14 +0000 (17:31 +0000)]
Import translations. DO NOT MERGE
am: da8a98fb26  -s ours

Change-Id: I111397e147e83c3cc0e8d83d365627792035b238

7 years agoReplace deprecated ACTION_MASTER_CLEAR by ACTION_FACTORY_RESET.
Lenka Trochtova [Mon, 13 Feb 2017 14:05:27 +0000 (15:05 +0100)]
Replace deprecated ACTION_MASTER_CLEAR by ACTION_FACTORY_RESET.

Both do the same, ACTION_FACTORY_RESET is the new name.

Test: manual - reset the device
BUG: 33656232

Change-Id: I30cedea600bfcbeffa5d1094a6e0e83326f7ccfc

7 years agoDo not show key entries used for user authentication flow
Rubin Xu [Thu, 9 Feb 2017 11:09:11 +0000 (11:09 +0000)]
Do not show key entries used for user authentication flow

Bug: 33126414
Test: Enable new authentication flow; go to user credentials in Settings
      observe no entries related to user authentication are shown.
Change-Id: I62e5796cc73213b23ca7809a77082350a883fbee