Commit Graph

15074 Commits

Author SHA1 Message Date
Matthew Fritze
91e3e434cf Assist and Voice Input SwitchPreferences animate with talkback
Toggling Use text from screen now animates the switch preference
and has the appropriate "on/off" talkback response.

Change-Id: Ib5f940f251c45ead3a908d7f762eebb5f76931fb
Fixes: 30205119
2016-07-27 18:04:49 -07:00
Fan Zhang
cfa34b5331 Never disable DnD receiver to dislay condition correctly.
am: bebba4478d

Change-Id: Ic3fdccad058607c644b7219c08f0cc61d7aec8b1
2016-07-28 01:01:03 +00:00
Doris Ling
ab37f0bbbc Fix crash when support item is clicked. am: 0d4b8a3b19 am: 17fe03f7dc
am: 27a44fbf7c

Change-Id: I8b0179eefa6705bafe40488a242b47f25fc5a2e0
2016-07-28 00:25:52 +00:00
Jeff Sharkey
68fc8b333c Warn users when selecting non-Direct Boot apps. am: 4a8136b51b am: f3449fb81e
am: e98675ce8c

Change-Id: I4a24f153e838ee14d62b095a7d615ab9f4ee01d2
2016-07-28 00:24:58 +00:00
Justin Klaassen
fb08eec56b Night display settings UI v2 am: 7335b6505d am: 2902f61b16
am: c1fcbbe51c

Change-Id: I5e37c64ad46a10f0671730bf85f14bc6e24be7ae
2016-07-28 00:24:57 +00:00
Doris Ling
27a44fbf7c Fix crash when support item is clicked. am: 0d4b8a3b19
am: 17fe03f7dc

Change-Id: Icd75ff332dc8d66b79850a96d3dc2a3519efc270
2016-07-28 00:12:24 +00:00
Jeff Sharkey
e98675ce8c Warn users when selecting non-Direct Boot apps. am: 4a8136b51b
am: f3449fb81e

Change-Id: Id6b2d3ebd5789a3077b9474922bc0a1bac9d0801
2016-07-28 00:12:21 +00:00
Fan Zhang
7dfc8dfc2f Display storage summary with correct used/total size.
Fixes: 30421727

We need to first initialize sTotalInternalStorage in order to compute
used size for both full blown storage fragment and storage tile summary.

Also fixed a bug where sTotalInteralStorage is incorrectly added
multiple times when there are multiple private volumes.

Change-Id: Iabb869c3184ec0c468aeacea34c804b90b4965f1
2016-07-27 16:59:40 -07:00
Fan Zhang
503a7514f6 Merge "Never disable DnD receiver to dislay condition correctly." into nyc-mr1-dev 2016-07-27 23:49:57 +00:00
Yohei Yukawa
4e44a5ec8e Check if InputMethodService is Direct Boot aware
This is a small follow up CL to the previous CL [1] that added
functionality to show a warning dialog when Direct Boot unaware apps and
IMEs are being selected.

In the previous CL, we checked whether the package to which the IME
belogs to is (fully or partially) Direct Boot aware.  If the package is
partially Direct Boot aware but the InputMethodService in question is
still Direct Boot unaware, the user will not see the warning dialog.

Luckily in InputMethodPreference we already have InputMethodInfo that
indirectly exposes ServiceInfo#directBootAware.  By directly checking
that bit we can simplify the logic and avoid such false negatives.

 [1]: I0498904d2f664fb41e8c1e6bb30d1cbf437cf4b9
      4a8136b51b

Bug: 27196876
Change-Id: I869a7bd87748f09f7032a60b34ac0dbdc4a00b72
2016-07-27 16:24:37 -07:00
Doris Ling
17fe03f7dc Fix crash when support item is clicked.
am: 0d4b8a3b19

Change-Id: I741536128ca348b8594c7df7951f62f3bbdadba6
2016-07-27 23:20:41 +00:00
Jeff Sharkey
f3449fb81e Warn users when selecting non-Direct Boot apps.
am: 4a8136b51b

Change-Id: I522f6eb292f6052d56b7b2b76063e5c85ef2ac02
2016-07-27 23:20:40 +00:00
Justin Klaassen
c1fcbbe51c Night display settings UI v2 am: 7335b6505d
am: 2902f61b16

