OSDN Git Service

android-x86/packages-apps-Settings.git
7 years agoMerge "Add "add service" pref to the autofill picker" into oc-dev
Philip P. Moltmann [Sat, 29 Apr 2017 05:24:18 +0000 (05:24 +0000)]
Merge "Add "add service" pref to the autofill picker" into oc-dev
am: 9301381ac2

Change-Id: Ifde40f13acc2881209231267f5252f5b56c627f1

7 years agoMerge "Add "add service" pref to the autofill picker" into oc-dev
Philip P. Moltmann [Sat, 29 Apr 2017 05:14:36 +0000 (05:14 +0000)]
Merge "Add "add service" pref to the autofill picker" into oc-dev

7 years agoMerge "Revert "Display and parse numbers properly in all locales"" into oc-dev
Fan Zhang [Fri, 28 Apr 2017 23:24:40 +0000 (23:24 +0000)]
Merge "Revert "Display and parse numbers properly in all locales"" into oc-dev
am: 30e9474dbb

Change-Id: Ib72ca3ea03b3fb32d018e1fbad9b697ce5dd1391

7 years agoMerge "Revert "Display and parse numbers properly in all locales"" into oc-dev
TreeHugger Robot [Fri, 28 Apr 2017 23:08:19 +0000 (23:08 +0000)]
Merge "Revert "Display and parse numbers properly in all locales"" into oc-dev

7 years agoRevert "Display and parse numbers properly in all locales"
Fan Zhang [Fri, 28 Apr 2017 21:06:28 +0000 (21:06 +0000)]
Revert "Display and parse numbers properly in all locales"

Bug: 37311645

This reverts commit 8648c5ed3d7c97915bd2ba0eeb413c98adf31eea.

Change-Id: If26d07a59dd9e71813a2b48f3bee25516bfb0b75

7 years agoAdd "add service" pref to the autofill picker
Philip P. Moltmann [Thu, 27 Apr 2017 22:38:27 +0000 (15:38 -0700)]
Add "add service" pref to the autofill picker

Mimicing the behavior we have for adding a print service.

Fixes: 37735998
Test: - Started auto fill picker with add-service-settings set and unset.
        Only if set, the preference is added
      - RunSettingsRoboTests (unrelated failure in
                              SetupChooseLockPatternTest)
      - Enable + disable auto fill service while settings is open
Change-Id: Ie019a032a1d01373f8fd0ebd7ae2ddf9c4d8871f

7 years agoMerge "Add content description to the master switch toggle button." into oc-dev
Doris Ling [Fri, 28 Apr 2017 19:34:34 +0000 (19:34 +0000)]
Merge "Add content description to the master switch toggle button." into oc-dev
am: 10158feecf

Change-Id: Icc68b53cbbb93755c7ce90db1c4d2f70d5e44cd1

7 years agoMerge "Add content description to the master switch toggle button." into oc-dev
TreeHugger Robot [Fri, 28 Apr 2017 19:24:10 +0000 (19:24 +0000)]
Merge "Add content description to the master switch toggle button." into oc-dev

7 years agoMerge "Fix a11y issues on the DO Disclosures page" into oc-dev
Bartosz Fabianowski [Fri, 28 Apr 2017 15:25:44 +0000 (15:25 +0000)]
Merge "Fix a11y issues on the DO Disclosures page" into oc-dev
am: 1871806fbe

Change-Id: I23a370dca49f5351e5ea4448386840bbc1ef81a3

7 years agoMerge "Fix a11y issues on the DO Disclosures page" into oc-dev
TreeHugger Robot [Fri, 28 Apr 2017 15:20:08 +0000 (15:20 +0000)]
Merge "Fix a11y issues on the DO Disclosures page" into oc-dev

7 years agoMerge "Check for permission when displaying AutofilLServices." into oc-dev
Felipe Leme [Fri, 28 Apr 2017 03:05:54 +0000 (03:05 +0000)]
Merge "Check for permission when displaying AutofilLServices." into oc-dev
am: 5d27ad49a3

Change-Id: Iaf0b47c41ca879a88438f3a15fc7a6ab345236c1

7 years agoMerge "Check for permission when displaying AutofilLServices." into oc-dev
TreeHugger Robot [Fri, 28 Apr 2017 02:50:03 +0000 (02:50 +0000)]
Merge "Check for permission when displaying AutofilLServices." into oc-dev

7 years agoMerge "Merge pointer/tts categories into one without heading" into oc-dev
Fan Zhang [Fri, 28 Apr 2017 00:07:42 +0000 (00:07 +0000)]
Merge "Merge pointer/tts categories into one without heading" into oc-dev
am: 4f4fe03a6e

Change-Id: I0b333f0823ebd78f53a6f4be4707c5b77ca16a0e

