Commit Graph

33360 Commits

Author SHA1 Message Date
TreeHugger Robot
f75b651874 Merge "Implements queryNonIndexableKeys for Settings" 2017-01-26 01:10:16 +00:00
Shahriyar Amini
6db21b4668 Merge "Create security status preference category." 2017-01-26 00:48:19 +00:00
Chao Chen
bb880bf465 Merge "Integrate Select-To-Speak in Vision Settings." 2017-01-26 00:18:36 +00:00
Daniel Nishi
bf441d39b9 Merge "Add an automated test for the null bundle crash." 2017-01-25 22:52:36 +00:00
Matthew Fritze
2108f91fe6 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
2017-01-25 14:33:45 -08:00
Shahriyar Amini
c60464e46d Create security status preference category.
Bug: 31002801
Test: make RunSettingsRoboTests
Change-Id: I513253e79f91e41686bad9abac8548bb366fc98d
2017-01-25 14:23:55 -08:00
Jerry Zhang
94cfd54fbf Merge "Refactor setCurrentFunction and setUsbDataUnlocked into one method" into nyc-mr2-dev am: 361a3e2090
am: 8b6614cdc3

Change-Id: I3162421f2f3e5a6237166d200feb7f954968f9f1
2017-01-25 21:35:40 +00:00
Jerry Zhang
8b6614cdc3 Merge "Refactor setCurrentFunction and setUsbDataUnlocked into one method" into nyc-mr2-dev
am: 361a3e2090

Change-Id: Idd44b8b05758f3fd8c2e016604c0f2a10bd0b80c
2017-01-25 21:33:23 +00:00
Jerry Zhang
72d34983a3 Refactor setCurrentFunction and setUsbDataUnlocked into one method am: a291336bd8 -s ours
am: a0b75ff516

Change-Id: I56296cc7b7c2febd049b0a02865735ad7868bda6
2017-01-25 21:32:25 +00:00
Jerry Zhang
a0b75ff516 Refactor setCurrentFunction and setUsbDataUnlocked into one method
am: a291336bd8  -s ours

Change-Id: I60a407b71c4fbf4b5bd0ef980c08af8a4aa68f20
2017-01-25 21:24:02 +00:00
chchao
5ebb9bb502 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
2017-01-25 13:11:26 -08:00
TreeHugger Robot
0f36f3b5fe Merge "Search only matches prefixes rather than any substring" 2017-01-25 20:37:16 +00:00
Jerry Zhang
361a3e2090 Merge "Refactor setCurrentFunction and setUsbDataUnlocked into one method" into nyc-mr2-dev 2017-01-25 20:30:18 +00:00
Daniel Nishi
31027dae93 Add a music apps view to the Storage Settings.
When you tap the Music & Audio preference, it takes you a
hybridized applications view. In this view, there also is
a line item which defines the amount of storage used by
audio files on the device. Using the new storage query, we
can add this information very quickly to the view.

Bug: 33199077
Test: Settings robo tests
Change-Id: If51cba0b3de20805543a39049367eb13613081e7
2017-01-25 11:56:02 -08:00
TreeHugger Robot
a40d72b9e9 Merge "Making "Battery Saver" use MasterSwitchPreference." 2017-01-25 19:31:29 +00:00
TreeHugger Robot
948bc22df2 Merge "Let extra apps launch channel settings." 2017-01-25 19:20:22 +00:00
Stefanot
1c72ce06d1 *DO NOT MERGE* Create new suggestion category for backup.
Test: manual

BUG: 34219298
Change-Id: I288d36b2b48582e5f8e0d1720d1f7004ad8dae2c
2017-01-25 19:18:08 +00:00
TreeHugger Robot
d3e74522a9 Merge "Move theme setting out of tuner to display" 2017-01-25 19:17:23 +00:00
TreeHugger Robot
e736dc66c1 Merge "Show current WebView package as selected in Dev Setting." 2017-01-25 19:10:36 +00:00
Doris Ling
c4c9f4d50e 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
2017-01-25 10:43:01 -08:00
Niels Egberts
e5017dc6db 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
2017-01-25 18:30:06 +00:00
Matthew Fritze
314b09eb4b Search only matches prefixes rather than any substring
Test: make RunSettingsRoboTests
Change-Id: I4da7e4c75c461fad96dedf5277ddba02e067928d
Bug: 34688403
2017-01-25 18:07:29 +00:00
Daniel Nishi
f68bb3d78f Add an automated test for the null bundle crash.
Bug: 34633464
Test: Settings robotest .
Change-Id: I244e58c3660ea3376dbeb6293da54c99a98e3157
2017-01-25 09:59:25 -08:00
Julia Reynolds
694928883d Let extra apps launch channel settings.
Test: manual
Change-Id: I689c0b35224dffc306ecbfa6f25ad3f072cd4dba
2017-01-25 12:43:29 -05:00
Gustav Sennton
4790d7e8f2 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
2017-01-25 17:32:40 +00:00
Marie Janssen
42c61c10cc Merge "Make headset icons consistent before / after pairing" am: 690bdb22c9 am: a2e068a2b4 am: 60eb5503e8
am: a78e718b26

