OSDN Git Service

android-x86/packages-apps-Settings.git
7 years agoMerge "Add a warning message to the ASM toggle." into nyc-mr1-dev
TreeHugger Robot [Wed, 28 Sep 2016 18:34:29 +0000 (18:34 +0000)]
Merge "Add a warning message to the ASM toggle." into nyc-mr1-dev

7 years agoMerge "DO NOT MERGE Provide fingerprint options for SET_NEW_PASSWORD intent" into...
Steven Ng [Wed, 28 Sep 2016 16:55:52 +0000 (16:55 +0000)]
Merge "DO NOT MERGE Provide fingerprint options for SET_NEW_PASSWORD intent" into nyc-mr1-dev

7 years agoDO NOT MERGE Provide fingerprint options for SET_NEW_PASSWORD intent
Steven Ng [Tue, 27 Sep 2016 22:31:45 +0000 (23:31 +0100)]
DO NOT MERGE Provide fingerprint options for SET_NEW_PASSWORD intent

Cherry-pick from ag/1444396

1) Added a trampoline activity to display SET_NEW_PASSWORD intent.
2) On devices that have fingerprint sensor and have no enrolled fingerprint,
   ChooseLockGeneric handles the SET_NEW_PASSWORD intent by providing
   fingerprint + {PIN/PATTERN/PASSWORD} and skip fingerprint options.

Test: See below
1) Auto
   make RunSettingsRoboTests
2) Manual
   a) Fingerprint + pattern
      i) $ adb shell am start -a android.app.action.SET_NEW_PASSWORD
      ii) Click Pixel Imprint + Pattern.
      iii) Set a pattern lock.
      iv) Can enroll a fingerprint.
   b) Pattern
      i) $ adb shell am start -a android.app.action.SET_NEW_PASSWORD
      ii) Click Continue without Pixel Imprint
      iii) A list of unlock options, without fingerprint option, is shown.
      vi) Select and enroll a pattern lock
   c) Has an existing password
      i) $ adb shell am start -a android.app.action.SET_NEW_PASSWORD
      ii) Setting app asks for password input.
      iii) Enter password and click "Continue without Pixel imprint".
      vi) No password is asked. A list of unlock options, without fingerprint option, is shown.
      v) Select and enroll a pattern lock
   d) Work profile
      i) Create a work profile
      ii) adb shell am start --user x -a android.app.action.SET_NEW_PASSWORD. X is the work profile user id.
      iii) Click Pixel Imprint + Pattern.
      iv) Set a pattern lock.
      v) Can enroll a fingerprint.

Bug: 23017051
Change-Id: I6384bbffb72a5d3a83972da7474532746e4d06b9

7 years agoAdd a warning message to the ASM toggle.
Daniel Nishi [Tue, 27 Sep 2016 22:59:42 +0000 (15:59 -0700)]
Add a warning message to the ASM toggle.

This trigger fires if ASM is not enabled by default for
the device and the toggle is only visible if the ASM visible
flag is enabled.

Bug: 30455784
Change-Id: Id6adf8a75dbd4290f042d743689a75f496efb0c9

7 years agoConnect button click handler for bluetooth forget dialog.
Fan Zhang [Tue, 27 Sep 2016 22:39:50 +0000 (15:39 -0700)]
Connect button click handler for bluetooth forget dialog.

Bug: 31761184
Test: manual
Change-Id: I48aac6899cb9a49bf988d3b9e6480dfd6fe0c1c2

7 years agoMerge "Fixed talkback feedback for wifi menu" into nyc-mr1-dev
Salvador Martinez [Tue, 27 Sep 2016 21:52:16 +0000 (21:52 +0000)]
Merge "Fixed talkback feedback for wifi menu" into nyc-mr1-dev

7 years agoFixed talkback feedback for wifi menu
Salvador Martinez [Mon, 26 Sep 2016 22:43:00 +0000 (15:43 -0700)]
Fixed talkback feedback for wifi menu

When you go to add a existing or new access
point for wifi talkback would say the
incorrect thing when you tapped on the
advanced options dropdown menu toggle.
This fixes what talkback says to more
accurately reflect what the widget does.

Test: Accessibility Scanner
Bug: 31623421
Change-Id: I9a00c4e8723014b0b3097f046dbcd1de01636e76