7 years agoMerge "Add summary for Backup menu in Settings." into oc-dev
Anton Philippov [Fri, 28 Apr 2017 00:07:20 +0000 (00:07 +0000)]
Merge "Add summary for Backup menu in Settings." into oc-dev
am: 646d996865

Change-Id: I34cd8a9ab8482f287ea36051242df501e7efb0b0

7 years agoMerge "Disable submit button when PSK pass is invalid" into oc-dev
Glen Kuhne [Fri, 28 Apr 2017 00:07:00 +0000 (00:07 +0000)]
Merge "Disable submit button when PSK pass is invalid" into oc-dev
am: 35cc22fcf2

Change-Id: I85453268629231b8c3003b207e4edbf70c140ee2

7 years agoMerge "Refresh the App Info option menu after unintalling app updates." into oc-dev
Doris Ling [Fri, 28 Apr 2017 00:06:38 +0000 (00:06 +0000)]
Merge "Refresh the App Info option menu after unintalling app updates." into oc-dev
am: 64857437a4

Change-Id: Ifa91856e910de3df6f695d1a31462ca8edda0822

7 years agoMerge "Add summary to special app access." into oc-dev
Doris Ling [Fri, 28 Apr 2017 00:06:18 +0000 (00:06 +0000)]
Merge "Add summary to special app access." into oc-dev
am: 02619a6d9f

Change-Id: Iafd970711e33556aeead681128aaeda5046df34b

7 years agoMerge "Update ActivityMonitor.onMatchIntent to ActivityMonitor.onStartActivity."...
Sudheer Shanka [Fri, 28 Apr 2017 00:05:53 +0000 (00:05 +0000)]
Merge "Update ActivityMonitor.onMatchIntent to ActivityMonitor.onStartActivity." into oc-dev
am: f64c5236c7

Change-Id: Id4d543b5ff4a8abbb0356b7cd97ffe99bdc6540a

7 years agoMerge "Merge pointer/tts categories into one without heading" into oc-dev
Fan Zhang [Thu, 27 Apr 2017 23:33:59 +0000 (23:33 +0000)]
Merge "Merge pointer/tts categories into one without heading" into oc-dev

7 years agoMerge "Add summary for Backup menu in Settings." into oc-dev
TreeHugger Robot [Thu, 27 Apr 2017 23:20:28 +0000 (23:20 +0000)]
Merge "Add summary for Backup menu in Settings." into oc-dev

7 years agoMerge "Disable submit button when PSK pass is invalid" into oc-dev
TreeHugger Robot [Thu, 27 Apr 2017 23:11:46 +0000 (23:11 +0000)]
Merge "Disable submit button when PSK pass is invalid" into oc-dev

7 years agoMerge "Refresh the App Info option menu after unintalling app updates." into oc-dev
TreeHugger Robot [Thu, 27 Apr 2017 23:08:19 +0000 (23:08 +0000)]
Merge "Refresh the App Info option menu after unintalling app updates." into oc-dev

7 years agoMerge "Add summary to special app access." into oc-dev
TreeHugger Robot [Thu, 27 Apr 2017 22:31:47 +0000 (22:31 +0000)]
Merge "Add summary to special app access." into oc-dev

7 years agoAdd content description to the master switch toggle button.
Doris Ling [Thu, 27 Apr 2017 22:09:21 +0000 (15:09 -0700)]
Add content description to the master switch toggle button.

Set the preference title as the toggle button's content description, so
that when user focus on the button, it will read the lable as well on
top of just "switch on" or "switch off".

Change-Id: Id1954fd54b7d38cb4e75d8b3e49d05ee694e0e41
Fix: 37618855
Test: make RunSettingsRoboTests

7 years agoAdd summary for Backup menu in Settings.
Anton Philippov [Fri, 21 Apr 2017 09:15:52 +0000 (10:15 +0100)]
Add summary for Backup menu in Settings.

'On'/'Off' depending on whether the backup is enabled in settings.

Refactors BackupSettingsActivity to be shown on System fragment via
xml/PreferenceController instead of category in the manifest.

Bug: 36891827
Test: make RunSettingsRoboTests
Change-Id: I61425fed4d63055c6c386be38792ae074aa72679

7 years agoMerge pointer/tts categories into one without heading
Fan Zhang [Thu, 27 Apr 2017 19:43:42 +0000 (12:43 -0700)]
Merge pointer/tts categories into one without heading

Change-Id: I75dd6472a6eb4929773222844872d43027122f3c
Fix: 35960300
Test: robotests

7 years agoMerge "Update ActivityMonitor.onMatchIntent to ActivityMonitor.onStartActivity."...
Sudheer Shanka [Thu, 27 Apr 2017 20:46:07 +0000 (20:46 +0000)]
Merge "Update ActivityMonitor.onMatchIntent to ActivityMonitor.onStartActivity." into oc-dev