Change-Id: I20b0fe30ab6b882e4f517147e9ffabe786d73988
2017-01-25 16:16:12 +00:00
Marie Janssen
a78e718b26 Merge "Make headset icons consistent before / after pairing" am: 690bdb22c9 am: a2e068a2b4
am: 60eb5503e8

Change-Id: Ida107059b3a5ec815f198659ff8174c8ff375efe
2017-01-25 16:10:29 +00:00
Marie Janssen
60eb5503e8 Merge "Make headset icons consistent before / after pairing" am: 690bdb22c9
am: a2e068a2b4

Change-Id: I036781f8908da81ea294abafaf6c72e9d03699c8
2017-01-25 16:08:01 +00:00
Marie Janssen
a2e068a2b4 Merge "Make headset icons consistent before / after pairing"
am: 690bdb22c9

Change-Id: I64a9a3a7d8a2f110ee1809af33583f82fc4b4f57
2017-01-25 16:06:00 +00:00
Marie Janssen
690bdb22c9 Merge "Make headset icons consistent before / after pairing" 2017-01-25 16:02:14 +00:00
Jason Monk
6324cffc7e 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
2017-01-25 10:34:29 -05:00
TreeHugger Robot
b3d76c0c22 Merge "Add autofill app preference to Default Apps." 2017-01-25 07:42:13 +00:00
Jason Long
d506ddfc3f 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
2017-01-24 21:51:54 -08:00
TreeHugger Robot
e195cebe11 Merge "Prevent crash when rotating screen in Settings Search" 2017-01-25 03:54:49 +00:00
Bartosz Fabianowski
7f68a62091 Merge "Tell user that device owner can lock/wipe the device" 2017-01-25 03:21:36 +00:00
TreeHugger Robot
15c1c53068 Merge "Add admin-set default apps to Enterprise Privacy Settings page" 2017-01-25 03:17:56 +00:00
TreeHugger Robot
889db88043 Merge "Add additional preference items to WifiSettings for configuring Wi-Fi." 2017-01-25 02:28:07 +00:00
Matthew Fritze
5ab7ecd775 Prevent crash when rotating screen in Settings Search
Change-Id: If8134a1e96f791aacedf2e907272cee33dfc85fe
Fix: 34690393
Test: make RunSettingsRoboTests
2017-01-24 18:07:52 -08:00
jackqdyulei
66cce1f9e9 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
2017-01-24 17:34:14 -08:00
Bartosz Fabianowski
67c9e8f536 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
2017-01-25 02:31:29 +01:00
Bartosz Fabianowski
482908f226 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
2017-01-25 02:31:23 +01:00
Stephen Chen
4145678548 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
2017-01-24 16:45:58 -08:00
TreeHugger Robot
b62f4f75c9 Merge "Remove the character limit on summary text" 2017-01-25 00:42:39 +00:00
TreeHugger Robot
2965d7505d Merge "Remove getCategoryKey() from DashboardFragment children." 2017-01-25 00:21:24 +00:00
Matthew Fritze
222a031140 Remove the character limit on summary text
Test: Search "Swipe for", observe the summary text on Swipe for
	Notifications.
Change-Id: I1baac85ee936976b67ce3511df4c5fcc43233d0c
Fixes: 34683830
2017-01-24 23:05:53 +00:00
Fan Zhang
7e6df837ee Remove getCategoryKey() from DashboardFragment children.
Use the centralized registry to look up category key instead.

Bug: 32936784
Test: make RunSettingsRoboTests -j40
Change-Id: I0b8c72d70f93e4b5c58871ac90de41f69ad15653
2017-01-24 14:51:15 -08:00
Winson Chung
a1bae0ad7e Merge "Update to new method to check if app supports picture-in-picture." 2017-01-24 22:26:50 +00:00
Daniel Nishi
2b25b07a7b Merge "Hook up the Games storage category preference to a games view." 2017-01-24 21:55:31 +00:00
Jerry Zhang
a291336bd8 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 5d36a177d9)
2017-01-24 13:27:14 -08:00
TreeHugger Robot
862c15928b Merge "Use consistent formatter to convert byte->MB->GB." 2017-01-24 21:18:43 +00:00