7 years agoMerge "Avoid run RadioInfo activity from non-system users" into nyc-mr1-dev
Chen Xu [Tue, 27 Sep 2016 18:38:18 +0000 (18:38 +0000)]
Merge "Avoid run RadioInfo activity from non-system users" into nyc-mr1-dev

7 years agoAvoid run RadioInfo activity from non-system users
fionaxu [Thu, 22 Sep 2016 22:01:05 +0000 (15:01 -0700)]
Avoid run RadioInfo activity from non-system users

RadioInfo is hidden from testing menu, but it could be launched
from explicit intents for example. Add system user check to avoid
phone process crash.

Bug: 31219235
Change-Id: I5661fbe0889b1ee9d0dea6810f4a4cde2c9d9e22

7 years agoMerge "Fix a deprecated config string name for the storage manager settings." into...
Daniel Nishi [Tue, 27 Sep 2016 16:36:59 +0000 (16:36 +0000)]
Merge "Fix a deprecated config string name for the storage manager settings." into nyc-mr1-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 27 Sep 2016 03:09:19 +0000 (03:09 +0000)]
Import translations. DO NOT MERGE
am: 7552fb5a17  -s ours

Change-Id: I02e5078c47df5c376eb40407870cb630b0bed58f

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Tue, 27 Sep 2016 03:04:03 +0000 (03:04 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoMerge "Improve text for VR Settings." into nyc-mr1-dev
Ruben Brunk [Tue, 27 Sep 2016 00:57:36 +0000 (00:57 +0000)]
Merge "Improve text for VR Settings." into nyc-mr1-dev

7 years agoMerge "Added strings for advanced wifi accessibility" into nyc-mr1-dev
Salvador Martinez [Tue, 27 Sep 2016 00:26:09 +0000 (00:26 +0000)]
Merge "Added strings for advanced wifi accessibility" into nyc-mr1-dev

7 years agoAdded strings for advanced wifi accessibility
Salvador Martinez [Tue, 27 Sep 2016 00:07:27 +0000 (17:07 -0700)]
Added strings for advanced wifi accessibility

These strings are needed for talkback to
say the correct thing when a user taps
on advanced options in the dialog to
add a new access point.

Test: Accessibility Scanner
Bug: 30079196
Change-Id: I6208cc01f6434780ba56296769cfaa05b6a6aaaa

7 years agoImprove text for VR Settings.
Ruben Brunk [Mon, 26 Sep 2016 22:48:31 +0000 (15:48 -0700)]
Improve text for VR Settings.

Bug: 31101223

Change-Id: I5c529e76cc6b802cae01301f67dad2e51fb4ad49

7 years agoMerge "Move Bluetooth device "Forget" button to the left" into nyc-mr1-dev
TreeHugger Robot [Mon, 26 Sep 2016 21:43:46 +0000 (21:43 +0000)]
Merge "Move Bluetooth device "Forget" button to the left" into nyc-mr1-dev

7 years agoMerge "Update gesture settings text." into nyc-mr1-dev
Doris Ling [Mon, 26 Sep 2016 20:27:39 +0000 (20:27 +0000)]
Merge "Update gesture settings text." into nyc-mr1-dev

7 years agoFix a deprecated config string name for the storage manager settings.
Daniel Nishi [Mon, 26 Sep 2016 18:37:52 +0000 (11:37 -0700)]
Fix a deprecated config string name for the storage manager settings.

The old string was used for configuration purposes, but the change was
removed. A previous patch accidentally used the old string for
choosing if the activity was exported or not.

Bug: 31621740

Change-Id: I9471e3a4c6d64d3fb8be7cbfcf058d35364892a5

7 years agoUpdate gesture settings text.
Doris Ling [Sat, 24 Sep 2016 00:03:00 +0000 (17:03 -0700)]
Update gesture settings text.

Update the preference title and summary for Ambient Display Double-tap
and Pickup gestures.

Test: manual - launch gestures settings and verify latest strings are
used.

Bug: 30595437
Change-Id: I029c2048603563ea20f5030e381a9e7a624d0e85

7 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 26 Sep 2016 16:48:57 +0000 (09:48 -0700)]
Import translations. DO NOT MERGE

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

7 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 26 Sep 2016 16:44:05 +0000 (09:44 -0700)]
Import translations. DO NOT MERGE

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