7 years agoMerge "Remove search duplicates for Wifi and Bluetooth" into oc-dev
Matthew Fritze [Thu, 27 Apr 2017 19:55:29 +0000 (19:55 +0000)]
Merge "Remove search duplicates for Wifi and Bluetooth" into oc-dev
am: b48e6e46b3

Change-Id: I8aedf3695394a296cb1b1ea7111232c6d25aa07a

7 years agoMerge "Remove search duplicates for Wifi and Bluetooth" into oc-dev
TreeHugger Robot [Thu, 27 Apr 2017 19:50:30 +0000 (19:50 +0000)]
Merge "Remove search duplicates for Wifi and Bluetooth" into oc-dev

7 years agoRemove search duplicates for Wifi and Bluetooth
Matthew Fritze [Thu, 13 Apr 2017 20:08:33 +0000 (13:08 -0700)]
Remove search duplicates for Wifi and Bluetooth

Remove the master switch duplicates between the switch
and their targets. Only show the actual Wifi and Bluetooth
settings as search results.

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

7 years agoFix Robolectric test on oc-dev. DO NOT MERGE
Maurice Lam [Thu, 27 Apr 2017 19:34:08 +0000 (19:34 +0000)]
Fix Robolectric test on oc-dev. DO NOT MERGE
am: 8352421baa

Change-Id: I09a285e1c6ed2c9b27e41b37569922cf648044dd

7 years agoFix Robolectric test on oc-dev. DO NOT MERGE
Maurice Lam [Thu, 27 Apr 2017 18:58:12 +0000 (11:58 -0700)]
Fix Robolectric test on oc-dev. DO NOT MERGE

The directories for setup wizard lib renamed on master.

Test: cd tests/robotests && mma
Bug: 37745541
Change-Id: Iffb7aa85a41a1d84c17357144f964e1d6da693be

7 years agoMerge "Limit btsnoop file size (4/8)" am: 7baae2a924 am: 7469ff3e1c
Ajay Panicker [Thu, 27 Apr 2017 17:18:50 +0000 (17:18 +0000)]
Merge "Limit btsnoop file size (4/8)" am: 7baae2a924 am: 7469ff3e1c
am: 2151ee9b86

Change-Id: I5199a59ae071fa654477e0b5d8968cddc87cff5a

7 years agoMerge "Limit btsnoop file size (4/8)" am: 7baae2a924
Ajay Panicker [Thu, 27 Apr 2017 17:08:48 +0000 (17:08 +0000)]
Merge "Limit btsnoop file size (4/8)" am: 7baae2a924
am: 7469ff3e1c

Change-Id: I34175cce212bd5c291481bee5758501b741f197c

7 years agoMerge "Limit btsnoop file size (4/8)"
Ajay Panicker [Thu, 27 Apr 2017 17:06:18 +0000 (17:06 +0000)]
Merge "Limit btsnoop file size (4/8)"
am: 7baae2a924

Change-Id: I62ac2896f84a32d622fcc139c42ead660f4945bc

7 years agoMerge "Limit btsnoop file size (4/8)"
Treehugger Robot [Thu, 27 Apr 2017 17:02:03 +0000 (17:02 +0000)]
Merge "Limit btsnoop file size (4/8)"

7 years agoFix a11y issues on the DO Disclosures page
Bartosz Fabianowski [Wed, 26 Apr 2017 15:37:02 +0000 (17:37 +0200)]
Fix a11y issues on the DO Disclosures page

This CL makres on-actionable preferences on the DO Disclosures page
as selectable=false.

Bug: 37710449
Test: make RunSettingsRoboTests

Change-Id: Ida9c7e1db2a7ea2a1370280d670a42b8a95f21d6

7 years agoMerge "Don't show autofill settings if not enabled" into oc-dev
Philip P. Moltmann [Thu, 27 Apr 2017 16:56:20 +0000 (16:56 +0000)]
Merge "Don't show autofill settings if not enabled" into oc-dev
am: 32d3d383cb

Change-Id: I58a04882f08402e77f0e5e4c9d0b183a8a2679da

7 years agoMerge "Don't show autofill settings if not enabled" into oc-dev
TreeHugger Robot [Thu, 27 Apr 2017 16:43:20 +0000 (16:43 +0000)]
Merge "Don't show autofill settings if not enabled" into oc-dev

7 years agoMerge "Disable "Verify apps over usb" according to user restriction." into oc-dev
Pavel Grafov [Thu, 27 Apr 2017 16:34:12 +0000 (16:34 +0000)]
Merge "Disable "Verify apps over usb" according to user restriction." into oc-dev
am: 6e34174f72

Change-Id: Ic19583cb62f8f00831a5564c1f63fa1ede22efb6

