OSDN Git Service

android-x86/packages-apps-Settings.git
7 years agoMerge "Fix account picker crash when there is no account before."
Lei Yu [Mon, 12 Dec 2016 21:06:11 +0000 (21:06 +0000)]
Merge "Fix account picker crash when there is no account before."

7 years agoFix account picker crash when there is no account before.
jackqdyulei [Sun, 11 Dec 2016 20:32:35 +0000 (12:32 -0800)]
Fix account picker crash when there is no account before.

Bug: 33497222
Test: make RunSettingsRoboTests
Change-Id: I06adb4e0a4afcb359a4f7e8b15f13f67c28d5b46

7 years agoMerge "Handle tap on intent based search results."
TreeHugger Robot [Fri, 9 Dec 2016 23:04:02 +0000 (23:04 +0000)]
Merge "Handle tap on intent based search results."

7 years agoMerge changes from topic 'ims-radio-info-mr2' into nyc-mr2-dev am: f6b8321654
Youhan Wang [Fri, 9 Dec 2016 22:35:19 +0000 (22:35 +0000)]
Merge changes from topic 'ims-radio-info-mr2' into nyc-mr2-dev am: f6b8321654
am: 9706936945

Change-Id: Ie863e18d661c459c89c5b3f144e4d9f1b5ab3f52

7 years agoAdd Ims Registration Info to RadioInfo am: 839b9f9733
Nathan Harold [Fri, 9 Dec 2016 22:34:16 +0000 (22:34 +0000)]
Add Ims Registration Info to RadioInfo am: 839b9f9733
am: 70ab95ee63  -s ours

Change-Id: I11232ff4ff0dfd8f39437e6407f35f82fdd7aa11

7 years agoEnable and Disable IMS Provisioning Based on Platform Capability am: c137050588
Nathan Harold [Fri, 9 Dec 2016 22:34:09 +0000 (22:34 +0000)]
Enable and Disable IMS Provisioning Based on Platform Capability am: c137050588
am: cc140412a5

Change-Id: I7df9a79a42c8768354a6fa31e9123c0d0ccf736f

7 years agoMerge changes from topic 'ims-radio-info-mr2' into nyc-mr2-dev
Youhan Wang [Fri, 9 Dec 2016 22:24:30 +0000 (22:24 +0000)]
Merge changes from topic 'ims-radio-info-mr2' into nyc-mr2-dev
am: f6b8321654

Change-Id: Icc7bbc20943c224bfb6cc0131480cf394b1e1124

7 years agoAdd Ims Registration Info to RadioInfo
Nathan Harold [Fri, 9 Dec 2016 22:23:33 +0000 (22:23 +0000)]
Add Ims Registration Info to RadioInfo
am: 839b9f9733

Change-Id: I18a64c82bf853b86da4fe99981b1b8d6f5955643

7 years agoEnable and Disable IMS Provisioning Based on Platform Capability
Nathan Harold [Fri, 9 Dec 2016 22:23:26 +0000 (22:23 +0000)]
Enable and Disable IMS Provisioning Based on Platform Capability
am: c137050588

Change-Id: If618e69ebc504e55ab5a8eda874104f471ae44fc

7 years agoMerge changes from topic 'ims-radio-info-mr2' into nyc-mr2-dev
Youhan Wang [Fri, 9 Dec 2016 22:17:08 +0000 (22:17 +0000)]
Merge changes from topic 'ims-radio-info-mr2' into nyc-mr2-dev

* changes:
  Add Ims Registration Info to RadioInfo
  Enable and Disable IMS Provisioning Based on Platform Capability

7 years agoMerge "First step in refactoring Index.java"
TreeHugger Robot [Fri, 9 Dec 2016 22:13:26 +0000 (22:13 +0000)]
Merge "First step in refactoring Index.java"

7 years agoMerge "Remove divider lines from new IA fragments."
TreeHugger Robot [Fri, 9 Dec 2016 21:43:11 +0000 (21:43 +0000)]
Merge "Remove divider lines from new IA fragments."

7 years agoHandle tap on intent based search results.
Fan Zhang [Thu, 8 Dec 2016 23:40:05 +0000 (15:40 -0800)]
Handle tap on intent based search results.

Also fix how icon is loaded. IconResId is specific to the package of the
indexed result. If result comes from external app, icon needs to be
decoded against the external app's package context.