7 years agoMove Bluetooth device "Forget" button to the left
Andre Eisenbach [Sat, 24 Sep 2016 00:13:27 +0000 (17:13 -0700)]
Move Bluetooth device "Forget" button to the left

"Forget" and "OK" actions are too close together.

Bug: 31693959
Change-Id: Iee452347a53b186df7aecad5d971edcfb7645f1d

7 years agoMerge "Add storage manager settings activity." into nyc-mr1-dev
Daniel Nishi [Sat, 24 Sep 2016 00:15:49 +0000 (00:15 +0000)]
Merge "Add storage manager settings activity." into nyc-mr1-dev

7 years agoMerge "Split Ambient Display settings." into nyc-mr1-dev
TreeHugger Robot [Sat, 24 Sep 2016 00:00:05 +0000 (00:00 +0000)]
Merge "Split Ambient Display settings." into nyc-mr1-dev

7 years agoMerge "Fix NPE when trying to refreshes dnd condition." into nyc-mr1-dev
Fan Zhang [Fri, 23 Sep 2016 23:31:43 +0000 (23:31 +0000)]
Merge "Fix NPE when trying to refreshes dnd condition." into nyc-mr1-dev

7 years agoSplit Ambient Display settings.
Doris Ling [Wed, 7 Sep 2016 18:10:03 +0000 (11:10 -0700)]
Split Ambient Display settings.

1. Reverting the changes for Display->Ambient Display; this setting
   will control incoming notification pulse.
2. Added 2 separate entries in gestures settings to control pick up
   and double tap gestures-triggered pulsing for Ambient Display.
3. Added automated tests to verify the preference initializes to the
   correct default value, and also verify that toggling the preference
   updates the corresponding settings correctly.

Test: make SettingsTests

Bug: 30595437
Change-Id: I125bf75fc4ccfea126a00ffae4207fcb789f487a

7 years agoMerge "Use a config flag instead of a RO flag for showing Manage Storage." into nyc...
Daniel Nishi [Fri, 23 Sep 2016 22:19:11 +0000 (22:19 +0000)]
Merge "Use a config flag instead of a RO flag for showing Manage Storage." into nyc-mr1-dev

7 years agoMerge "Use default switch preference view if gesture animations video is not availabl...
Doris Ling [Fri, 23 Sep 2016 18:49:05 +0000 (18:49 +0000)]
Merge "Use default switch preference view if gesture animations video is not available." into nyc-mr1-dev

7 years agoMerge "Set preference unselectable using the DividerPreference." into nyc-mr1-dev
Lei Yu [Fri, 23 Sep 2016 16:29:00 +0000 (16:29 +0000)]
Merge "Set preference unselectable using the DividerPreference." into nyc-mr1-dev

7 years agoAdd storage manager settings activity.
Daniel Nishi [Tue, 20 Sep 2016 23:40:49 +0000 (16:40 -0700)]
Add storage manager settings activity.

Bug: 31621740
Change-Id: I5abc8ef3f12e02488104c0b74f4826d8c4182b2b

7 years agoMerge "Change 'red' to 'amber'" into nyc-mr1-dev
TreeHugger Robot [Fri, 23 Sep 2016 00:11:07 +0000 (00:11 +0000)]
Merge "Change 'red' to 'amber'" into nyc-mr1-dev

7 years agoFix NPE when trying to refreshes dnd condition.
Fan Zhang [Thu, 22 Sep 2016 22:10:40 +0000 (15:10 -0700)]
Fix NPE when trying to refreshes dnd condition.

Bug: 31685838
Test: manual, will add automated test in master.

The NPE happens when try to refresh dnd condition before the condition
object is created.

Change-Id: Idbd6898472e1ad21a2bbb3be5f0b9c24c03b5c80

7 years agoMerge "Tell sublaunched backup settings activities about policy state" into nyc-mr1-dev
Chris Tate [Thu, 22 Sep 2016 21:58:27 +0000 (21:58 +0000)]
Merge "Tell sublaunched backup settings activities about policy state" into nyc-mr1-dev

7 years agoSet preference unselectable using the DividerPreference.
jackqdyulei [Wed, 31 Aug 2016 21:17:26 +0000 (14:17 -0700)]
Set preference unselectable using the DividerPreference.

In this way, when talking back is on, device won't speaking "Double
tap to activate" for no-action perference. The preference will have
divider line but lose ripple animation.