7 years agoMerge "Disable "Verify apps over usb" according to user restriction." into oc-dev
TreeHugger Robot [Thu, 27 Apr 2017 16:23:00 +0000 (16:23 +0000)]
Merge "Disable "Verify apps over usb" according to user restriction." into oc-dev

7 years agoCheck for permission when displaying AutofilLServices.
Felipe Leme [Thu, 27 Apr 2017 15:51:33 +0000 (08:51 -0700)]
Check for permission when displaying AutofilLServices.

Bug: 35956220
Test: manual verification
Test: make RunSettingsRoboTests -j90

Change-Id: Ica0079650f17cf96d8c8a9b0849a82b02cfa8dc6

7 years agoMerge "App & channel notification settings updates" into oc-dev
Julia Reynolds [Thu, 27 Apr 2017 15:24:02 +0000 (15:24 +0000)]
Merge "App & channel notification settings updates" into oc-dev
am: 8e305ee536

Change-Id: I49e3c39f7796048335f19da176d6dec276051e79

7 years agoMerge "App & channel notification settings updates" into oc-dev
Julia Reynolds [Thu, 27 Apr 2017 15:11:32 +0000 (15:11 +0000)]
Merge "App & channel notification settings updates" into oc-dev

7 years agoDon't show autofill settings if not enabled
Philip P. Moltmann [Mon, 24 Apr 2017 23:13:21 +0000 (16:13 -0700)]
Don't show autofill settings if not enabled

The non-indexable keys of language-and-input on my angler are:
  game_controller_settings_category, gesture_assist,
  gesture_double_tap_screen, default_autofill

Fixes: 35956220
Test: Disabled auto-fill and looked at settings: did not find
      autofill button and could not find auto-fill in search
      Settings robolectric test
Merged-In: I0923e707422d1b1de5153a63fa3a5fe4773c055d
Change-Id: I0923e707422d1b1de5153a63fa3a5fe4773c055d

7 years agoDO Disclosures: detailed application lists
Denis Kuznetsov [Thu, 27 Apr 2017 13:36:20 +0000 (13:36 +0000)]
DO Disclosures: detailed application lists
am: 3de32ae4dc

Change-Id: I6af13a0cd991a038c2b93c8e62aa031113f414a1

7 years agoDO Disclosure: add UI that lists apps that were managed by owner: - had permissions...
Denis Kuznetsov [Thu, 27 Apr 2017 13:36:04 +0000 (13:36 +0000)]
DO Disclosure: add UI that lists apps that were managed by owner: - had permissions granted by admin - were installed by owner via policy
am: 7db69b7a26

Change-Id: Ia3c2c560698e043ac2f8900c32e60df47ff9d06e

7 years agoDO Disclosures: detailed application lists
Denis Kuznetsov [Wed, 12 Apr 2017 15:33:35 +0000 (17:33 +0200)]
DO Disclosures: detailed application lists

Add UI that lists enterprise set default apps for handling important intents
(opening browser, using camera, phone, etc).

Bug: 32692748
Test: m RunSettingsRoboTests
Merged-In: I75bb97d1b3728b1dcb90981b24d12edf510c4b04
Change-Id: I7d0041e4fada48bc56f6a6637614ac4471dba65a
(cherry picked from commit f0a61dd1126f4b21fb15f1c3d9611ef86fc291a7)

7 years agoDO Disclosure: add UI that lists apps that were managed by owner:
Denis Kuznetsov [Thu, 27 Apr 2017 08:44:21 +0000 (10:44 +0200)]
DO Disclosure: add UI that lists apps that were managed by owner:
- had permissions granted by admin
- were installed by owner via policy

Bug: 32692748
Test: m RunSettingsRoboTests
Change-Id: I365e2f8f351671e68f83cceb7c0ca241d7a5a588
Merged-In: I365e2f8f351671e68f83cceb7c0ca241d7a5a588
(cherry picked from commit 60b2960cbb4df5310d054da57e2ec134b3fca0e6)

7 years agoDisable "Verify apps over usb" according to user restriction.
Pavel Grafov [Tue, 18 Apr 2017 18:35:39 +0000 (19:35 +0100)]
Disable "Verify apps over usb" according to user restriction.

Bug: 37158436
Test: make ROBOTEST_FILTER=VerifyAppsOverUsbPreferenceControllerTest RunSettingsRoboTests
Change-Id: I52d40f4176ecd660c621ec056649c94fc29f2d4b
Merged-In: I52d40f4176ecd660c621ec056649c94fc29f2d4b

7 years agoMerge "Improvements on ACTION_REQUEST_SET_AUTOFILL_SERVICE:" into oc-dev
Felipe Leme [Thu, 27 Apr 2017 07:48:38 +0000 (07:48 +0000)]
Merge "Improvements on ACTION_REQUEST_SET_AUTOFILL_SERVICE:" into oc-dev
am: b21808bd6b