Change-Id: I998bc6905b171daebf2db3f34add3c4e1dd02316
2016-07-27 23:19:40 +00:00
Doris Ling
47c6adbd59 Merge "Fix crash when support item is clicked." into nyc-mr1-dev 2016-07-27 23:14:38 +00:00
Jeff Sharkey
d5681ee978 Merge "Warn users when selecting non-Direct Boot apps." into nyc-mr1-dev 2016-07-27 22:47:40 +00:00
TreeHugger Robot
0ec1220cf4 Merge "Run VPN refresh on a HandlerThread" 2016-07-27 20:55:33 +00:00
Jeff Sharkey
4a8136b51b Warn users when selecting non-Direct Boot apps.
Certain apps like Phone, SMS, Emergency Info, and IME are critical
enough that they ideally need to be runnable before the device is
unlocked after a reboot.  Users can still pick non-Direct Boot aware
apps, but this change now warns users that the selected app won't be
runnable until after unlocking.

Bug: 27196876
Change-Id: I0498904d2f664fb41e8c1e6bb30d1cbf437cf4b9
2016-07-27 14:49:34 -06:00
Justin Klaassen
7335b6505d Night display settings UI v2
Bug: 30155646
Change-Id: I912e90e5ec5e8d7426c68484da8396219a40c5ad
2016-07-27 12:10:51 -07:00
Fan Zhang
bebba4478d Never disable DnD receiver to dislay condition correctly.
Bug: 30360853
Change-Id: I3e470c2955d7f066970442e281f9d66b153b8d10
2016-07-27 11:08:29 -07:00
Robin Lee
7cd00a6623 Run VPN refresh on a HandlerThread
Bug: 28315317
Change-Id: I1aa4748b9454db5abf866b3ea71a9c46cceca82d
2016-07-27 18:48:18 +01:00
Daniel Nishi
83c895549d Merge "Add a dropdown for changing the days of retained downloads." 2016-07-27 16:52:58 +00:00
Fan Zhang
5df0fa467b Catch RejectedExecutionException when loading app data. am: c63d245779
am: b512c7a268

Change-Id: I2e47c831ab98a4a2c52c410817b8be12b4a0a250
2016-07-27 01:49:07 +00:00
Justin Klaassen
b215a8b968 Only set fullIndex flag when performing a full update am: 5d219a2cfa
am: 57840c76be

Change-Id: I34e1edf4e87964cd6762edee77a0001222e8b08f
2016-07-27 01:49:05 +00:00
Fan Zhang
b512c7a268 Catch RejectedExecutionException when loading app data.
am: c63d245779

Change-Id: Ic7ede8eade2561b36cea76169e6843f99de7ab7d
2016-07-27 01:22:41 +00:00
Justin Klaassen
57840c76be Only set fullIndex flag when performing a full update
am: 5d219a2cfa

Change-Id: I474d800f6f38a6949deac3c38f80bcd807da5106
2016-07-27 01:22:34 +00:00
TreeHugger Robot
0a2a3a6ac1 Merge "Catch RejectedExecutionException when loading app data." into nyc-mr1-dev 2016-07-27 00:58:25 +00:00
TreeHugger Robot
2d0c3f072b Merge "Only set fullIndex flag when performing a full update" into nyc-mr1-dev 2016-07-26 22:47:30 +00:00
Jeff Sharkey
fa35b19603 Offer trampoline to help articles. am: 4f425c890b
am: aaaf41d982

Change-Id: Ib10ccc2348f1fa9d5687941c38ca7f28fcb0465e
2016-07-26 22:16:03 +00:00
Jeff Sharkey
aaaf41d982 Offer trampoline to help articles.
am: 4f425c890b

Change-Id: I142124d64548bbd5c4dda19fab59e9a337c90226
2016-07-26 22:10:44 +00:00
Jeff Sharkey
fc86ca6f0d Merge "Offer trampoline to help articles." into nyc-mr1-dev 2016-07-26 21:52:06 +00:00
Justin Klaassen
5d219a2cfa Only set fullIndex flag when performing a full update
Previously UpdateData#fullIndex was default true which meant if a
partial update came in before a call to Index#update() then the
partial update would be treated as a full index and future calls
to Index#update() would be ignored.

Bug: 30366360
Change-Id: I6e2738c25c9623f49171ecba0f3e0ce0076b7e42
2016-07-26 14:32:57 -07:00
Fan Zhang
c63d245779 Catch RejectedExecutionException when loading app data.
Default thread pool from AsyncTask can queue up to a certain number of
tasks. We will use a custom pool with enough queue size to load app
data.

Fixes: 30355247

Change-Id: I5ad4c340191c785463011c1698d1d4625aba44ec
2016-07-26 13:30:04 -07:00
Fan Zhang
c73a4cb7e0 Revert \\"About Phone\\" summary back to Android version. am: fd4f729e1f
am: 942e24d46f

