OSDN Git Service

android-x86/packages-apps-Settings.git
7 years ago*DO NOT MERGE* Create new suggestion category for backup. am: 1c72ce06d1
Stefanot [Thu, 26 Jan 2017 10:38:45 +0000 (10:38 +0000)]
*DO NOT MERGE* Create new suggestion category for backup. am: 1c72ce06d1
am: 3c019a8714  -s ours

Change-Id: I96f27a8f2afd65784de9289daff082ab5914fbb8

7 years ago*DO NOT MERGE* Create new suggestion category for backup.
Stefanot [Thu, 26 Jan 2017 10:35:45 +0000 (10:35 +0000)]
*DO NOT MERGE* Create new suggestion category for backup.
am: 1c72ce06d1

Change-Id: I07d65c9045c97ac62e4d7bfc0fd96a92fdab5809

7 years agoMerge "Development Options: toggle binderized hals" am: 5f854f39a8 am: 8076dcde0c...
Steven Moreland [Thu, 26 Jan 2017 10:09:55 +0000 (10:09 +0000)]
Merge "Development Options: toggle binderized hals" am: 5f854f39a8 am: 8076dcde0c am: ec0e1fb59f
am: 7ea5b6d740

Change-Id: I2c9d79da43142e440f7c79b85904a94c2af65b76

7 years agoMerge "Development Options: toggle binderized hals" am: 5f854f39a8 am: 8076dcde0c
Steven Moreland [Thu, 26 Jan 2017 10:06:43 +0000 (10:06 +0000)]
Merge "Development Options: toggle binderized hals" am: 5f854f39a8 am: 8076dcde0c
am: ec0e1fb59f

Change-Id: I7bb618cdbe0bc925b214b9184652864ad6b5a8ba

7 years agoMerge "Development Options: toggle binderized hals" am: 5f854f39a8
Steven Moreland [Thu, 26 Jan 2017 10:03:46 +0000 (10:03 +0000)]
Merge "Development Options: toggle binderized hals" am: 5f854f39a8
am: 8076dcde0c

Change-Id: Idb3f71707b7b1b091e3a18517852fff66e01cf08

7 years agoMerge "Development Options: toggle binderized hals"
Steven Moreland [Thu, 26 Jan 2017 10:01:15 +0000 (10:01 +0000)]
Merge "Development Options: toggle binderized hals"
am: 5f854f39a8

Change-Id: Id05768135b0609e917f4e1888caf2724ebf9ba3a