Bug: 31051833
Test: Manual Test. Cannot find a way to test it in testing framework.
1. Turn on the talk back.
2. Go to "About phone" Settings.
3. Tap and listen.

Change-Id: I2066d574e14071408c5a1db85a3bd4dafd8429fe

7 years agoChange 'red' to 'amber'
Annie Chin [Thu, 22 Sep 2016 17:26:06 +0000 (10:26 -0700)]
Change 'red' to 'amber'

Change-Id: I36e4815165a12d33ce4aaad446acae19897be138
Fixes: 31628145

7 years agoMerge "Add remote control of Instant Apps" into nyc-mr1-dev
TreeHugger Robot [Thu, 22 Sep 2016 16:57:11 +0000 (16:57 +0000)]
Merge "Add remote control of Instant Apps" into nyc-mr1-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 22 Sep 2016 12:38:46 +0000 (12:38 +0000)]
Import translations. DO NOT MERGE
am: b8f9eca6b2  -s ours

Change-Id: I6fe66119ad608719c03ff091e1ee04f032312788

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 22 Sep 2016 09:12:45 +0000 (02:12 -0700)]
Import translations. DO NOT MERGE

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

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 22 Sep 2016 09:07:48 +0000 (02:07 -0700)]
Import translations. DO NOT MERGE

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

7 years agoTell sublaunched backup settings activities about policy state
Christopher Tate [Thu, 22 Sep 2016 00:16:17 +0000 (17:16 -0700)]
Tell sublaunched backup settings activities about policy state

Policy state is not readily observable by subsidiary UI, so we
now tell it explicitly when sublaunching it.

Bug 30126678

Change-Id: Icdd6e39874070d7337b4b0a0d5b80c52bb3e7e40

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 21 Sep 2016 19:25:17 +0000 (19:25 +0000)]
Import translations. DO NOT MERGE
am: 7eeb016fdd  -s ours

Change-Id: I0c3faa0ad6760b35f3a7eb8d85d0908228297b8d

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 21 Sep 2016 19:10:51 +0000 (12:10 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 31075769
Change-Id: I12e44f90e46c8f42290b7210556b52ecabcf769e

7 years agoUse default switch preference view if gesture animations video is not
Doris Ling [Fri, 16 Sep 2016 23:58:02 +0000 (16:58 -0700)]
Use default switch preference view if gesture animations video is not
available.

Check to see if animation video is available. If so, use the customized
view. Otherwise, use the default switch preference layout.

Test: make and run SettingsGoogleTests

Bug: 30701118
Change-Id: I0b25f41f8425b92834b45f706690648fb35a885d

7 years agoChanges to make APN fields uneditable based on carrier config.
Amit Mahajan [Tue, 20 Sep 2016 17:59:16 +0000 (10:59 -0700)]
Changes to make APN fields uneditable based on carrier config.

Bug: 30457714
Change-Id: I682445eab8eb3ff4ff3eaf036964b467217366f0

7 years agoMerge "Add a "Don't ask again" checkbox to the avoid bad wifi dialog." into nyc-dr1-dev
Lorenzo Colitti [Tue, 20 Sep 2016 17:24:59 +0000 (17:24 +0000)]
Merge "Add a "Don't ask again" checkbox to the avoid bad wifi dialog." into nyc-dr1-dev
am: 2c7c84a1cd

Change-Id: Ie98b23d5d81afffcd02fee7339dbe50172a194ae

7 years agoAdd a "Don't ask again" checkbox to the avoid bad wifi dialog.
Lorenzo Colitti [Tue, 20 Sep 2016 17:16:12 +0000 (17:16 +0000)]
Add a "Don't ask again" checkbox to the avoid bad wifi dialog.
am: c179f33c87

Change-Id: Ia46300f122a19cf00f81b1f1115d8981f53fc7d9

7 years agoMerge "Add a "Don't ask again" checkbox to the avoid bad wifi dialog." into nyc-dr1-dev
Lorenzo Colitti [Tue, 20 Sep 2016 17:04:37 +0000 (17:04 +0000)]
Merge "Add a "Don't ask again" checkbox to the avoid bad wifi dialog." into nyc-dr1-dev

7 years agoAdd a "Don't ask again" checkbox to the avoid bad wifi dialog.
Lorenzo Colitti [Sun, 18 Sep 2016 16:08:07 +0000 (01:08 +0900)]
Add a "Don't ask again" checkbox to the avoid bad wifi dialog.

Also update the settings code to reflect the new tristate
semantics of the NETWORK_AVOID_BAD_WIFI setting.

Bug: 31075769
Change-Id: Icd21d8272abe6afd42ee8a41e2c7e1a6af77f0b3

7 years agoUse a config flag instead of a RO flag for showing Manage Storage.
Daniel Nishi [Fri, 9 Sep 2016 00:24:50 +0000 (17:24 -0700)]
Use a config flag instead of a RO flag for showing Manage Storage.

Bug: 30455784
Test: make SettingsTests; run the instrumentation.
Change-Id: I860192c1c20fcaec2a5cbcdc085ff01dafa7351a
(cherry picked from commit 7f075a3c41f02d58bae10fb3f2b4a4ad8ada8967)

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Mon, 19 Sep 2016 18:30:14 +0000 (18:30 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoImport translations. DO NOT MERGE am: 225c634f99 -s ours
Bill Yi [Mon, 19 Sep 2016 18:02:11 +0000 (18:02 +0000)]
Import translations. DO NOT MERGE am: 225c634f99  -s ours
am: 41e378d12c  -s ours

Change-Id: I9b482638cdb3ac06afdfd03f32da3c19fdf18334

7 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 19 Sep 2016 17:58:43 +0000 (17:58 +0000)]
Import translations. DO NOT MERGE
am: 225c634f99  -s ours

Change-Id: I736df56414345c07d99630433996abf2819d6ece

7 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 19 Sep 2016 17:07:31 +0000 (17:07 +0000)]
Import translations. DO NOT MERGE
am: 82eff79103  -s ours