Change-Id: Id3d6bd2f3b76d51ff931b307ad7050b41c1b9d3a

7 years agoMerge "Improvements on ACTION_REQUEST_SET_AUTOFILL_SERVICE:" into oc-dev
TreeHugger Robot [Thu, 27 Apr 2017 07:40:44 +0000 (07:40 +0000)]
Merge "Improvements on ACTION_REQUEST_SET_AUTOFILL_SERVICE:" into oc-dev

7 years agoMerge "Resolve intent before launching from DashboardFragment." into oc-dev
Fan Zhang [Thu, 27 Apr 2017 05:52:28 +0000 (05:52 +0000)]
Merge "Resolve intent before launching from DashboardFragment." into oc-dev
am: c028a7d976

Change-Id: Ie3f3d6b7e69df8fdb3ff4d7324fc395dccadc003

7 years agoMerge "Resolve intent before launching from DashboardFragment." into oc-dev
TreeHugger Robot [Thu, 27 Apr 2017 05:47:29 +0000 (05:47 +0000)]
Merge "Resolve intent before launching from DashboardFragment." into oc-dev

7 years agoMerge "Fix MUT cannot connect to AP by WPS after rotating MUT" am: 2503ea04fb am...
rongrong.x.gao [Thu, 27 Apr 2017 04:12:39 +0000 (04:12 +0000)]
Merge "Fix MUT cannot connect to AP by WPS after rotating MUT" am: 2503ea04fb am: 220e085953
am: 4ccf08c6d4

Change-Id: I252e7b0c491e4eadc3ebb55d8cfdc0ca5f51ecae

7 years agoMerge "Fix MUT cannot connect to AP by WPS after rotating MUT" am: 2503ea04fb
rongrong.x.gao [Thu, 27 Apr 2017 04:07:11 +0000 (04:07 +0000)]
Merge "Fix MUT cannot connect to AP by WPS after rotating MUT" am: 2503ea04fb
am: 220e085953

Change-Id: Ia1596c05770c7ecf48830bf37f2f040c20931606

7 years agoMerge "Fix MUT cannot connect to AP by WPS after rotating MUT"
rongrong.x.gao [Thu, 27 Apr 2017 04:05:09 +0000 (04:05 +0000)]
Merge "Fix MUT cannot connect to AP by WPS after rotating MUT"
am: 2503ea04fb

Change-Id: Ic3daed07e1d94ad7f4154affe51855d0462753a6

7 years agoMerge "Fix MUT cannot connect to AP by WPS after rotating MUT"
Treehugger Robot [Thu, 27 Apr 2017 03:56:27 +0000 (03:56 +0000)]
Merge "Fix MUT cannot connect to AP by WPS after rotating MUT"

7 years agoImprovements on ACTION_REQUEST_SET_AUTOFILL_SERVICE:
Felipe Leme [Tue, 25 Apr 2017 23:42:55 +0000 (16:42 -0700)]
Improvements on ACTION_REQUEST_SET_AUTOFILL_SERVICE:

- Moved to proper package.
- Returns right away when:
  - AutofillService for package is already selected
  - Autofill is not available

Bug: 37576671
Bug: 37673809

Test: manual verification
Test: make RunSettingsRoboTests -j90

Merged-in: Icda260cea1b4ce6cdefd8eff9625b2b768a5ed86
Change-Id: Icda260cea1b4ce6cdefd8eff9625b2b768a5ed86

7 years agoMerge "Enable redaction interstitial after setting up pattern" into oc-dev
Maurice Lam [Thu, 27 Apr 2017 03:48:23 +0000 (03:48 +0000)]
Merge "Enable redaction interstitial after setting up pattern" into oc-dev
am: 2fc1fa6c41

Change-Id: Iace2ff261895f32bfbc158140c2002be40c1586f

7 years agoMerge "Enable redaction interstitial after setting up pattern" into oc-dev
TreeHugger Robot [Thu, 27 Apr 2017 03:40:17 +0000 (03:40 +0000)]
Merge "Enable redaction interstitial after setting up pattern" into oc-dev

7 years agoMerge "DO NOT MERGE: Revert "Add summary text to Display->Brightness level."" into...
Doris Ling [Thu, 27 Apr 2017 03:28:39 +0000 (03:28 +0000)]
Merge "DO NOT MERGE: Revert "Add summary text to Display->Brightness level."" into oc-dev
am: 024bc8706d

Change-Id: If3adcf59fab58d331e34516fa161d44ae199e64c

7 years agoMerge "DO NOT MERGE: Revert "Add summary text to Display->Brightness level."" into...
TreeHugger Robot [Thu, 27 Apr 2017 03:22:20 +0000 (03:22 +0000)]
Merge "DO NOT MERGE: Revert "Add summary text to Display->Brightness level."" into oc-dev