Bug: 33432310
Test: RunSettingsRoboTests
Change-Id: Ia0c53e63be757405dfaeceb2d865e7d8de87c5ee

7 years agoMerge "Add check for DISALLOW_DEBUGGING_FEATURES restriction"
TreeHugger Robot [Fri, 9 Dec 2016 21:26:36 +0000 (21:26 +0000)]
Merge "Add check for DISALLOW_DEBUGGING_FEATURES restriction"

7 years agoMerge "Fix apn can't be updated when pressing back key" am: 5c6e7a2116 am: 2d38abb49a...
xiaocheng.x.wang [Fri, 9 Dec 2016 21:14:32 +0000 (21:14 +0000)]
Merge "Fix apn can't be updated when pressing back key" am: 5c6e7a2116 am: 2d38abb49a am: 2366d4dcfd
am: b4624dceda

Change-Id: I72288936aaf38faf2810dbcf2e426aca68aa8242

7 years agoMerge "Fix apn can't be updated when pressing back key" am: 5c6e7a2116 am: 2d38abb49a
xiaocheng.x.wang [Fri, 9 Dec 2016 21:08:45 +0000 (21:08 +0000)]
Merge "Fix apn can't be updated when pressing back key" am: 5c6e7a2116 am: 2d38abb49a
am: 2366d4dcfd

Change-Id: If27c734d231abbc76d21ac6efcab3933fe34f460

7 years agoMerge "Fix apn can't be updated when pressing back key" am: 5c6e7a2116
xiaocheng.x.wang [Fri, 9 Dec 2016 21:02:45 +0000 (21:02 +0000)]
Merge "Fix apn can't be updated when pressing back key" am: 5c6e7a2116
am: 2d38abb49a

Change-Id: Ic105a97e7ee4d56f16dc8f67d2b09a6ebd55b3ba

7 years agoMerge "Fix apn can't be updated when pressing back key"
xiaocheng.x.wang [Fri, 9 Dec 2016 20:57:46 +0000 (20:57 +0000)]
Merge "Fix apn can't be updated when pressing back key"
am: 5c6e7a2116

Change-Id: I5f7cf29476e88c3603c902c5e501bef08fad5c8c

7 years agoFirst step in refactoring Index.java
Matthew Fritze [Thu, 8 Dec 2016 17:54:13 +0000 (09:54 -0800)]
First step in refactoring Index.java

Handles the following refators:
 - Indexing code into: DatabaseIndexingManager
 - Indexing utility methods into: DatabaseIndexingUtil
 - XML Parsiing utility methods into XMLParserUtil

Bug: 33451851
Test: make RunSettingsRoboTests
Change-Id: I4264ad3806d1bd3a66d879c16ad6c8315ecb832b

7 years agoMerge "Fix apn can't be updated when pressing back key"
Treehugger Robot [Fri, 9 Dec 2016 20:50:39 +0000 (20:50 +0000)]
Merge "Fix apn can't be updated when pressing back key"

7 years agoRemove divider lines from new IA fragments.
Fan Zhang [Fri, 9 Dec 2016 19:43:42 +0000 (11:43 -0800)]
Remove divider lines from new IA fragments.

Change-Id: I0ce486f7ac6148e1747a948c9c2b187157734ed1
Fixes: 33486181
Test: RunSettingsRoboTests

7 years agoAdd check for DISALLOW_DEBUGGING_FEATURES restriction
Doris Ling [Wed, 7 Dec 2016 21:21:20 +0000 (13:21 -0800)]
Add check for DISALLOW_DEBUGGING_FEATURES restriction

- if the user has restriction for the action
  DISALLOW_DEBUGGING_FEATURES, remove the preference for taking bug
  report and the switch preference to enable bug report shortcut in the
  power key.
- refactor DevelopmentSettings to use preference controller for Take bug
  report and enable bug report in power key.

Fixes: 27145643
Test: make RunSettingsRoboTests

Change-Id: I18784d218d37956130c33f527d514ab703727397

7 years agoMerge "Improve UI pref when sync/cancel account syncs."
Fan Zhang [Fri, 9 Dec 2016 17:39:15 +0000 (17:39 +0000)]
Merge "Improve UI pref when sync/cancel account syncs."

7 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 9 Dec 2016 11:12:00 +0000 (03:12 -0800)]
Import translations. DO NOT MERGE

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

