OSDN Git Service

android-x86/packages-apps-Settings.git
7 years agoMerge "Remove fake data" into nyc-mr2-dev am: d258b2f40f -s ours
Salvador Martinez [Fri, 27 Jan 2017 20:37:29 +0000 (20:37 +0000)]
Merge "Remove fake data" into nyc-mr2-dev am: d258b2f40f  -s ours
am: 14db171c1b  -s ours

Change-Id: I74408491dfeb629b39afa874fb166856a1d85f6e

7 years agoRemove fake data am: a1499c3005 -s ours
Salvador Martinez [Fri, 27 Jan 2017 20:37:13 +0000 (20:37 +0000)]
Remove fake data am: a1499c3005  -s ours
am: a7b1c967b7  -s ours

Change-Id: If6738d1bba8dd8207b79c0082799ba24a09062f0

7 years agoMerge "modified settings to use settingslib class"
TreeHugger Robot [Fri, 27 Jan 2017 20:35:29 +0000 (20:35 +0000)]
Merge "modified settings to use settingslib class"

7 years agoMerge "Remove fake data" into nyc-mr2-dev
Salvador Martinez [Fri, 27 Jan 2017 20:34:41 +0000 (20:34 +0000)]
Merge "Remove fake data" into nyc-mr2-dev
am: d258b2f40f  -s ours

Change-Id: Ic418e0cbdd54679f0af152b13f52f34d963da8b6

7 years agoRemove fake data
Salvador Martinez [Fri, 27 Jan 2017 20:34:39 +0000 (20:34 +0000)]
Remove fake data
am: a1499c3005  -s ours

Change-Id: Iea66d48fba72ff28bbc81a1499084a9afcd1e569

7 years agoMerge "Remove fake data" into nyc-mr2-dev
TreeHugger Robot [Fri, 27 Jan 2017 20:31:39 +0000 (20:31 +0000)]
Merge "Remove fake data" into nyc-mr2-dev

7 years agoMerge "Fix null pointer exception when surveys are turned off" into nyc-mr2-dev am...
Salvador Martinez [Fri, 27 Jan 2017 20:05:17 +0000 (20:05 +0000)]
Merge "Fix null pointer exception when surveys are turned off" into nyc-mr2-dev am: 4edcb927ab
am: 387fdd058e  -s ours

Change-Id: I05efb9a970bbd055d37a7bcf7a204675109d4001

7 years agoFix null pointer exception when surveys are turned off am: 9db3cb3bee
Salvador Martinez [Fri, 27 Jan 2017 20:05:09 +0000 (20:05 +0000)]
Fix null pointer exception when surveys are turned off am: 9db3cb3bee
am: e2904eb7fa  -s ours

Change-Id: I3ebd619327fa399e8fab9ead6e1de63a67ce1306

7 years agoMerge "Fix null pointer exception when surveys are turned off" into nyc-mr2-dev
Salvador Martinez [Fri, 27 Jan 2017 20:03:12 +0000 (20:03 +0000)]
Merge "Fix null pointer exception when surveys are turned off" into nyc-mr2-dev
am: 4edcb927ab

Change-Id: I384020dab83593e815c0afc0d5c2657c9dcaacbc

7 years agoFix null pointer exception when surveys are turned off
Salvador Martinez [Fri, 27 Jan 2017 20:03:08 +0000 (20:03 +0000)]
Fix null pointer exception when surveys are turned off
am: 9db3cb3bee

Change-Id: I9f71f40a715cfb65d8a5bc53fed64e674bd0515d

7 years agoMerge "Fix null pointer exception when surveys are turned off" into nyc-mr2-dev
TreeHugger Robot [Fri, 27 Jan 2017 19:59:03 +0000 (19:59 +0000)]
Merge "Fix null pointer exception when surveys are turned off" into nyc-mr2-dev

7 years agoMerge "Adding setting suggestion ranker."
Soroosh Mariooryad [Fri, 27 Jan 2017 19:22:34 +0000 (19:22 +0000)]
Merge "Adding setting suggestion ranker."

7 years agoRemove fake data
Salvador Martinez [Wed, 25 Jan 2017 22:56:03 +0000 (14:56 -0800)]
Remove fake data

Missed one location that adds fake data
to the payload the first time these were
removed. This patch removes any remaining
fake data being attached to a survey payload.

Test: Robotests still pass
Bug: 34716378
Change-Id: Iccb60ce24ae5c494dcd287107f8d293f4a56b2d5
Merged-In: I055c2b2e027f721e14ea5b6b7efccd5267018b8c