Change-Id: I56e2ce78f4d4dc4985b789b6a45c0fabaeac096f

7 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 19 Sep 2016 16:57:21 +0000 (09:57 -0700)]
Import translations. DO NOT MERGE

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

7 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 19 Sep 2016 16:38:48 +0000 (09:38 -0700)]
Import translations. DO NOT MERGE

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

7 years agoMerge "Changes to support read-only apn types." into nyc-mr1-dev
TreeHugger Robot [Mon, 19 Sep 2016 16:30:16 +0000 (16:30 +0000)]
Merge "Changes to support read-only apn types." into nyc-mr1-dev

7 years agoMerge "Update edit text padding on Bluetooth device renaming dialog" into nyc-mr1-dev
Matthew Fritze [Mon, 19 Sep 2016 16:29:43 +0000 (16:29 +0000)]
Merge "Update edit text padding on Bluetooth device renaming dialog" into nyc-mr1-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 19 Sep 2016 15:53:13 +0000 (08:53 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 31075769
Change-Id: I8ed0dcd8d79e366a4f5963f1ec5b2d60346b7376

7 years agoMerge "Bad Wi-Fi: Change strings to carrier specs" into nyc-dr1-dev
Bill Yi [Sat, 17 Sep 2016 03:47:36 +0000 (03:47 +0000)]
Merge "Bad Wi-Fi: Change strings to carrier specs" into nyc-dr1-dev
am: 0d00554d62

Change-Id: I9397ef4575f8816da764eabf1e58e33dfa80c4af

7 years agoBad Wi-Fi: Change strings to carrier specs
Paul Stewart [Sat, 17 Sep 2016 03:47:35 +0000 (03:47 +0000)]
Bad Wi-Fi: Change strings to carrier specs
am: 49d703319b

Change-Id: I644d183683367280b3653750f84d9d2c9ee4c5ff

7 years agoMerge "Bad Wi-Fi: Change strings to carrier specs" into nyc-dr1-dev
Bill Yi [Sat, 17 Sep 2016 03:39:34 +0000 (03:39 +0000)]
Merge "Bad Wi-Fi: Change strings to carrier specs" into nyc-dr1-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 17 Sep 2016 03:24:29 +0000 (03:24 +0000)]
Import translations. DO NOT MERGE
am: a4e479afec  -s ours

Change-Id: If2e7a6470cfcf7b522d37c242e9e52acfc9a247c

7 years agoBad Wi-Fi: Change strings to carrier specs
Paul Stewart [Sat, 17 Sep 2016 00:48:37 +0000 (17:48 -0700)]
Bad Wi-Fi: Change strings to carrier specs