7 years agoImprove UI pref when sync/cancel account syncs.
Fan Zhang [Thu, 8 Dec 2016 19:28:31 +0000 (11:28 -0800)]
Improve UI pref when sync/cancel account syncs.

The core of the change is in ManageAccountSettings#showSyncState(). New
code caches as much information as it can. And break out of loops as
early as possible.

Bug: 28575620
Test: make RunSettingsRoboTests
Change-Id: I076ce148e3d8db55f6cadfd9491f037f7a55a986

7 years agoMerge "Show the highlight for the wifi toggle switch."
Jiaquan He [Thu, 8 Dec 2016 18:56:42 +0000 (18:56 +0000)]
Merge "Show the highlight for the wifi toggle switch."

7 years agoMerge "Makes it possible to robo-test Settings app fragments."
Jaewoong Jung [Thu, 8 Dec 2016 04:31:13 +0000 (04:31 +0000)]
Merge "Makes it possible to robo-test Settings app fragments."

7 years agoMerge "Makes app settings keep scroll position after unistalling apps."
Jaewoong Jung [Thu, 8 Dec 2016 04:31:13 +0000 (04:31 +0000)]
Merge "Makes app settings keep scroll position after unistalling apps."

7 years agoMerge "Use a single layout for CreateShortcut activity."
TreeHugger Robot [Thu, 8 Dec 2016 01:59:21 +0000 (01:59 +0000)]
Merge "Use a single layout for CreateShortcut activity."

7 years agoMakes it possible to robo-test Settings app fragments.
Jaewoong Jung [Wed, 30 Nov 2016 23:45:53 +0000 (15:45 -0800)]
Makes it possible to robo-test Settings app fragments.

This adds bunch of shadow/placeholder classes and logic to handle
references to Android internal resources or newly added classes/methods
that Robolectric hasn't yet picked up.

Developers can follow ManageApplicationsTest example to use the shadow
classes and the utility method to start ther fragment in their
robolectric tests.

Bug: 33431346
Test: This is a test improvement CL. RunSettingsRoboTests still passes.
Change-Id: I943ab871631cb8c368d9f9db481c00558c5c4d1f

7 years agoMerge "Remove no-op handlePerferenceTreeClick from PrefControllers"
TreeHugger Robot [Thu, 8 Dec 2016 01:27:50 +0000 (01:27 +0000)]
Merge "Remove no-op handlePerferenceTreeClick from PrefControllers"

7 years agoMove private volume storage calculations into a shared lib. am: c04f8b9ecd
Daniel Nishi [Thu, 8 Dec 2016 00:57:31 +0000 (00:57 +0000)]
Move private volume storage calculations into a shared lib. am: c04f8b9ecd
am: edf31e2e38

Change-Id: I8d561d292dda6270867ee7efb33fa0f3b7ef7598

7 years agoMove private volume storage calculations into a shared lib.
Daniel Nishi [Thu, 8 Dec 2016 00:50:11 +0000 (00:50 +0000)]
Move private volume storage calculations into a shared lib.
am: c04f8b9ecd

Change-Id: If2822dfcebf95546c0fa2ee96d3e689e104f3d59

7 years agoMerge "Add tint for ic_settings_24dp.xml in settings"
Lei Yu [Thu, 8 Dec 2016 00:48:25 +0000 (00:48 +0000)]
Merge "Add tint for ic_settings_24dp.xml in settings"

7 years agoMerge "Refactor SoundSettings to use more preference controller."
TreeHugger Robot [Thu, 8 Dec 2016 00:30:25 +0000 (00:30 +0000)]
Merge "Refactor SoundSettings to use more preference controller."

7 years agoUse a single layout for CreateShortcut activity.
Fan Zhang [Wed, 7 Dec 2016 23:29:43 +0000 (15:29 -0800)]
Use a single layout for CreateShortcut activity.

The old layout is inherited from LauncherActivity, which uses a
inconsistent theme and UI between phone and tablet. It's more consistent
to just use a single layout that matches setting theme.

Fixes: 32220535
Test: runtest --path packages/apps/Settings/tests/app/src/com/android/settings/CreateShortcutTest.java
Change-Id: I769d1404c82c2057bf021e4cf557e7cf397d92a7

7 years agoRemove no-op handlePerferenceTreeClick from PrefControllers
Fan Zhang [Wed, 7 Dec 2016 23:34:31 +0000 (15:34 -0800)]
Remove no-op handlePerferenceTreeClick from PrefControllers