Change-Id: I4e07005864ee39324ecc381a6861acaf11292d54
2016-07-25 23:15:54 +00:00
Fan Zhang
709739d87d Refresh state after loading conditions from xml. am: a0ebd1a9f0
am: 91a1c1cad0

Change-Id: Iae268150219731a98c08784f313a45cc7545cf6a
2016-07-25 23:15:53 +00:00
Fan Zhang
942e24d46f Revert \"About Phone\" summary back to Android version.
am: fd4f729e1f

Change-Id: I77f3ed00516c02f8ca6ad888c166ed07a2f0f7f9
2016-07-25 23:08:17 +00:00
Fan Zhang
91a1c1cad0 Refresh state after loading conditions from xml.
am: a0ebd1a9f0

Change-Id: I6ce26907b52d4b128dca541e291396f71d34d02e
2016-07-25 23:08:14 +00:00
Jeff Sharkey
4f425c890b Offer trampoline to help articles.
This allows other parts of the system internals to re-use common
logic for building help links, and it allows all help links to live
in a single common overlay.

Adds a help link slot for "Android is upgrading" notification.

Bug: 30033319, 30122837
Change-Id: I7dec3e63cfb8c7a8ee9a562cc61cb70f3f99fdae
2016-07-25 16:45:15 -06:00
Fan Zhang
2dc574e59a Merge "Revert "About Phone" summary back to Android version." into nyc-mr1-dev 2016-07-25 22:13:27 +00:00
Fan Zhang
58e217b180 Merge "Refresh state after loading conditions from xml." into nyc-mr1-dev 2016-07-25 22:13:17 +00:00
Fan Zhang
fd4f729e1f Revert "About Phone" summary back to Android version.
Change-Id: Icc834b8fb1fd9235092cee720c904c8532b8e3fc
Fixes: 30355258
Bug: 28419411
2016-07-25 14:22:00 -07:00
Doris Ling
0d4b8a3b19 Fix crash when support item is clicked.
Check for existing activity to handle the support item intent before
adding it to support tile or trying to launch the activity.

Change-Id: I42a733c2d862b303773aeee1ba3b21b718e59066
Fixes: 29118295
2016-07-25 14:06:42 -07:00
Fan Zhang
a0ebd1a9f0 Refresh state after loading conditions from xml.
Fixes: 30330909

When start Settings, conditions is loaded from a xml with potentially
stale state. ConditionLoader needs to refresh states after reading xml
to make sure they are up to date.

Change-Id: Ice1b8bacb0486c5dd230b83670c1494710d1c061
2016-07-25 13:58:39 -07:00
Phil Weaver
8f3c8a56a2 Fix return when virtual keyboard setting changes. am: 3587914cef
am: fc3352e585

Change-Id: I5aa18d8695ad07b01f2f5a092ae4e98855579afe
2016-07-25 20:36:36 +00:00
Phil Weaver
fc3352e585 Fix return when virtual keyboard setting changes.
am: 3587914cef

Change-Id: I29b64c04eeb036f92ff937b70e247aaf0b2eb817
2016-07-25 20:34:41 +00:00
Phil Weaver
0bda6fb550 Merge "Fix return when virtual keyboard setting changes." into nyc-mr1-dev 2016-07-25 20:23:06 +00:00
Jason Monk
3ac2f08f97 Fix multiple bluetooth devices bug am: 6666f9cc37
am: 5129b26123

Change-Id: Ib0e78cb33e6bfb46c39674efd70f42832a21beb8
2016-07-25 19:22:51 +00:00
Jason Monk
5129b26123 Fix multiple bluetooth devices bug
am: 6666f9cc37

Change-Id: I71efa3c45fd19a654cbc3d92b576b684d6bab9e3
2016-07-25 19:19:19 +00:00
Svetoslav Ganov
0c9f05fe26 Merge "Add Bluetooth toggle prompts - settings" 2016-07-25 18:43:40 +00:00
Jason Monk
6666f9cc37 Fix multiple bluetooth devices bug
Was bug in some code trying to handle preference animations better.
Since those animations are all disabled now, just remove everything
again and re-add it.

Change-Id: If1ce07a8f2b4144d95a95cec6ebb1b423644825a
Fixes: 29314480
2016-07-25 10:37:39 -04:00
Robin Lee
e68d957777 Include wifi certificates in settings
Deleting wifi certificates isn't supported yet since cascading the
removal back into wifi configs will need some easy way of enumerating
wifi configs first.

Bug: 29208062
Change-Id: I2d9d1ea7e0974701009bfa6ea162b8bc80806639
2016-07-25 15:35:08 +01:00