OSDN Git Service
Meng Wang [Thu, 29 Sep 2016 00:13:49 +0000 (00:13 +0000)]
Merge "WiFiCallingSettings: show roaming preferrence" into nyc-mr1-dev
Matthew Fritze [Wed, 28 Sep 2016 22:52:26 +0000 (22:52 +0000)]
Merge "Settings suggestions now describes expand and collapse in talkback" 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
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
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
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
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
Salvador Martinez [Tue, 27 Sep 2016 21:52:16 +0000 (21:52 +0000)]
Merge "Fixed talkback feedback for wifi menu" into nyc-mr1-dev
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
Matthew Fritze [Mon, 25 Jul 2016 21:34:47 +0000 (14:34 -0700)]
Settings suggestions now describes expand and collapse in talkback
Bug:
30314874
Change-Id: I2231148594c8e878111a754e5806c20dd4e289af
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
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
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
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
TreeHugger Robot [Tue, 27 Sep 2016 03:04:03 +0000 (03:04 +0000)]
Merge "Import translations. DO NOT MERGE" 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
Salvador Martinez [Tue, 27 Sep 2016 00:26:09 +0000 (00:26 +0000)]
Merge "Added strings for advanced wifi accessibility" into nyc-mr1-dev
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
Ruben Brunk [Mon, 26 Sep 2016 22:48:31 +0000 (15:48 -0700)]
Improve text for VR Settings.
Bug:
31101223
Change-Id: I5c529e76cc6b802cae01301f67dad2e51fb4ad49
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
Doris Ling [Mon, 26 Sep 2016 20:27:39 +0000 (20:27 +0000)]
Merge "Update gesture settings text." into nyc-mr1-dev
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
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
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
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
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
Daniel Nishi [Sat, 24 Sep 2016 00:15:49 +0000 (00:15 +0000)]
Merge "Add storage manager settings activity." 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
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
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
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
Meng Wang [Mon, 19 Sep 2016 21:53:24 +0000 (14:53 -0700)]
WiFiCallingSettings: show roaming preferrence
Bug:
31492826
Change-Id: I45cd8455e84802d690d074099d6a8e9c9398e157
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
Lei Yu [Fri, 23 Sep 2016 16:29:00 +0000 (16:29 +0000)]
Merge "Set preference unselectable using the DividerPreference." into nyc-mr1-dev
Daniel Nishi [Tue, 20 Sep 2016 23:40:49 +0000 (16:40 -0700)]
Add storage manager settings activity.
Bug:
31621740
Change-Id: I5abc8ef3f12e02488104c0b74f4826d8c4182b2b
TreeHugger Robot [Fri, 23 Sep 2016 00:11:07 +0000 (00:11 +0000)]
Merge "Change 'red' to 'amber'" into nyc-mr1-dev
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
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
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
Annie Chin [Thu, 22 Sep 2016 17:26:06 +0000 (10:26 -0700)]
Change 'red' to 'amber'
Change-Id: I36e4815165a12d33ce4aaad446acae19897be138
Fixes:
31628145
TreeHugger Robot [Thu, 22 Sep 2016 16:57:11 +0000 (16:57 +0000)]
Merge "Add remote control of Instant Apps" into nyc-mr1-dev
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
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
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
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
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
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
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
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
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
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
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
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
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)
TreeHugger Robot [Mon, 19 Sep 2016 18:30:14 +0000 (18:30 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Hugo Benichi [Fri, 16 Sep 2016 16:45:15 +0000 (16:45 +0000)]
Add a "Cellular data fallback" pref.
am:
a317684cfc
Change-Id: I902d4039aefddbe38a7caa20afede7af20d03086
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
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
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
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
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
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
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
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
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
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
TreeHugger Robot [Wed, 14 Sep 2016 20:27:53 +0000 (20:27 +0000)]
Merge "Changed information string about model" 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
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
TreeHugger Robot [Wed, 14 Sep 2016 16:24:18 +0000 (16:24 +0000)]
Merge "Add ability to disable data warning." into nyc-mr1-dev
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
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
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
TreeHugger Robot [Tue, 13 Sep 2016 23:19:45 +0000 (23:19 +0000)]
Merge "Add string for set data warning." 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
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
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
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)
TreeHugger Robot [Tue, 13 Sep 2016 19:39:22 +0000 (19:39 +0000)]
Merge "Improved storage accounting:" into nyc-mr1-dev
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
TreeHugger Robot [Tue, 13 Sep 2016 08:27:58 +0000 (08:27 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev
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
TreeHugger Robot [Tue, 13 Sep 2016 03:51:07 +0000 (03:51 +0000)]
Merge "Disable NightDisplaySettingsActivity when not available" 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
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