Bug: 33429853
Test: RunSettingsRoboTests
Change-Id: I5633953e3d7b07f9006e541b96a24a2a769e2686

7 years agoMerge "Add search loader for installed apps."
TreeHugger Robot [Wed, 7 Dec 2016 23:01:53 +0000 (23:01 +0000)]
Merge "Add search loader for installed apps."

7 years agoRefactor SoundSettings to use more preference controller.
Doris Ling [Mon, 5 Dec 2016 21:29:21 +0000 (13:29 -0800)]
Refactor SoundSettings to use more preference controller.

- second round of refactoring SoundSettings to use preference
  controller.
- add controller for Emergency broadcast, Vibrate when ring, Phone
  ringtone, Alarm ringtone, and Notification ringtone.

Bug: 32276590
Test: make RunSettingsRoboTests
Change-Id: Iaff48ecb27bf156a5c8995de20ce7a440b094cdb

7 years agoAdd search loader for installed apps.
Fan Zhang [Wed, 7 Dec 2016 00:22:16 +0000 (16:22 -0800)]
Add search loader for installed apps.

- The loader filters out system apps.
- Loader performs case-insensitive match with app names.
- SearchResultAdapter combines results from multiple loaders into a
  single list.

Fixes: 33347966
Test: make RunSettingsRoboTests
Change-Id: I228ca6fb82f0ac5151b2346c079c2de41104a4df

7 years agoMerge "Test the Columns in the SearchIndexablesContract"
Matthew Fritze [Wed, 7 Dec 2016 19:37:39 +0000 (19:37 +0000)]
Merge "Test the Columns in the SearchIndexablesContract"

7 years agoTest the Columns in the SearchIndexablesContract
Matthew Fritze [Tue, 6 Dec 2016 22:53:38 +0000 (14:53 -0800)]
Test the Columns in the SearchIndexablesContract

The test is going into settings because of the lack testing
support in framework/base for this kind of change, and
because Settings search depends on this change.

Test: make RunSettingsUnitTests
Bug: 33390556
Change-Id: I8a87d4228a37fca475791409b89c7d135c29004a

7 years agoMerge "Clean up search fragment loader lifecycle."
Fan Zhang [Wed, 7 Dec 2016 00:58:42 +0000 (00:58 +0000)]
Merge "Clean up search fragment loader lifecycle."

7 years agoMerge "Added feature for surveys provider to Settings"
TreeHugger Robot [Wed, 7 Dec 2016 00:51:40 +0000 (00:51 +0000)]
Merge "Added feature for surveys provider to Settings"

7 years agoAdd Ims Registration Info to RadioInfo
Nathan Harold [Thu, 27 Oct 2016 20:45:00 +0000 (13:45 -0700)]
Add Ims Registration Info to RadioInfo

Replaced not used pdp list.

Bug:32874442
Change-Id: Iadb21a3108aaaa3afcde3972e6f98bfbbd5413f1

7 years agoClean up search fragment loader lifecycle.
Fan Zhang [Tue, 6 Dec 2016 00:21:44 +0000 (16:21 -0800)]
Clean up search fragment loader lifecycle.

- Programatically create SearchView to make it always expand across
  entire action bar.
- Store current query text during screen rotation
- Restart loader when query text changes

Bug: 33354491
Test: RunSettingsRoboTests
Change-Id: I63838a38514569aac60c5d67ac52ac06a7acd5a3

7 years agoEnable and Disable IMS Provisioning Based on Platform Capability
Nathan Harold [Fri, 28 Oct 2016 18:45:59 +0000 (11:45 -0700)]
Enable and Disable IMS Provisioning Based on Platform Capability

Bug:32874442
Change-Id: I4be301864a3d48ef14834caa707e9d64536fd836

7 years agoMerge "Add handling for tiles with intent-action metadata."
Doris Ling [Tue, 6 Dec 2016 18:14:06 +0000 (18:14 +0000)]
Merge "Add handling for tiles with intent-action metadata."

7 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Tue, 6 Dec 2016 15:40:36 +0000 (15:40 +0000)]
Merge "Import translations. DO NOT MERGE"