7 years agoFix null pointer exception when surveys are turned off
Salvador Martinez [Tue, 24 Jan 2017 23:16:52 +0000 (15:16 -0800)]
Fix null pointer exception when surveys are turned off

In some conditions the survey provider could be null on
download completion which could lead to a NPE. This
has been addressed by not requiring an instance for
the removal of the receiver.

Test: RunSettingsRoboTests (master)
Bug: 33707203
Change-Id: Id1ab1a24c697fed8e4dd259682a088b50c35f38a
Merged-In: Icfb545697f24172db734dd7dad421796edf68186

7 years agoMerge "Passing bind options to the service in the bind-widget permission prompt"
Sunny Goyal [Fri, 27 Jan 2017 17:59:54 +0000 (17:59 +0000)]
Merge "Passing bind options to the service in the bind-widget permission prompt"

7 years agoMerge "Prompt to start user before choosing a new ringtone"
Robin Lee [Fri, 27 Jan 2017 14:03:12 +0000 (14:03 +0000)]
Merge "Prompt to start user before choosing a new ringtone"

7 years agoMerge "Finalize string for usage alerts." into nyc-mr2-dev am: f15b23ad65
Andrew Sapperstein [Fri, 27 Jan 2017 03:43:44 +0000 (03:43 +0000)]
Merge "Finalize string for usage alerts." into nyc-mr2-dev am: f15b23ad65
am: 718de5da30

Change-Id: I09589fddda36e95cd99993383c7ab427b8bc6d9e

7 years agoMerge "Finalize string for usage alerts." into nyc-mr2-dev
Andrew Sapperstein [Fri, 27 Jan 2017 03:41:44 +0000 (03:41 +0000)]
Merge "Finalize string for usage alerts." into nyc-mr2-dev
am: f15b23ad65

Change-Id: I2db7aa3136facd9841c52e6c79e38fd140b41df1

7 years agoFinalize string for usage alerts. am: 59fd24cde2
Andrew Sapperstein [Fri, 27 Jan 2017 03:41:44 +0000 (03:41 +0000)]
Finalize string for usage alerts. am: 59fd24cde2
am: 251c91d974

Change-Id: I90392ba7d7cd1c3ac47c925dfb6cdcea8325ec53

7 years agoFinalize string for usage alerts.
Andrew Sapperstein [Fri, 27 Jan 2017 03:39:48 +0000 (03:39 +0000)]
Finalize string for usage alerts.
am: 59fd24cde2

Change-Id: I79519e4c1f04dd2eee32320b4d8c4482fd4f2830

7 years agoMerge "Finalize string for usage alerts." into nyc-mr2-dev
TreeHugger Robot [Fri, 27 Jan 2017 03:37:44 +0000 (03:37 +0000)]
Merge "Finalize string for usage alerts." into nyc-mr2-dev

7 years agoMerge "Fix null pointer exception when surveys are turned off"
TreeHugger Robot [Fri, 27 Jan 2017 03:28:57 +0000 (03:28 +0000)]
Merge "Fix null pointer exception when surveys are turned off"

7 years agoFinalize string for usage alerts.
Andrew Sapperstein [Fri, 27 Jan 2017 01:30:30 +0000 (17:30 -0800)]
Finalize string for usage alerts.

Test: manual
Bug: 34200177
Change-Id: I5c28b2844b035d551ef2707b9797443074d0d23f

7 years agoAdding setting suggestion ranker.
Soroosh Mariooryad [Wed, 18 Jan 2017 02:19:41 +0000 (18:19 -0800)]
Adding setting suggestion ranker.

Test: RunSettingsGoogleRoboTests
This is currently behind a flag and it is no-op CL.

Change-Id: Ieed3e5a9c3c2fbb0ce1bfea77c588b04778540eb

7 years agoFix null pointer exception when surveys are turned off
Salvador Martinez [Sat, 17 Dec 2016 01:34:11 +0000 (17:34 -0800)]
Fix null pointer exception when surveys are turned off

Under certain conditions the provider could be null on
download completion which could lead to a
NPE if surveys are disabled. The method to remove
the receiver has been made static so an instance
is no longer required.

Test: robotests
Bug: 33707203
Change-Id: Icfb545697f24172db734dd7dad421796edf68186

7 years agoMerge "Integration of the AAC codec for A2DP source" am: 6a153ac4aa am: a53cc5068d...
Pavlin Radoslavov [Thu, 26 Jan 2017 19:42:33 +0000 (19:42 +0000)]
Merge "Integration of the AAC codec for A2DP source" am: 6a153ac4aa am: a53cc5068d am: e3fc5f7b56
am: fbdc22ff9a

Change-Id: I002e9ef05e3fa91b6430b1d31bc3178e87b097d0