Also add a checkbox to persist the value.  However, the logic to
pass this persistence to ConnectivityService has not yet been added.

Bug: 31075769
Test: Visual inspection of dialog (upcoming)
Change-Id: I370ab07ea276b024ce4adc61e10ca085be1c5549

7 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 17 Sep 2016 00:39:21 +0000 (17:39 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 31516661
Change-Id: Idc23b872921e45152ba6c092551b6984db2073cc

7 years agoChanges to support read-only apn types.
Amit Mahajan [Thu, 15 Sep 2016 01:13:13 +0000 (18:13 -0700)]
Changes to support read-only apn types.

User will not be allowed to add/modify APNs for the read-only types.

Bug: 31074581
Change-Id: I954bd68249a93ce9deb0146725c1432ea6cb0f38

7 years agoAdd a "Cellular data fallback" pref.
Hugo Benichi [Fri, 16 Sep 2016 16:45:15 +0000 (16:45 +0000)]
Add a "Cellular data fallback" pref.
am: a317684cfc

Change-Id: I902d4039aefddbe38a7caa20afede7af20d03086

7 years agoAdd a "Cellular data fallback" pref.
Hugo Benichi [Fri, 16 Sep 2016 06:04:00 +0000 (15:04 +0900)]
Add a "Cellular data fallback" pref.

Also adjust working of the "lost internet" notification.

Bug: 31075769
Change-Id: I17e18516c9bfdc32b38686191327b6d6f87aed95

7 years agoAdd remote control of Instant Apps
Todd Kennedy [Tue, 13 Sep 2016 23:36:25 +0000 (16:36 -0700)]
Add remote control of Instant Apps

Bug: 31470039
Test: manual
Change-Id: I82eb47f4d24fb88d0f264eca1176aec55364867c

7 years agoMerge "Disable accessibility focus on the instruction video in magnification gesture...
Noah Wang [Thu, 15 Sep 2016 19:31:24 +0000 (19:31 +0000)]
Merge "Disable accessibility focus on the instruction video in magnification gesture screen." into nyc-mr1-dev

7 years agoUpdate edit text padding on Bluetooth device renaming dialog
Matthew Fritze [Thu, 15 Sep 2016 01:00:41 +0000 (18:00 -0700)]
Update edit text padding on Bluetooth device renaming dialog

Change-Id: I490452925e1b66dd3f135b14c99a7a02ba238888
Fixes: 31383112
Test: Visually inspected

7 years agoDisable accessibility focus on the instruction video in magnification
Noah Wang [Wed, 14 Sep 2016 23:40:05 +0000 (16:40 -0700)]
Disable accessibility focus on the instruction video in magnification
gesture screen.

Test: Manually built and tested with Bullhead
Bug: 30898790
Change-Id: I399e2b9be33ebf6dd5100705eb5f2ba5c5cc98b1

7 years agoFix unintended modification of the NO_INTERNET dialog.
Lorenzo Colitti [Thu, 15 Sep 2016 17:20:43 +0000 (17:20 +0000)]
Fix unintended modification of the NO_INTERNET dialog.
am: 4753ad5902

Change-Id: Ib045d44acbf93ffc99d2a0545a4808ff0ad3ea58

7 years agoMerge "Non-blockable notification packages can't be blocked." into nyc-mr1-dev
Julia Reynolds [Thu, 15 Sep 2016 17:01:52 +0000 (17:01 +0000)]
Merge "Non-blockable notification packages can't be blocked." into nyc-mr1-dev

7 years agoSupport displaying a dialog when Wi-Fi loses Internet access.
Lorenzo Colitti [Thu, 15 Sep 2016 16:05:53 +0000 (16:05 +0000)]
Support displaying a dialog when Wi-Fi loses Internet access.
am: 1449ecd460

Change-Id: I835eeb9165e726e20c26c47fb4e20fbd6d9e3f5a

7 years agoFix unintended modification of the NO_INTERNET dialog.
Lorenzo Colitti [Thu, 15 Sep 2016 15:41:50 +0000 (00:41 +0900)]
Fix unintended modification of the NO_INTERNET dialog.

Bug: 31075769
Change-Id: I655725121aed164c2e270a6fe2ffec78a87897bd

7 years agoSupport displaying a dialog when Wi-Fi loses Internet access.
Lorenzo Colitti [Thu, 15 Sep 2016 05:06:46 +0000 (14:06 +0900)]
Support displaying a dialog when Wi-Fi loses Internet access.

Bug: 31075769
Change-Id: Ia0c76d80591937dc40765c437e5779f3b6dde217

7 years agoMerge "Changed information string about model" into nyc-mr1-dev
TreeHugger Robot [Wed, 14 Sep 2016 20:27:53 +0000 (20:27 +0000)]
Merge "Changed information string about model" into nyc-mr1-dev

7 years agoMerge "Fix crash when tapping on "Change Wallpaper"." into nyc-mr1-dev
Amin Shaikh [Wed, 14 Sep 2016 18:52:53 +0000 (18:52 +0000)]
Merge "Fix crash when tapping on "Change Wallpaper"." into nyc-mr1-dev

7 years agoChanged information string about model
Salvador Martinez [Wed, 14 Sep 2016 18:27:54 +0000 (11:27 -0700)]
Changed information string about model

The string which contained the device
model information in settings was changed
to be more general. That way the model
information provided by the phone can be
more than just a number.

Test: Manual Inspection
Bug: 31108285
Change-Id: I7caf0a874983579b0e74240661b0d9b4df68bd74

7 years agoMerge "Add ability to disable data warning." into nyc-mr1-dev
TreeHugger Robot [Wed, 14 Sep 2016 16:24:18 +0000 (16:24 +0000)]
Merge "Add ability to disable data warning." into nyc-mr1-dev

7 years agoAdd ability to disable data warning.
Fan Zhang [Mon, 12 Sep 2016 22:00:53 +0000 (15:00 -0700)]
Add ability to disable data warning.

- Add a preference to disable data warning.
- Disable data usage chart in summary page when data warning is turned
  off.

Bug: 26934313
Test: Manually turned on/off data warning and inspected UI.
Test: ag/1440361

Change-Id: I6d5b86b8502647781c52cf940f276e1969251b59

7 years agoShow approprate text when enrolling fingerprint
Rubin Xu [Thu, 1 Sep 2016 14:03:51 +0000 (15:03 +0100)]
Show approprate text when enrolling fingerprint

Inform the user that unlocking device by fingerprint is disabled if the
device admin has disallowed it.

Bug: 27201226
Change-Id: Id1694f07a9421ebfe3c777f2a6b624a836bff2d5

7 years agoFix crash when tapping on "Change Wallpaper".
Amin Shaikh [Wed, 14 Sep 2016 05:52:15 +0000 (22:52 -0700)]
Fix crash when tapping on "Change Wallpaper".

Bug: 31306517
Change-Id: I896311917d4954f78dd689bd1a40b03e7f94284e

7 years agoMerge "Add string for set data warning." into nyc-mr1-dev
TreeHugger Robot [Tue, 13 Sep 2016 23:19:45 +0000 (23:19 +0000)]
Merge "Add string for set data warning." into nyc-mr1-dev

7 years agoMerge changes Ida1281a7,I70398d46 into nyc-mr1-dev
Matthew Fritze [Tue, 13 Sep 2016 23:06:44 +0000 (23:06 +0000)]
Merge changes Ida1281a7,I70398d46 into nyc-mr1-dev

* changes:
  Prevent Data Usage Settings crash on phones without cellular history
  Data Usage summary creates a dialog to change data warning level

7 years agoPrevent Data Usage Settings crash on phones without cellular history
Matthew Fritze [Tue, 23 Aug 2016 00:40:02 +0000 (17:40 -0700)]
Prevent Data Usage Settings crash on phones without cellular history

Refactored the logic to determine the data usage summary mark which now
correctly tests for null.

Bug: 30946416
Change-Id: Ida1281a771013fd807242f846edb4f2a9c0ccabb
Test: make RunSettingsRoboTests

7 years agoAdd string for set data warning.
Fan Zhang [Tue, 13 Sep 2016 19:59:22 +0000 (12:59 -0700)]
Add string for set data warning.

Bug: 26934313
Test: make Settings
Change-Id: I97dde849d9f0785c536b01471ab243aaccc85400

7 years agoData Usage summary creates a dialog to change data warning level
Matthew Fritze [Fri, 12 Aug 2016 16:37:43 +0000 (09:37 -0700)]
Data Usage summary creates a dialog to change data warning level

Clicking the Data usage summary preference will open the same dialog
that billing cycle does to modify data warning level. The Dialog
was abstracted to be used outside of the Billing Cycle settings
fragment.

Test: Robo tests in next cherry-pick.

Change-Id: I70398d4656b6da4233b2bfa0da6ffa7402ead69b
Fixes: 26932938
(cherry picked from commit 9fad289ca95d2ce0c44d01e0668bdaffba4404d9)

7 years agoMerge "Improved storage accounting:" into nyc-mr1-dev
TreeHugger Robot [Tue, 13 Sep 2016 19:39:22 +0000 (19:39 +0000)]
Merge "Improved storage accounting:" into nyc-mr1-dev

7 years agoImproved storage accounting:
Felipe Leme [Tue, 30 Aug 2016 22:06:24 +0000 (15:06 -0700)]
Improved storage accounting:

- Removed duplicated entry for DIRECTORY_MOVIES.
- Added DIRECTORY_DOWNLOADS to Other.
- Added unaccounted data to Other.
- Changed Other description so it mention non-visible items.

Often sub-directories of /data are populated with data that Settings
doesn't have control of (for example, on /data/ramdump), so they're more
suitable to be displayed in the "Other" section.

BUG: 31091863
Fixes: 30952263

Change-Id: Ibf54f9dd96456575109e2e281f3780da84f70d92

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Tue, 13 Sep 2016 08:27:58 +0000 (08:27 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 13 Sep 2016 06:35:38 +0000 (23:35 -0700)]
Import translations. DO NOT MERGE

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

7 years agoMerge "Disable NightDisplaySettingsActivity when not available" into nyc-mr1-dev
TreeHugger Robot [Tue, 13 Sep 2016 03:51:07 +0000 (03:51 +0000)]
Merge "Disable NightDisplaySettingsActivity when not available" into nyc-mr1-dev

7 years agoMerge "Make a11y settings display consistent" into nyc-mr1-dev
Phil Weaver [Tue, 13 Sep 2016 01:07:05 +0000 (01:07 +0000)]
Merge "Make a11y settings display consistent" into nyc-mr1-dev

7 years agoDisable NightDisplaySettingsActivity when not available
Justin Klaassen [Tue, 13 Sep 2016 00:04:33 +0000 (17:04 -0700)]
Disable NightDisplaySettingsActivity when not available

Not every device supports "Night Light" so this change disables the
NightDisplaySettingsActivity entry point using the system internal
R.bool.config_nightDisplayAvailable value.

Fixes: 30919608
Test: adb shell am start -a android.settings.NIGHT_DISPLAY_SETTINGS
Change-Id: I202c93069daaea08a0d754dd2f6b3de8c249c361

7 years agoMake a11y settings display consistent
Phil Weaver [Sat, 10 Sep 2016 00:36:03 +0000 (17:36 -0700)]
Make a11y settings display consistent

We were using two methods to decide whether or not to show
that an a11y service was enabled, one on the main
Accessibility screen and another on the individual service
screen. In some situations, an enabled service would show
up as enabled on the main screen but not enabled on its
individual screen.

Bug: 30829589
Change-Id: I560d86684a2fb8987d3dd06279e033ecb7cc1a58

7 years agoUpdate Night Light summary strings
Justin Klaassen [Mon, 12 Sep 2016 18:40:03 +0000 (11:40 -0700)]
Update Night Light summary strings

Bug: 30771506
Test: Verified new strings show up in Night Light settings.
Change-Id: I36cc92d2644016f8f417daf9c06bccbe9fbd2d8c

7 years agoNon-blockable notification packages can't be blocked.
Julia Reynolds [Mon, 12 Sep 2016 14:11:24 +0000 (10:11 -0400)]
Non-blockable notification packages can't be blocked.

Bug: 31404047
Change-Id: Icbe7e5e57983d281f6fe21e9b4715c822784d43c

7 years agoMerge "Ignore onPreferenceChange for top level preference" into nyc-mr1-dev
Fyodor Kupolov [Fri, 9 Sep 2016 23:30:35 +0000 (23:30 +0000)]
Merge "Ignore onPreferenceChange for top level preference" into nyc-mr1-dev