7 years agoMerge "Add entry point to Enterprise Privacy page"
Bartosz Fabianowski [Tue, 6 Dec 2016 15:09:28 +0000 (15:09 +0000)]
Merge "Add entry point to Enterprise Privacy page"

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 6 Dec 2016 05:01:52 +0000 (21:01 -0800)]
Import translations. DO NOT MERGE

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

7 years agoMerge "Add search provider for dashboard fragments in new IA."
TreeHugger Robot [Tue, 6 Dec 2016 03:58:10 +0000 (03:58 +0000)]
Merge "Add search provider for dashboard fragments in new IA."

7 years agoMerge "Add InstrumentFragment for non-PreferenceFragment types."
TreeHugger Robot [Tue, 6 Dec 2016 03:10:00 +0000 (03:10 +0000)]
Merge "Add InstrumentFragment for non-PreferenceFragment types."

7 years agoMerge "Added logging to pinpoint source of bug"
TreeHugger Robot [Tue, 6 Dec 2016 01:18:17 +0000 (01:18 +0000)]
Merge "Added logging to pinpoint source of bug"

7 years agoAdd InstrumentFragment for non-PreferenceFragment types.
Fan Zhang [Tue, 6 Dec 2016 01:02:33 +0000 (17:02 -0800)]
Add InstrumentFragment for non-PreferenceFragment types.

This allows app fragment use a less heavyweight fragment as super class
if they don't need PreferenceFragment. Using this class as base is
generally easier to set up robolectric tests too.

Bug: 33354536
Test: RunSettingsRoboTests
Change-Id: I91c4d242ea0333c76c8767c03c3f18dee6b6e104

7 years agoAdd handling for tiles with intent-action metadata.
Doris Ling [Mon, 5 Dec 2016 23:12:09 +0000 (15:12 -0800)]
Add handling for tiles with intent-action metadata.

If intent action is provided in the metadata for the dynamic tiles, it
will be added to the launching intent when user selects the tile.

Fixes: 31801423
Test: make RunSettingsRoboTests
Change-Id: Ic3e583a578660f4d9c40feff1418e5e354ab8f60

7 years agoMerge "Add search indexing for new gesture pages."
TreeHugger Robot [Tue, 6 Dec 2016 00:02:16 +0000 (00:02 +0000)]
Merge "Add search indexing for new gesture pages."

7 years agoAdded feature for surveys provider to Settings
Salvador Martinez [Wed, 19 Oct 2016 19:51:45 +0000 (12:51 -0700)]
Added feature for surveys provider to Settings

It is now possible to create and show surveys to a user
asking them for feedback within the Settings app.

Test: JUnitTests
Bug: 27823357
Change-Id: I824899045f6ce30e5b6f46d20888da673114f658

7 years agoAdded logging to pinpoint source of bug
Salvador Martinez [Tue, 29 Nov 2016 18:36:12 +0000 (10:36 -0800)]
Added logging to pinpoint source of bug

Sometimes the airplane mode banner will show up even
though airplane mode is not on. Logging has been added
to several areas around this condition in addition to
where the actual view is created. This will be used
to try and get a better handle on what the source of
the bug is.

Test: manual
Bug: 30860132
Change-Id: I7213aa7e187c5a8c0e94a5ce7a3269e6667cd61b

7 years agoAdd search provider for dashboard fragments in new IA.
Fan Zhang [Mon, 5 Dec 2016 22:42:49 +0000 (14:42 -0800)]
Add search provider for dashboard fragments in new IA.

Bug: 33252252
Test: make RunSettingsRoboTests
Change-Id: I8ea3a144f2bee3d979b909aba29a3360e25fd04b

7 years agoAdd search indexing for new gesture pages.
Fan Zhang [Mon, 5 Dec 2016 20:58:03 +0000 (12:58 -0800)]
Add search indexing for new gesture pages.

Bug: 33252252
Test: make RunSettingsRoboTests
Change-Id: I927e5b9b87b226ea5ce2006fc2524ac8db740446

7 years agoAdd entry point to Enterprise Privacy page
Bartosz Fabianowski [Mon, 28 Nov 2016 18:16:34 +0000 (19:16 +0100)]
Add entry point to Enterprise Privacy page

This CL adds an intent filter that will allow System apps to launch the
Enterprise Privacy page.

Bug: 32692748
Test: GTS test in separate CL

Change-Id: I397f1c8bf486f6974e2c86e98892032324492ab1