7 years agoMerge "Integration of the AAC codec for A2DP source" am: 6a153ac4aa am: a53cc5068d
Pavlin Radoslavov [Thu, 26 Jan 2017 19:31:19 +0000 (19:31 +0000)]
Merge "Integration of the AAC codec for A2DP source" am: 6a153ac4aa am: a53cc5068d
am: e3fc5f7b56

Change-Id: I69b7cef21d953bcecd2fb73ddbc1b6231c4eb25b

7 years agoMerge "Integration of the AAC codec for A2DP source" am: 6a153ac4aa
Pavlin Radoslavov [Thu, 26 Jan 2017 19:25:49 +0000 (19:25 +0000)]
Merge "Integration of the AAC codec for A2DP source" am: 6a153ac4aa
am: a53cc5068d

Change-Id: Iee8bf4a93a7c6879a144616648fd629c3109e40d

7 years agoMerge "Integration of the AAC codec for A2DP source"
Pavlin Radoslavov [Thu, 26 Jan 2017 19:20:20 +0000 (19:20 +0000)]
Merge "Integration of the AAC codec for A2DP source"
am: 6a153ac4aa

Change-Id: I1ca21a7c2a2c2792ba3fa6055f767d3b8686f5d5

7 years agoMerge "Integration of the AAC codec for A2DP source"
Treehugger Robot [Thu, 26 Jan 2017 19:12:54 +0000 (19:12 +0000)]
Merge "Integration of the AAC codec for A2DP source"

7 years agoPrompt to start user before choosing a new ringtone
Robin Lee [Thu, 26 Jan 2017 18:14:08 +0000 (18:14 +0000)]
Prompt to start user before choosing a new ringtone

Dead users can't hear, nor see, ringtones. Let's wake them up and give
them a good shake first.

Until then, show a nice friendly "work profile isn't available" message.
Or depending on locale something confusing, egregious, and mismatched
like "work profile isn't available" instead.

Fix: 34735015
Bug: 34734809
Test: make RunSettingsRoboTests && make Settings && adb install -r $OUT/system/priv-app/Settings/Settings.apk && then reboot the device to see what happens
Change-Id: I86e61a7f3f654d7f38f04c43227a31e2f288e18f

7 years agoLocation Setting change for O
songchenxi [Thu, 19 Jan 2017 04:16:57 +0000 (20:16 -0800)]
Location Setting change for O

This is a change that adds a link from location settings to location
permissions

Test: Manual

Bug: 34400189
Change-Id: If873fbb6e53c1fd86a3cfe38e06465cdec56bef8

7 years agoIntegration of the AAC codec for A2DP source
Pavlin Radoslavov [Sat, 14 Jan 2017 08:50:59 +0000 (00:50 -0800)]
Integration of the AAC codec for A2DP source

Test: A2DP streaming to AAC headsets
Bug: 30958229
Change-Id: Icef9ce9fb8e41cad65bc57bf078513d0c7bf7b9a

7 years agoRequestPermissionHelperActivity: policy transparency for BT disallowed
Lenka Trochtova [Thu, 26 Jan 2017 14:34:52 +0000 (15:34 +0100)]
RequestPermissionHelperActivity: policy transparency for BT disallowed

Don't try to enable Bluetooth if it was disallowed, show a policy
transparency dialog instead.

Test: manual with CtsVerifier

Bug: 32895313

Change-Id: I9dd535a959b65f172cf2dcdd5483773d4f67366c

7 years agoMerge "*DO NOT MERGE* Create new suggestion category for backup." into nyc-mr2-dev...
Stefano Tommasini [Thu, 26 Jan 2017 10:38:52 +0000 (10:38 +0000)]
Merge "*DO NOT MERGE* Create new suggestion category for backup." into nyc-mr2-dev am: a04697a951
am: 3e7287b6db  -s ours

Change-Id: I3d9af498968a614de17928cf9dca25da7d6e23a8

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 agoMerge "*DO NOT MERGE* Create new suggestion category for backup." into nyc-mr2-dev
Stefano Tommasini [Thu, 26 Jan 2017 10:36:06 +0000 (10:36 +0000)]
Merge "*DO NOT MERGE* Create new suggestion category for backup." into nyc-mr2-dev
am: a04697a951

Change-Id: I9f5c2efb755e6e96805be3feb97f85dc0f4a0ce0

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 "*DO NOT MERGE* Create new suggestion category for backup." into nyc-mr2-dev
Stefano Tommasini [Thu, 26 Jan 2017 10:31:14 +0000 (10:31 +0000)]
Merge "*DO NOT MERGE* Create new suggestion category for backup." into nyc-mr2-dev

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."