7 years agoMerge "Bluetooth: Dismiss pairing dialog on user click" into oc-dev
Jack He [Thu, 27 Apr 2017 00:37:38 +0000 (00:37 +0000)]
Merge "Bluetooth: Dismiss pairing dialog on user click" into oc-dev
am: fdd8d3f6ae

Change-Id: Ie5d30226ef700f29af206416b8392fd9f6017784

7 years agoUpdate ActivityMonitor.onMatchIntent to ActivityMonitor.onStartActivity.
Sudheer Shanka [Thu, 27 Apr 2017 00:34:47 +0000 (17:34 -0700)]
Update ActivityMonitor.onMatchIntent to ActivityMonitor.onStartActivity.

Bug: 37672383
Change-Id: I63adcafc6e8dced173d52f25e8a6521ae897c9aa
Test: builds

7 years agoMerge "Bluetooth: Dismiss pairing dialog on user click" into oc-dev
TreeHugger Robot [Thu, 27 Apr 2017 00:32:11 +0000 (00:32 +0000)]
Merge "Bluetooth: Dismiss pairing dialog on user click" into oc-dev

7 years agoLimit btsnoop file size (4/8)
Ajay Panicker [Tue, 18 Apr 2017 03:46:29 +0000 (20:46 -0700)]
Limit btsnoop file size (4/8)

Limit btsnoop file size by rotating between snoop files. The rotation occurrs
when a fixed number of packets have been logged and will start overwriting
the older file.

Bug: 35998031
Test: Enable snoop logs from developer options and let logs get large
Merged-In: I94f8f6bc12ab3f7ff406c9392934ecb7209cd635
Change-Id: I94f8f6bc12ab3f7ff406c9392934ecb7209cd635

7 years agoRefresh the App Info option menu after unintalling app updates.
Doris Ling [Wed, 26 Apr 2017 23:30:47 +0000 (16:30 -0700)]
Refresh the App Info option menu after unintalling app updates.

When we are done uninstalling app updates, invalidate the options menu
so that it will be rebuilt and the correct available menu items will be
shown.

Change-Id: I485fe9ff129ac0b2d75094c3b899bf6553e54c74
Fix: 36407258
Test: make RunSettingsRoboTests

7 years agoResolve intent before launching from DashboardFragment.
Fan Zhang [Fri, 21 Apr 2017 21:40:11 +0000 (14:40 -0700)]
Resolve intent before launching from DashboardFragment.

Once dashboard tile is displayed, the underlying intent can be disabled.
We will eventually hide the item from UI, but there can be a brief
moment before we are able to hide it. So to prevent user click and
launch a non-exist intent, we will try to resolve it first before
launching anything.

Change-Id: Ic8d790bf3c5d4d269eadb757f789a1641928a7b7
Fix: 36036097
Test: make RunSettingsRoboTests

7 years agoDO NOT MERGE: Revert "Add summary text to Display->Brightness level."
Doris Ling [Wed, 26 Apr 2017 21:27:53 +0000 (21:27 +0000)]
DO NOT MERGE: Revert "Add summary text to Display->Brightness level."

This reverts commit 03ee2537016e2df94eaec8a8af1c94a57a3b1199.

The change does not work properly and is causing confusion.

Bug: 36650108

Change-Id: I00acced742b20e215c869ed58eb8750c654f5742

7 years agoMerge "No autofill password when in PIN settings" into oc-dev
Fan Zhang [Wed, 26 Apr 2017 21:10:23 +0000 (21:10 +0000)]
Merge "No autofill password when in PIN settings" into oc-dev
am: 3decc865dc

Change-Id: I927cb611ea6e426bf7a85d949aaae698639eac32

7 years agoMerge "No autofill password when in PIN settings" into oc-dev
TreeHugger Robot [Wed, 26 Apr 2017 21:05:04 +0000 (21:05 +0000)]
Merge "No autofill password when in PIN settings" into oc-dev

7 years agoDisable submit button when PSK pass is invalid
Glen Kuhne [Thu, 13 Apr 2017 22:23:44 +0000 (15:23 -0700)]
Disable submit button when PSK pass is invalid

Modified the logic of when to enable the 'connect'/'save'(submit)
button.
PSK is now also recognized as invalid when over 63 characters in length.
Removed the 'isSavedAp' check that only applied the invalid password
check to new networks. Users must now modify networks with a valid psk.

While I was here: Fixed WifiSettingsUiTest from failing due to invalid
WIFI_PREFERENCES string