7 years agoRevert "Import translations. DO NOT MERGE"
Bill Yi [Mon, 5 Dec 2016 18:37:12 +0000 (18:37 +0000)]
Revert "Import translations. DO NOT MERGE"

This reverts commit da32519ef41e079c37920459bbe1adec9c03f94d.

Change-Id: I5c1241a6bf00d73f3b877b2eaeaeabd774413401

7 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 3 Dec 2016 08:41:05 +0000 (00:41 -0800)]
Import translations. DO NOT MERGE

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

7 years agoMerge "Add account picker to Support Tab"
Lei Yu [Fri, 2 Dec 2016 17:14:15 +0000 (17:14 +0000)]
Merge "Add account picker to Support Tab"

7 years agoMerge "Update SoundSettings to extend DashboardFragment."
TreeHugger Robot [Fri, 2 Dec 2016 03:32:08 +0000 (03:32 +0000)]
Merge "Update SoundSettings to extend DashboardFragment."

7 years agoMerge "Add search providers for Connected Devices in new IA"
TreeHugger Robot [Fri, 2 Dec 2016 02:27:34 +0000 (02:27 +0000)]
Merge "Add search providers for Connected Devices in new IA"

7 years agoMerge "Add DashboardItemAnimator to stop flash"
Lei Yu [Fri, 2 Dec 2016 01:32:08 +0000 (01:32 +0000)]
Merge "Add DashboardItemAnimator to stop flash"

7 years agoUpdate SoundSettings to extend DashboardFragment.
Doris Ling [Thu, 1 Dec 2016 01:33:50 +0000 (17:33 -0800)]
Update SoundSettings to extend DashboardFragment.

- initial round of refactoring SoundSettings to use DashboardFragment.
- add controller for Cast, Do not disturb, Alarm volume, Media volume,
  Ring volume and Notification volume.

Bug: 32276590
Test: make RunSettingsRoboTests
Change-Id: I5c02a344bff5117bfce93d7ccac650fccc82d2b0

7 years agoAdd search providers for Connected Devices in new IA
Fan Zhang [Wed, 30 Nov 2016 23:56:17 +0000 (15:56 -0800)]
Add search providers for Connected Devices in new IA

Also add code inspection tests to ensure search provider is added
properly.

Bug: 33252252
Test: make RunSettingsRoboTests
Change-Id: I192e1d9fe0498b76013c4d43b5624d1ef2beb6f9

7 years agoFix test for appcounter
Fan Zhang [Thu, 1 Dec 2016 23:01:57 +0000 (15:01 -0800)]
Fix test for appcounter

Bug: 33275978
Test: make RunSettingsRoboTests
Change-Id: Ie3c58dc95b4abde83f33ee7c2af925cef3be85fb

7 years agoMerge "Upload query text whenever it changes."
TreeHugger Robot [Thu, 1 Dec 2016 19:53:08 +0000 (19:53 +0000)]
Merge "Upload query text whenever it changes."

7 years agoImport translations. DO NOT MERGE am: 5a05a8a4ea -s ours am: f131815859 -s ours
Bill Yi [Thu, 1 Dec 2016 19:19:46 +0000 (19:19 +0000)]
Import translations. DO NOT MERGE am: 5a05a8a4ea  -s ours am: f131815859  -s ours
am: 6114c8d76d  -s ours

Change-Id: Ib0d7e5743af4d64ea147122bc5bb7c857e120dec

7 years agoImport translations. DO NOT MERGE am: 5a05a8a4ea -s ours
Bill Yi [Thu, 1 Dec 2016 19:13:45 +0000 (19:13 +0000)]
Import translations. DO NOT MERGE am: 5a05a8a4ea  -s ours
am: f131815859  -s ours

Change-Id: I3d20b9cf6c05d4f4770790336ecffcc53eebe11e

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 1 Dec 2016 19:07:44 +0000 (19:07 +0000)]
Import translations. DO NOT MERGE
am: 5a05a8a4ea  -s ours

Change-Id: Ia227c18a81391b0609518b9a68001598bd389191

7 years agoUpload query text whenever it changes.
Fan Zhang [Thu, 1 Dec 2016 17:52:10 +0000 (09:52 -0800)]
Upload query text whenever it changes.