7 years agoMerge "Development Options: toggle binderized hals"
Treehugger Robot [Thu, 26 Jan 2017 09:57:38 +0000 (09:57 +0000)]
Merge "Development Options: toggle binderized hals"

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr2-dev am: 063b543124 -s ours
Bill Yi [Thu, 26 Jan 2017 07:14:12 +0000 (07:14 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev am: 063b543124  -s ours
am: 398db3e566  -s ours

Change-Id: I43ce9c2d751cd9ce0ea8a69b3539a11626226cad

7 years agoImport translations. DO NOT MERGE am: db68fc320f -s ours
Bill Yi [Thu, 26 Jan 2017 07:13:58 +0000 (07:13 +0000)]
Import translations. DO NOT MERGE am: db68fc320f  -s ours
am: b33b8c9081  -s ours

Change-Id: I06f626486bc7c15d769a30e1111cd4bf82740915

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr2-dev
Bill Yi [Thu, 26 Jan 2017 07:11:30 +0000 (07:11 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev
am: 063b543124  -s ours

Change-Id: I5ab2b1d1e9767e94d0aea73c51d3bc12f151184a

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 26 Jan 2017 07:11:29 +0000 (07:11 +0000)]
Import translations. DO NOT MERGE
am: db68fc320f  -s ours

Change-Id: I178cf3af6e91249aed1ed457bcbc88eb2d7f86f1

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr2-dev
TreeHugger Robot [Thu, 26 Jan 2017 07:06:17 +0000 (07:06 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev

7 years agoDevelopment Options: toggle binderized hals
Steven Moreland [Fri, 13 Jan 2017 19:31:41 +0000 (11:31 -0800)]
Development Options: toggle binderized hals

This allows for quick performance testing and also for a better
dogfooding experience.

Bug: 34256441
Test: Verification with getprop.
Change-Id: I81c5e0b1044d4569a6fe55a4b30f7e21c4465fc2

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 26 Jan 2017 04:04:52 +0000 (20:04 -0800)]
Import translations. DO NOT MERGE

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

7 years agoMerge "Update Network & internet->Wi-Fi to use MasterSwitchPreference."
TreeHugger Robot [Thu, 26 Jan 2017 02:09:52 +0000 (02:09 +0000)]
Merge "Update Network & internet->Wi-Fi to use MasterSwitchPreference."

7 years agoMerge "Revert "Get intent for backup settings from backup transport.""
Doris Ling [Thu, 26 Jan 2017 01:50:22 +0000 (01:50 +0000)]
Merge "Revert "Get intent for backup settings from backup transport.""

7 years agoRevert "Get intent for backup settings from backup transport."
Fan Zhang [Thu, 26 Jan 2017 01:05:31 +0000 (01:05 +0000)]
Revert "Get intent for backup settings from backup transport."

Bug: 34700410

This reverts commit 970a66c97298ec1ec7abd874eaa82787b65a8fa6.

Change-Id: I254d704eb4f456c07c6d6d270de830aef95d1f4a

7 years agoMerge "Implements queryNonIndexableKeys for Settings"
TreeHugger Robot [Thu, 26 Jan 2017 01:10:15 +0000 (01:10 +0000)]
Merge "Implements queryNonIndexableKeys for Settings"

7 years agoMerge "Create security status preference category."
Shahriyar Amini [Thu, 26 Jan 2017 00:48:18 +0000 (00:48 +0000)]
Merge "Create security status preference category."

7 years agoMerge "Integrate Select-To-Speak in Vision Settings."
Chao Chen [Thu, 26 Jan 2017 00:18:32 +0000 (00:18 +0000)]
Merge "Integrate Select-To-Speak in Vision Settings."

7 years agoMerge "Add an automated test for the null bundle crash."
Daniel Nishi [Wed, 25 Jan 2017 22:52:35 +0000 (22:52 +0000)]
Merge "Add an automated test for the null bundle crash."

7 years agoImplements queryNonIndexableKeys for Settings
Matthew Fritze [Tue, 24 Jan 2017 18:45:11 +0000 (10:45 -0800)]
Implements queryNonIndexableKeys for Settings

queryNonIndexableKeys returns a list of all of the
non-indexable keys for all providers in Settings

Change-Id: Id53cb2f55662e85c66f1c3f0c0e7d933b19fedaf
Fixes: 34623460
Test: RunSettingsRoboTests

7 years agoCreate security status preference category.
Shahriyar Amini [Tue, 24 Jan 2017 04:27:34 +0000 (20:27 -0800)]
Create security status preference category.

Bug: 31002801
Test: make RunSettingsRoboTests
Change-Id: I513253e79f91e41686bad9abac8548bb366fc98d

7 years agoMerge "Refactor setCurrentFunction and setUsbDataUnlocked into one method" into nyc...
Jerry Zhang [Wed, 25 Jan 2017 21:35:40 +0000 (21:35 +0000)]
Merge "Refactor setCurrentFunction and setUsbDataUnlocked into one method" into nyc-mr2-dev am: 361a3e2090
am: 8b6614cdc3

Change-Id: I3162421f2f3e5a6237166d200feb7f954968f9f1

7 years agoMerge "Refactor setCurrentFunction and setUsbDataUnlocked into one method" into nyc...
Jerry Zhang [Wed, 25 Jan 2017 21:33:23 +0000 (21:33 +0000)]
Merge "Refactor setCurrentFunction and setUsbDataUnlocked into one method" into nyc-mr2-dev
am: 361a3e2090

Change-Id: Idd44b8b05758f3fd8c2e016604c0f2a10bd0b80c

7 years agoRefactor setCurrentFunction and setUsbDataUnlocked into one method am: a291336bd8...
Jerry Zhang [Wed, 25 Jan 2017 21:32:25 +0000 (21:32 +0000)]
Refactor setCurrentFunction and setUsbDataUnlocked into one method am: a291336bd8  -s ours
am: a0b75ff516

Change-Id: I56296cc7b7c2febd049b0a02865735ad7868bda6

7 years agoRefactor setCurrentFunction and setUsbDataUnlocked into one method
Jerry Zhang [Wed, 25 Jan 2017 21:24:02 +0000 (21:24 +0000)]
Refactor setCurrentFunction and setUsbDataUnlocked into one method
am: a291336bd8  -s ours

Change-Id: I60a407b71c4fbf4b5bd0ef980c08af8a4aa68f20

7 years agoIntegrate Select-To-Speak in Vision Settings.
chchao [Fri, 20 Jan 2017 22:45:32 +0000 (14:45 -0800)]
Integrate Select-To-Speak in Vision Settings.

This allows users to launch Select to Speak service in SetupWizard when
setting up their devices.

Bug: 29517229
Test: manual

Change-Id: I3844e2692e1fc9eb3d0736feb4ca4f74d474130b

7 years agoMerge "Search only matches prefixes rather than any substring"
TreeHugger Robot [Wed, 25 Jan 2017 20:37:15 +0000 (20:37 +0000)]
Merge "Search only matches prefixes rather than any substring"

7 years agoMerge "Refactor setCurrentFunction and setUsbDataUnlocked into one method" into nyc...
Jerry Zhang [Wed, 25 Jan 2017 20:30:17 +0000 (20:30 +0000)]
Merge "Refactor setCurrentFunction and setUsbDataUnlocked into one method" into nyc-mr2-dev

7 years agoMerge "Making "Battery Saver" use MasterSwitchPreference."
TreeHugger Robot [Wed, 25 Jan 2017 19:31:28 +0000 (19:31 +0000)]
Merge "Making "Battery Saver" use MasterSwitchPreference."

7 years agoMerge "Let extra apps launch channel settings."
TreeHugger Robot [Wed, 25 Jan 2017 19:20:18 +0000 (19:20 +0000)]
Merge "Let extra apps launch channel settings."

7 years ago*DO NOT MERGE* Create new suggestion category for backup.
Stefanot [Wed, 25 Jan 2017 11:20:50 +0000 (11:20 +0000)]
*DO NOT MERGE* Create new suggestion category for backup.

Test: manual

BUG: 34219298
Change-Id: I288d36b2b48582e5f8e0d1720d1f7004ad8dae2c

7 years agoMerge "Move theme setting out of tuner to display"
TreeHugger Robot [Wed, 25 Jan 2017 19:17:19 +0000 (19:17 +0000)]
Merge "Move theme setting out of tuner to display"

7 years agoMerge "Show current WebView package as selected in Dev Setting."
TreeHugger Robot [Wed, 25 Jan 2017 19:10:35 +0000 (19:10 +0000)]
Merge "Show current WebView package as selected in Dev Setting."

7 years agoUpdate Network & internet->Wi-Fi to use MasterSwitchPreference.
Doris Ling [Tue, 24 Jan 2017 00:16:06 +0000 (16:16 -0800)]
Update Network & internet->Wi-Fi to use MasterSwitchPreference.

- Add a preference controller for Network & internet->Wi-Fi to control
  the preference toggling and summary update.
- Refactor WifiSettings and WifiEnabler to share code between the new
  wifi preference controller and the wifi setting.
- Refactor BluetoothSummaryHelper to have a common base class with the
  WifiSummaryHelper.
- Rename the summary helper to summary updater.

Bug: 34280769
Test: make RunSettingsRoboTests
Change-Id: I00ebfc161bcef89331bb41ba405ed8cb8232d248

7 years agoMove settings to their new location according to ux spec.
Niels Egberts [Mon, 12 Dec 2016 13:29:41 +0000 (13:29 +0000)]
Move settings to their new location according to ux spec.

This change doesn't add or remove any functionality.

Additionally, make the settings searchable.

Test: mmma packages/apps/Settings + manual testing

Change-Id: Id3e24fd52b49b7373b4f247241cc52f61ffe169e

7 years agoSearch only matches prefixes rather than any substring
Matthew Fritze [Wed, 25 Jan 2017 00:25:11 +0000 (16:25 -0800)]
Search only matches prefixes rather than any substring

Test: make RunSettingsRoboTests
Change-Id: I4da7e4c75c461fad96dedf5277ddba02e067928d
Bug: 34688403

7 years agoAdd an automated test for the null bundle crash.
Daniel Nishi [Wed, 25 Jan 2017 00:43:48 +0000 (16:43 -0800)]
Add an automated test for the null bundle crash.

Bug: 34633464
Test: Settings robotest .
Change-Id: I244e58c3660ea3376dbeb6293da54c99a98e3157

7 years agoLet extra apps launch channel settings.
Julia Reynolds [Wed, 25 Jan 2017 15:32:07 +0000 (10:32 -0500)]
Let extra apps launch channel settings.

Test: manual
Change-Id: I689c0b35224dffc306ecbfa6f25ad3f072cd4dba

7 years agoShow current WebView package as selected in Dev Setting.
Gustav Sennton [Tue, 24 Jan 2017 15:19:10 +0000 (15:19 +0000)]
Show current WebView package as selected in Dev Setting.

When intenting to the select-webview-implementation Dev Setting a user
won't know which package is currently being used as WebView
implementation. To solve this we change the background color of the item
representing the current WebView package.

With this CL, also ensure we update the summary of the WebView
implementation Dev Setting even if we failed to switch to the package
chosen by the user - we might have switched to another package instead.

Bug: 34702900
Test: Ensure the current WebView package has a different background
color than the rest of the packages.

Change-Id: Ieb65fdc635d5dd1253931c8ab8bb0d827a142c56

7 years agoMerge "Make headset icons consistent before / after pairing" am: 690bdb22c9 am: a2e06...
Marie Janssen [Wed, 25 Jan 2017 16:16:12 +0000 (16:16 +0000)]
Merge "Make headset icons consistent before / after pairing" am: 690bdb22c9 am: a2e068a2b4 am: 60eb5503e8
am: a78e718b26

Change-Id: I20b0fe30ab6b882e4f517147e9ffabe786d73988

7 years agoMerge "Make headset icons consistent before / after pairing" am: 690bdb22c9 am: a2e06...
Marie Janssen [Wed, 25 Jan 2017 16:10:29 +0000 (16:10 +0000)]
Merge "Make headset icons consistent before / after pairing" am: 690bdb22c9 am: a2e068a2b4
am: 60eb5503e8

Change-Id: Ida107059b3a5ec815f198659ff8174c8ff375efe

7 years agoMerge "Make headset icons consistent before / after pairing" am: 690bdb22c9
Marie Janssen [Wed, 25 Jan 2017 16:08:01 +0000 (16:08 +0000)]
Merge "Make headset icons consistent before / after pairing" am: 690bdb22c9
am: a2e068a2b4

Change-Id: I036781f8908da81ea294abafaf6c72e9d03699c8

7 years agoMerge "Make headset icons consistent before / after pairing"
Marie Janssen [Wed, 25 Jan 2017 16:06:00 +0000 (16:06 +0000)]
Merge "Make headset icons consistent before / after pairing"
am: 690bdb22c9

Change-Id: I64a9a3a7d8a2f110ee1809af33583f82fc4b4f57

7 years agoMerge "Make headset icons consistent before / after pairing"
Marie Janssen [Wed, 25 Jan 2017 16:02:13 +0000 (16:02 +0000)]
Merge "Make headset icons consistent before / after pairing"

7 years agoMove theme setting out of tuner to display
Jason Monk [Wed, 25 Jan 2017 15:34:29 +0000 (10:34 -0500)]
Move theme setting out of tuner to display

Test: runtest --path
packages/apps/Settings/tests/unit/src/com/android/settings/display/
Fixes: 34682466

Change-Id: Ifc21e390bf8441308871d487bd60d59826603ec2

7 years agoMerge "Add autofill app preference to Default Apps."
TreeHugger Robot [Wed, 25 Jan 2017 07:42:12 +0000 (07:42 +0000)]
Merge "Add autofill app preference to Default Apps."

7 years agoAdd autofill app preference to Default Apps.
Jason Long [Wed, 18 Jan 2017 21:38:23 +0000 (13:38 -0800)]
Add autofill app preference to Default Apps.

Add an option to AppListPreference to disable saving/restoring state.

Bug: 34396007
Test: Manual verification
Change-Id: I80103bd3d4e8fadfa30b7d3631d24c1b159da0dd

7 years agoMerge "Prevent crash when rotating screen in Settings Search"
TreeHugger Robot [Wed, 25 Jan 2017 03:54:48 +0000 (03:54 +0000)]
Merge "Prevent crash when rotating screen in Settings Search"

7 years agoMerge "Tell user that device owner can lock/wipe the device"
Bartosz Fabianowski [Wed, 25 Jan 2017 03:21:35 +0000 (03:21 +0000)]
Merge "Tell user that device owner can lock/wipe the device"

7 years agoMerge "Add admin-set default apps to Enterprise Privacy Settings page"
TreeHugger Robot [Wed, 25 Jan 2017 03:17:55 +0000 (03:17 +0000)]
Merge "Add admin-set default apps to Enterprise Privacy Settings page"

7 years agoMerge "Add additional preference items to WifiSettings for configuring Wi-Fi."
TreeHugger Robot [Wed, 25 Jan 2017 02:28:06 +0000 (02:28 +0000)]
Merge "Add additional preference items to WifiSettings for configuring Wi-Fi."

7 years agoPrevent crash when rotating screen in Settings Search
Matthew Fritze [Wed, 25 Jan 2017 01:17:56 +0000 (17:17 -0800)]
Prevent crash when rotating screen in Settings Search

Change-Id: If8134a1e96f791aacedf2e907272cee33dfc85fe
Fix: 34690393
Test: make RunSettingsRoboTests

7 years agoMaking "Battery Saver" use MasterSwitchPreference.
jackqdyulei [Tue, 24 Jan 2017 01:12:03 +0000 (17:12 -0800)]
Making "Battery Saver" use MasterSwitchPreference.

By using MasterSwitchPreference, we make "battery saver" to have
two parts: left part is the clickable summary jumping to other
fragment while right part is a switch toggle.

Also remove the previous battery saver preference.

Bug: 34279051
Test: RunSettingsRoboTests

Change-Id: If36fa9741e413a9bbdd57fa67a2c15b6e457afd7

7 years agoTell user that device owner can lock/wipe the device
Bartosz Fabianowski [Fri, 20 Jan 2017 18:27:33 +0000 (19:27 +0100)]
Tell user that device owner can lock/wipe the device

This CL adds information about the device owner's ability to lock
and/or wipe the device remotely to the Enterprise Privacy Settings
page.

Bug: 32692748
Test: CTS Verifier

Change-Id: I17a40c990ce2ac09b43e99774b8aefe297ea33b7

7 years agoAdd admin-set default apps to Enterprise Privacy Settings page
Bartosz Fabianowski [Thu, 19 Jan 2017 16:20:03 +0000 (17:20 +0100)]
Add admin-set default apps to Enterprise Privacy Settings page

This CL adds information about the number of default handlers for
common intents (e.g. browser, e-mail, calendar) set by the admin.

Bug: 32692748
Test: make RunSettingsRoboTests

Change-Id: I569d9ddabeee2b2aa9a892b28066abb8bf920fcf

7 years agoAdd additional preference items to WifiSettings for configuring Wi-Fi.
Stephen Chen [Fri, 20 Jan 2017 23:52:56 +0000 (15:52 -0800)]
Add additional preference items to WifiSettings for configuring Wi-Fi.

Removed the gear icon that links to ConfigureWifiSettings activity,
and added links to ConfigureWifiSettings and SavedAccessPointSettings.
Included these links in the wifi disabled screen.

Also refactored code to have dividers between wifi list and other settings, and
changed refresh menu item to a button.

Bug: 34518148
Bug: 33110624
Test: Manual inspection
Change-Id: Ie40935f553faea59b7a76fc050d970d431cef5ad

7 years agoMerge "Remove the character limit on summary text"
TreeHugger Robot [Wed, 25 Jan 2017 00:42:38 +0000 (00:42 +0000)]
Merge "Remove the character limit on summary text"

7 years agoMerge "Remove getCategoryKey() from DashboardFragment children."
TreeHugger Robot [Wed, 25 Jan 2017 00:21:23 +0000 (00:21 +0000)]
Merge "Remove getCategoryKey() from DashboardFragment children."

7 years agoRemove the character limit on summary text
Matthew Fritze [Tue, 24 Jan 2017 22:51:08 +0000 (14:51 -0800)]
Remove the character limit on summary text

Test: Search "Swipe for", observe the summary text on Swipe for
Notifications.
Change-Id: I1baac85ee936976b67ce3511df4c5fcc43233d0c
Fixes: 34683830

7 years agoRemove getCategoryKey() from DashboardFragment children.
Fan Zhang [Tue, 24 Jan 2017 22:02:17 +0000 (14:02 -0800)]
Remove getCategoryKey() from DashboardFragment children.

Use the centralized registry to look up category key instead.

Bug: 32936784
Test: make RunSettingsRoboTests -j40
Change-Id: I0b8c72d70f93e4b5c58871ac90de41f69ad15653

7 years agoMerge "Update to new method to check if app supports picture-in-picture."
Winson Chung [Tue, 24 Jan 2017 22:26:43 +0000 (22:26 +0000)]
Merge "Update to new method to check if app supports picture-in-picture."

7 years agoMerge "Hook up the Games storage category preference to a games view."
Daniel Nishi [Tue, 24 Jan 2017 21:55:27 +0000 (21:55 +0000)]
Merge "Hook up the Games storage category preference to a games view."

7 years agoRefactor setCurrentFunction and setUsbDataUnlocked into one method
Jerry Zhang [Wed, 12 Oct 2016 21:42:56 +0000 (14:42 -0700)]
Refactor setCurrentFunction and setUsbDataUnlocked into one method

This allows us to get rid of an extraneous config switch and
simplify some code.

Bug: 31814300
Test: Manually change usb configuration
Change-Id: Id78da530ff485ecd7a915056832eec1dd8c91954
(cherry picked from commit 5d36a177d95184aaa0763d07aa38ff028f5a9b9c)

7 years agoMerge "Use consistent formatter to convert byte->MB->GB."
TreeHugger Robot [Tue, 24 Jan 2017 21:18:42 +0000 (21:18 +0000)]
Merge "Use consistent formatter to convert byte->MB->GB."

7 years agoMerge "Index everything into the database and disable invalid ones"
TreeHugger Robot [Tue, 24 Jan 2017 21:01:34 +0000 (21:01 +0000)]
Merge "Index everything into the database and disable invalid ones"

7 years agoUse consistent formatter to convert byte->MB->GB.
Fan Zhang [Tue, 24 Jan 2017 19:29:27 +0000 (11:29 -0800)]
Use consistent formatter to convert byte->MB->GB.

In data usage screen, displaying and setting data warning/limit should
use the same value to convert units.

Change-Id: Ic237203dbaf23cb0c99165d0055f259a30fd8cf9
Fix: 34204773
Test: RunSettingsRoboTests

7 years agoIndex everything into the database and disable invalid ones
Matthew Fritze [Wed, 18 Jan 2017 17:39:25 +0000 (09:39 -0800)]
Index everything into the database and disable invalid ones

Change-Id: I7eb931009b722c10487f6212113a8993463b7bce
Fixes: 34142852
Test: make RunSettingsRoboTests

7 years agoMerge "Fix a bug where Settings would crash from search into storage."
TreeHugger Robot [Tue, 24 Jan 2017 19:07:37 +0000 (19:07 +0000)]
Merge "Fix a bug where Settings would crash from search into storage."

7 years agoUpdate to new method to check if app supports picture-in-picture.
Winson Chung [Tue, 24 Jan 2017 18:50:24 +0000 (10:50 -0800)]
Update to new method to check if app supports picture-in-picture.

- With change ag/1705896, we are no longer using resizeMode to
  check for picture-in-picture support.

Bug: 34256643
Test: make -j40 RunSettingsRoboTests
Change-Id: Iea0c6e76db52d994295922580f14bb0cb0d65451

7 years agoMerge "Adding settings for managing auto-enter picture-in-picture."
TreeHugger Robot [Tue, 24 Jan 2017 18:38:49 +0000 (18:38 +0000)]
Merge "Adding settings for managing auto-enter picture-in-picture."

7 years agoHook up the Games storage category preference to a games view.
Daniel Nishi [Thu, 12 Jan 2017 01:50:02 +0000 (17:50 -0800)]
Hook up the Games storage category preference to a games view.

This patch adds functionality for the soon-to-be-deprecated games
and the new app categorization.

Bug: 33199077
Test: settings robo
Change-Id: Iae055c6f1b4d1af3f51aba9897c140ae7aac41c9

7 years agoFix a bug where Settings would crash from search into storage.
Daniel Nishi [Tue, 24 Jan 2017 17:29:38 +0000 (09:29 -0800)]
Fix a bug where Settings would crash from search into storage.

If the user entered the StorageDashboardFragment from search,
it would crash due to a precondition check added to the Storage
Manager. Because no volume id was set in the bundle for it to
check, it hits an assert that the volume id is not null causing
Settings to crash.

This sets a sensible default instead of null.

Bug: 34633464
Test: Manual. Entering through search does not crash now.
Change-Id: Ia6cd82929a0813eefcdad279436b9c2fe30b0146

7 years agoAdding settings for managing auto-enter picture-in-picture.
Winson Chung [Fri, 20 Jan 2017 19:22:44 +0000 (11:22 -0800)]
Adding settings for managing auto-enter picture-in-picture.

- Add per-app setting for users to control whether an app can
  enter picture-in-picture when it is hidden.

Bug: 34520451
Test: make -j40 RunSettingsRoboTests
Change-Id: I182d6069ad01e42f1d3d6623ea21362ce802efba
Signed-off-by: Winson Chung <winsonc@google.com>
7 years agoMerge "Get intent for backup settings from backup transport."
Anton Philippov [Tue, 24 Jan 2017 16:11:30 +0000 (16:11 +0000)]
Merge "Get intent for backup settings from backup transport."

7 years agoMerge "Notification settings updates"
Julia Reynolds [Tue, 24 Jan 2017 15:15:24 +0000 (15:15 +0000)]
Merge "Notification settings updates"

7 years agoBuild a sitemap manager to keep track of breadcrumbs
Fan Zhang [Sat, 21 Jan 2017 22:53:01 +0000 (14:53 -0800)]
Build a sitemap manager to keep track of breadcrumbs

- Have a new db to track parent-child page relation at index time.
- Make a registry class to track (in IA) which page host what type of
  sub pages.
- Make a manager class that queries the db as well as IA to compute
  breadcrumbs

Fix: 32936784
Test: RunSettingsRoboTest

Change-Id: I5f1583fae772c3d477d2ad186e111b79cc3e41aa

7 years agoMerge "Full screen default app fragment"
TreeHugger Robot [Tue, 24 Jan 2017 01:38:42 +0000 (01:38 +0000)]
Merge "Full screen default app fragment"

7 years agoGet intent for backup settings from backup transport.
Anton Philippov [Thu, 19 Jan 2017 18:17:44 +0000 (18:17 +0000)]
Get intent for backup settings from backup transport.

This changes BackupSettingsActivity to launch backup settings
from intent provided by BackupTransport#dataManagementIntent() API
instead of the config.xml.

Test: make RunSettingsRoboTests -j40
Change-Id: I0847999459a914e585a626761f3051f1d7a0b591

7 years agoFull screen default app fragment
Fan Zhang [Sat, 14 Jan 2017 00:01:14 +0000 (16:01 -0800)]
Full screen default app fragment

Fix: 34280137
Test: make RunSettingsRoboTests
Change-Id: Ib44e39589781d68c7952a2c16a44682791a422f1

7 years agoMerge "Show DO Disclosures for secondary users"
Bartosz Fabianowski [Mon, 23 Jan 2017 22:09:39 +0000 (22:09 +0000)]
Merge "Show DO Disclosures for secondary users"

7 years agoMerge "Add power management settings into Settings->Battery"
TreeHugger Robot [Mon, 23 Jan 2017 21:07:29 +0000 (21:07 +0000)]
Merge "Add power management settings into Settings->Battery"

7 years agoMerge "Update WebView implementation Dev Setting - new looks + descriptions."
TreeHugger Robot [Mon, 23 Jan 2017 20:20:10 +0000 (20:20 +0000)]
Merge "Update WebView implementation Dev Setting - new looks + descriptions."

7 years agoMerge "Distribute battery cost of screen to all the other apps."
TreeHugger Robot [Mon, 23 Jan 2017 19:55:50 +0000 (19:55 +0000)]
Merge "Distribute battery cost of screen to all the other apps."

7 years agoMerge "Add SuggestionFeatureProvider interface." into nyc-mr2-dev am: bd16255ee1
Stefano Tommasini [Mon, 23 Jan 2017 19:09:55 +0000 (19:09 +0000)]
Merge "Add SuggestionFeatureProvider interface." into nyc-mr2-dev am: bd16255ee1
am: 698862f60d

Change-Id: Ibe7321cb8ce937e43ec10696ad6f6a8d54b77657

7 years agoUpdate WebView implementation Dev Setting - new looks + descriptions.
Gustav Sennton [Tue, 13 Dec 2016 19:16:48 +0000 (19:16 +0000)]
Update WebView implementation Dev Setting - new looks + descriptions.

Now that we are changing the WebView package mechanism so that a package
can only be used as WebView implementation if that package is enabled
for all users of the device we need to tell the user why a package can't
be chosen as WebView implementation.
With this CL we do so in the 'Set WebView Implementation' Developer
Setting.

We code for the WebView implementation Developer Setting is now based on
the same code as that of the Debug App Developer Setting.

Bug: 32894154
Test: Ensure WebView Implementation setting shows correct packages.
Test: Ensure WebView Implementation setting shows correct descriptions
for why a package is not usable - including the case where packages are
disabled/uninstalled for a second user.
Test: Ensure the summary for the WebView Implmentation setting is
updated after changing WebView package.
Test: Ensure the WebView package Activity
(Settings.ACTION_WEBVIEW_SETTINGS) is similar to the Dev Setting.
Test: ensure non-admin user cannot start WV-picker activity through
'adb shell am start -n com.android.settings/.WebViewImplementation'

Change-Id: Ia6e6e9e12ce8f8f45ec539807cd0c6479acb8ecb

7 years agoAdd power management settings into Settings->Battery
jackqdyulei [Wed, 18 Jan 2017 19:23:57 +0000 (11:23 -0800)]
Add power management settings into Settings->Battery

The items been added to group are: Adaptive brightness, Sleep.
Battery saver has been moved into this group as well.

Also refactor the code a little bit to make it fit the
preferenceController. Whole refactor of PowerUsageSummary and
PowerUsageDetail will be tracked in b/34386721

Bug: 34279051
Test: runSettingsRoboTests & Screenshot
Change-Id: I702d8479d1b80f7e9cf1a46752c75bf5d189e0f6

7 years agoMake headset icons consistent before / after pairing
Xiaodong Xu [Mon, 25 May 2015 07:37:05 +0000 (09:37 +0200)]
Make headset icons consistent before / after pairing

Previously A2DP would be shown before pairing with a HFP device.

bug: 30677445
Change-Id: I0e9ab17197e6ee099d890d5368def36a14ca8344

7 years agoMerge commit 'eecfc2c5f7513c1d5f7eb352575f54c7d0a792b5' into manual_merge_eecfc2c5f7
Stefanot [Mon, 23 Jan 2017 10:51:26 +0000 (10:51 +0000)]
Merge commit 'eecfc2c5f7513c1d5f7eb352575f54c7d0a792b5' into manual_merge_eecfc2c5f7

Change-Id: Ic6dac401be7f823931954741fa8914986226eb1c

7 years agoMerge "Add basic breadcrumb on search result."
Fan Zhang [Sun, 22 Jan 2017 18:24:27 +0000 (18:24 +0000)]
Merge "Add basic breadcrumb on search result."

7 years agoMerge "Add screen title to prefs."
Fan Zhang [Sun, 22 Jan 2017 17:57:23 +0000 (17:57 +0000)]
Merge "Add screen title to prefs."

7 years agoAdd screen title to prefs.
Fan Zhang [Sat, 21 Jan 2017 22:54:05 +0000 (14:54 -0800)]
Add screen title to prefs.

Scanned prefs that we currently index and added screen title if the root
node didn't have any.

Bug: 32936784
Test: reindex db and verify through sqlite3.
Change-Id: Iafdff982e04bd45c8666bfdd01d312f5979f9681

7 years agoAdd basic breadcrumb on search result.
Fan Zhang [Fri, 20 Jan 2017 23:50:11 +0000 (15:50 -0800)]
Add basic breadcrumb on search result.

- Some line formatting
- Some UI tweak to make it more polished
- Updated the way we generate docid
- Use screen title as leaf level breadcrumb and display on UI (TBD how
  to get parent level titles)
- Hardcode breadcrumb for installed app results

Bug: 32936784
Test: make RunSettingsRoboTests
Change-Id: I18e0780f91b1123bbf25cd99adf2e2a5f684a83c

7 years agoMerge "Misc fix on settings themes."
TreeHugger Robot [Sat, 21 Jan 2017 21:17:49 +0000 (21:17 +0000)]
Merge "Misc fix on settings themes."

7 years agoMerge "Add SuggestionFeatureProvider interface." into nyc-mr2-dev
Stefano Tommasini [Sat, 21 Jan 2017 19:50:24 +0000 (19:50 +0000)]
Merge "Add SuggestionFeatureProvider interface." into nyc-mr2-dev
am: bd16255ee1

Change-Id: Ia13886f7e3214e355db017b4463a956c0971b021

7 years agoAdd SuggestionFeatureProvider interface.
Stefanot [Sat, 21 Jan 2017 19:50:22 +0000 (19:50 +0000)]
Add SuggestionFeatureProvider interface.
am: 2eac39b393

Change-Id: I87fae019229983b97c19710b6cf73f4e1d05dff1

7 years agoMerge "Add SuggestionFeatureProvider interface." into nyc-mr2-dev
Stefano Tommasini [Sat, 21 Jan 2017 19:44:15 +0000 (19:44 +0000)]
Merge "Add SuggestionFeatureProvider interface." into nyc-mr2-dev

7 years agoMisc fix on settings themes.
Fan Zhang [Sat, 21 Jan 2017 18:07:26 +0000 (10:07 -0800)]
Misc fix on settings themes.

- Use dark status bar for confirmDeviceCreditials theme to match dark
  window background
- Remove SubSettingsDialogWhenLarge theme in favor of full screen
  settings for O.
- Update font/dize preview text color to match light background

Bug: 33558692
Test: visual

Change-Id: Id8704c96e2ce35247e80e50eefd531786479b193

7 years agoAdd SuggestionFeatureProvider interface.
Stefanot [Fri, 13 Jan 2017 14:58:41 +0000 (14:58 +0000)]
Add SuggestionFeatureProvider interface.

The interface is added so that a vendor can add new suggestions to the
settings app, and customize details for these suggestions.

Test: make RunSettingsRoboTests

BUG: 34219298

Change-Id: I373c63709b1aaf68360aa2561a2ecfc3194e0e2b