Bug: 37152520
Bug: 36709852
Test: runtest WifiSettingsUiTest & m RunSettingsRoboTests pass
Change-Id: I273560cbf9124d16034962a2084f36c93973ee83

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
Bill Yi [Wed, 26 Apr 2017 19:55:12 +0000 (19:55 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am: 4bce1569a1  -s ours

Change-Id: I45def8ddf5947cbc924809e147e0b4cdce98e172

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Wed, 26 Apr 2017 19:45:02 +0000 (19:45 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "Force update APs when enabling wifi in WifiSettings." into oc-dev
Sundeep Ghuman [Wed, 26 Apr 2017 18:45:09 +0000 (18:45 +0000)]
Merge "Force update APs when enabling wifi in WifiSettings." into oc-dev
am: 9797a39ad7

Change-Id: Ic398fbad1492c19db947462d0c54cf9391de58e3

7 years agoMerge "Force update APs when enabling wifi in WifiSettings." into oc-dev
Sundeep Ghuman [Wed, 26 Apr 2017 18:32:42 +0000 (18:32 +0000)]
Merge "Force update APs when enabling wifi in WifiSettings." into oc-dev

7 years agoAdd summary to special app access.
Doris Ling [Tue, 11 Apr 2017 22:35:49 +0000 (15:35 -0700)]
Add summary to special app access.

Get the count of apps that has unrestricted data access and add that to
the summary for Apps & notifications -> Special app access.

Bug: 36376411
Test: make RunSettingsRoboTests
Change-Id: Id80a030e1e066f1391f94114f478091a2a87fcd8

7 years agoEnable redaction interstitial after setting up pattern
Maurice Lam [Tue, 25 Apr 2017 21:56:22 +0000 (14:56 -0700)]
Enable redaction interstitial after setting up pattern

Test: cd tests/robotests && mma
Bug: 37514884
Change-Id: Ie9342ca0ea893a687284d8b864c6d53a79f88086

7 years agoMerge "Turn off QUIET_MODE before changing unified lock credential." into oc-dev
Charles He [Wed, 26 Apr 2017 13:35:52 +0000 (13:35 +0000)]
Merge "Turn off QUIET_MODE before changing unified lock credential." into oc-dev
am: 09317a6545

Change-Id: I90022bf37658816f0d8deb9729f2682946389c22

7 years agoMerge "Turn off QUIET_MODE before changing unified lock credential." into oc-dev
Charles He [Wed, 26 Apr 2017 13:29:42 +0000 (13:29 +0000)]
Merge "Turn off QUIET_MODE before changing unified lock credential." into oc-dev

7 years agoMerge "Add search index provider for ConfigureNotificationSettings" into oc-dev
Fan Zhang [Wed, 26 Apr 2017 00:14:45 +0000 (00:14 +0000)]
Merge "Add search index provider for ConfigureNotificationSettings" into oc-dev
am: f650c82b16

Change-Id: Ib986a31914727d56ce4b71f360f5dd5f6ebf1dc6

7 years agoMerge "Add search index provider for ConfigureNotificationSettings" into oc-dev
TreeHugger Robot [Wed, 26 Apr 2017 00:06:41 +0000 (00:06 +0000)]
Merge "Add search index provider for ConfigureNotificationSettings" into oc-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 25 Apr 2017 23:18:44 +0000 (16:18 -0700)]
Import translations. DO NOT MERGE

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

7 years agoMerge "Don't shows Files when storage is adopted." into oc-dev
Daniel Nishi [Tue, 25 Apr 2017 22:39:54 +0000 (22:39 +0000)]
Merge "Don't shows Files when storage is adopted." into oc-dev
am: 980155fb30

Change-Id: I90995dd52b20df2c1dcfe4670835bfd3988d6b41

7 years agoMerge "Don't crash on opening ejecting USB." into oc-dev
Daniel Nishi [Tue, 25 Apr 2017 22:39:35 +0000 (22:39 +0000)]
Merge "Don't crash on opening ejecting USB." into oc-dev
am: 32f95292bf

Change-Id: Iaceb5e9ec424cf8dc175ab4d2645c50eacc86408

7 years agoMerge "Implemented ACTION_REQUEST_SET_AUTOFILL_SERVICE." into oc-dev
Felipe Leme [Tue, 25 Apr 2017 22:38:20 +0000 (22:38 +0000)]
Merge "Implemented ACTION_REQUEST_SET_AUTOFILL_SERVICE." into oc-dev
am: c36ed203db

Change-Id: I5c27b2def2e7bea0c0cf575f5ff18db032b4519d

7 years agoMerge "Don't shows Files when storage is adopted." into oc-dev
Daniel Nishi [Tue, 25 Apr 2017 22:30:29 +0000 (22:30 +0000)]
Merge "Don't shows Files when storage is adopted." into oc-dev

7 years agoMerge "Don't crash on opening ejecting USB." into oc-dev
Daniel Nishi [Tue, 25 Apr 2017 22:30:13 +0000 (22:30 +0000)]
Merge "Don't crash on opening ejecting USB." into oc-dev

7 years agoMerge "Implemented ACTION_REQUEST_SET_AUTOFILL_SERVICE." into oc-dev
TreeHugger Robot [Tue, 25 Apr 2017 22:27:08 +0000 (22:27 +0000)]
Merge "Implemented ACTION_REQUEST_SET_AUTOFILL_SERVICE." into oc-dev

7 years agoForce update APs when enabling wifi in WifiSettings.
Sundeep Ghuman [Fri, 21 Apr 2017 02:59:34 +0000 (02:59 +0000)]
Force update APs when enabling wifi in WifiSettings.

This reverts commit b2bdc8f17b6148495731e4bfdd9968a6840907eb
and fixes a broken Espresso test case.

Reason for revert: Rolling forward after fix in ag/2133493, to fix b/37324736

Bug: b/37324736
Test: runtest --path
packages/apps/Settings/tests/unit/src/com/android/settings/wifi/WifiSettingsUiTest.java

Change-Id: I9cdf8cb1043af5d527eccbd9cc56d3b02419d7ac

7 years agoMerge "'Allow sound' = let the app decide" into oc-dev
Julia Reynolds [Tue, 25 Apr 2017 21:56:00 +0000 (21:56 +0000)]
Merge "'Allow sound' = let the app decide" into oc-dev
am: f9bfab880e

Change-Id: I6f0fa367832a2b02af2b05ce563f59f8cf77ead2

7 years agoMerge "Distribute the misc among all the apps" into oc-dev
jackqdyulei [Tue, 25 Apr 2017 21:55:34 +0000 (21:55 +0000)]
Merge "Distribute the misc among all the apps" into oc-dev
am: e494a3e59b

Change-Id: I58dbff46d38402162ce69e49f8d647efcb64fff2

7 years agoMerge "Move battery stats loading to AsyncLoader." into oc-dev
jackqdyulei [Tue, 25 Apr 2017 21:55:10 +0000 (21:55 +0000)]
Merge "Move battery stats loading to AsyncLoader." into oc-dev
am: d0ea1386ad

Change-Id: Ic9e7b20ab191224061a7c43f2292978daa43582e

7 years agoMerge "'Allow sound' = let the app decide" into oc-dev
TreeHugger Robot [Tue, 25 Apr 2017 21:45:19 +0000 (21:45 +0000)]
Merge "'Allow sound' = let the app decide" into oc-dev

7 years agoMerge "Distribute the misc among all the apps" into oc-dev
TreeHugger Robot [Tue, 25 Apr 2017 21:44:54 +0000 (21:44 +0000)]
Merge "Distribute the misc among all the apps" into oc-dev

7 years agoMerge "Move battery stats loading to AsyncLoader." into oc-dev
TreeHugger Robot [Tue, 25 Apr 2017 21:44:05 +0000 (21:44 +0000)]
Merge "Move battery stats loading to AsyncLoader." into oc-dev

7 years agoBluetooth: Dismiss pairing dialog on user click
Jack He [Tue, 25 Apr 2017 19:53:33 +0000 (12:53 -0700)]
Bluetooth: Dismiss pairing dialog on user click

* Existing pairing dialog should be dismissed when user clicks on Yes/No
* In a pairing session with multiple pairing dialogs, this is necessary
  as otherwise the second pairing dialog will not be shown
* Modified unit test to test this behavior
* Launch pairing dialog as UserHandle.CURRENT to avoid Context warnings

Bug: 35833536
Test: make, unit test, pair with Bluetooth devices
Change-Id: I1823b78d287134505f59eab7caca2329ecc3a36f

7 years agoImplemented ACTION_REQUEST_SET_AUTOFILL_SERVICE.
Felipe Leme [Tue, 25 Apr 2017 01:10:09 +0000 (18:10 -0700)]
Implemented ACTION_REQUEST_SET_AUTOFILL_SERVICE.

Bug: 37673809
Fixes: 37576671
Test: manual verification
Test: make RunSettingsRoboTests -j90

Change-Id: I36170cb715473dfbf598deedd9719a46168aabc8

7 years agoMove battery stats loading to AsyncLoader.
jackqdyulei [Thu, 13 Apr 2017 18:44:42 +0000 (11:44 -0700)]
Move battery stats loading to AsyncLoader.

It takes 3-4 seconds to load the battery settings page in Ryu. Main
reason is that it takes too long to init BatteryStatsHelper.

This cl moves loading code to AsyncLoader, and we will refresh ui once
the loading part is finished.

Following cl will add animation for the battery header to make it not
so janky

Bug: 37196170
Test: RunSettingsRoboTest
Change-Id: I40dfdde4a072e28a56c8fdf0ec6d671b5109fc6d