Bug: 33266688
Test: make RunSettingsRoboTests
Change-Id: Ie26f9d4ad7460d49305457a7a3066d121e374eab

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 1 Dec 2016 18:11:25 +0000 (10:11 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 32177112
Change-Id: Ib08dd2e3c6b87cc0fbdc16bb167f4e167e52b020

7 years agoMerge "Adapt to behavior change in MATCH_UNINSTALLED_PACKAGES"
Amith Yamasani [Thu, 1 Dec 2016 17:01:05 +0000 (17:01 +0000)]
Merge "Adapt to behavior change in MATCH_UNINSTALLED_PACKAGES"

7 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Thu, 1 Dec 2016 06:17:43 +0000 (06:17 +0000)]
Merge "Import translations. DO NOT MERGE"

7 years agoMerge "Refactor NetworkScoreAppManager for testing." am: 512368a22e am: 3140bb5ace...
Amin Shaikh [Thu, 1 Dec 2016 02:31:46 +0000 (02:31 +0000)]
Merge "Refactor NetworkScoreAppManager for testing." am: 512368a22e am: 3140bb5ace am: 7c8af0aedc
am: 409f09b15a

Change-Id: I8ce57090a80cb83b12a55ced0f95989a65db8f9d

7 years agoMerge "Refactor NetworkScoreAppManager for testing." am: 512368a22e am: 3140bb5ace
Amin Shaikh [Thu, 1 Dec 2016 02:27:02 +0000 (02:27 +0000)]
Merge "Refactor NetworkScoreAppManager for testing." am: 512368a22e am: 3140bb5ace
am: 7c8af0aedc

Change-Id: I08804d0672ee723f0e6b1278972613a4f11f479d

7 years agoMerge "Refactor NetworkScoreAppManager for testing." am: 512368a22e
Amin Shaikh [Thu, 1 Dec 2016 02:21:13 +0000 (02:21 +0000)]
Merge "Refactor NetworkScoreAppManager for testing." am: 512368a22e
am: 3140bb5ace

Change-Id: I61fa13f1537465bf61ec65183d3844b2a2ffd001

7 years agoMerge "Refactor NetworkScoreAppManager for testing."
Amin Shaikh [Thu, 1 Dec 2016 02:11:06 +0000 (02:11 +0000)]
Merge "Refactor NetworkScoreAppManager for testing."
am: 512368a22e

Change-Id: I597c960d5e56014b23b280e1e73e324efa77f8fb

7 years agoMerge "Refactor NetworkScoreAppManager for testing."
Treehugger Robot [Thu, 1 Dec 2016 01:59:13 +0000 (01:59 +0000)]
Merge "Refactor NetworkScoreAppManager for testing."

7 years agoMerge "Add code inspector to ensure fragments implements search."
Fan Zhang [Thu, 1 Dec 2016 00:50:40 +0000 (00:50 +0000)]
Merge "Add code inspector to ensure fragments implements search."

7 years agoAdd DashboardItemAnimator to stop flash
jackqdyulei [Wed, 30 Nov 2016 01:03:25 +0000 (17:03 -0800)]
Add DashboardItemAnimator to stop flash

When there is no offset change for identical holder in
animateChange, simply return and don't invoke the
resetAnimation.

Bug: 33198024
Test: make RunSettingsRoboTests
Change-Id: Ib83363873bc5f51e5bd71af5a013ee0756728d1a

7 years agoMerge "Link WIFI_SAVED_NETWORK_SETTINGS action with activity." am: 666c9d7ea5 am...
Stephen Chen [Thu, 1 Dec 2016 00:28:39 +0000 (00:28 +0000)]
Merge "Link WIFI_SAVED_NETWORK_SETTINGS action with activity." am: 666c9d7ea5 am: 539eaa34d5 am: 701e558586
am: 075e8da2a0

Change-Id: Ie578966f612bd9033b25a88b227fd6811207a332

7 years agoMerge "Link WIFI_SAVED_NETWORK_SETTINGS action with activity." am: 666c9d7ea5 am...
Stephen Chen [Thu, 1 Dec 2016 00:13:50 +0000 (00:13 +0000)]
Merge "Link WIFI_SAVED_NETWORK_SETTINGS action with activity." am: 666c9d7ea5 am: 539eaa34d5
am: 701e558586

Change-Id: I0a5dd13992a450a04417bdc703781fb2d4c79055

7 years agoMerge "Link WIFI_SAVED_NETWORK_SETTINGS action with activity." am: 666c9d7ea5
Stephen Chen [Thu, 1 Dec 2016 00:09:32 +0000 (00:09 +0000)]
Merge "Link WIFI_SAVED_NETWORK_SETTINGS action with activity." am: 666c9d7ea5
am: 539eaa34d5

Change-Id: I32a45ccc9a08d8f90e8801f727853fc320db9dc5

7 years agoMerge "Link WIFI_SAVED_NETWORK_SETTINGS action with activity."
Stephen Chen [Wed, 30 Nov 2016 23:59:43 +0000 (23:59 +0000)]
Merge "Link WIFI_SAVED_NETWORK_SETTINGS action with activity."
am: 666c9d7ea5

Change-Id: I1b193660453cbc492d83501f8e9fe3b544e6e4b2

7 years agoAdd code inspector to ensure fragments implements search.
Fan Zhang [Wed, 30 Nov 2016 01:04:38 +0000 (17:04 -0800)]
Add code inspector to ensure fragments implements search.

Unless a fragment is grandfathered:
- If it's a SearchPreferenceFragment, it needs to implement Indexable.
- If it's a Indexable, it needs to contain SEARCH_INDEX_DATA_PROVIDER.

Bug: 33209410
Test: make RunSettingsRoboTests
Change-Id: I078c54374341ba2966145429fc1507a3d5763d3b

7 years agoAdd account picker to Support Tab
jackqdyulei [Mon, 7 Nov 2016 22:36:02 +0000 (14:36 -0800)]
Add account picker to Support Tab

Add a spinner to select the account for user.

Bug: 32249920
Test: make RunSettingsRoboTests
Change-Id: I372d16ec5ec3230f5f2994d79f4fd27085092236

7 years agoMakes app settings keep scroll position after unistalling apps.
Jaewoong Jung [Wed, 30 Nov 2016 20:48:18 +0000 (12:48 -0800)]
Makes app settings keep scroll position after unistalling apps.

Bug: 32195844
Test: Manual inspection after numerous tries to write one. Espresso
didn't work because the test scenario involves installing an app.
Robolectric didn't either because it doesn't fully emulate
ListView's scroll behavior.

Change-Id: Ia811198ddee6edf6d207a4e936d2e686b64bf02f

7 years agoAdapt to behavior change in MATCH_UNINSTALLED_PACKAGES
Amith Yamasani [Tue, 1 Nov 2016 22:49:21 +0000 (15:49 -0700)]
Adapt to behavior change in MATCH_UNINSTALLED_PACKAGES

Don't use the PM flag to reach across users.
If retrieving labels, etc., use MATCH_ANY_USER, since
several Settings screens show work profile apps as well.

Bug: 31000380
Test: Manual test of affected screens
Change-Id: Ib6f981ae8443f640276d395c37247c8c0b610894

7 years agoMerge "Add handling for account tiles for specific account type."
TreeHugger Robot [Wed, 30 Nov 2016 20:53:15 +0000 (20:53 +0000)]
Merge "Add handling for account tiles for specific account type."

7 years agoMerge "Link WIFI_SAVED_NETWORK_SETTINGS action with activity."
Treehugger Robot [Wed, 30 Nov 2016 20:25:12 +0000 (20:25 +0000)]
Merge "Link WIFI_SAVED_NETWORK_SETTINGS action with activity."

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 30 Nov 2016 19:04:32 +0000 (11:04 -0800)]
Import translations. DO NOT MERGE

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

7 years agoMerge "Method rename"
Julia Reynolds [Wed, 30 Nov 2016 15:08:09 +0000 (15:08 +0000)]
Merge "Method rename"

7 years agoMerge "Add test to ensure all future fragments implements logging."
TreeHugger Robot [Tue, 29 Nov 2016 23:20:34 +0000 (23:20 +0000)]
Merge "Add test to ensure all future fragments implements logging."

7 years agoAdd handling for account tiles for specific account type.
Doris Ling [Wed, 23 Nov 2016 00:37:06 +0000 (16:37 -0800)]
Add handling for account tiles for specific account type.

- List individual account instead of account type under User & account
  screen.

- Add handling to move account tiles with specific account type from
  top level account dashboard to inside the corresponding account
  preference.

- Rename settings.accounts.AccountPreference to
  settings.accounts.AccountTypePreference to make it less confused
  with settings.AccountPreference

Bug: 31801423
Test: make RunSettingsRoboTests
Change-Id: Iebe70a3c4230e8d979344f142a5c2a60945e552e