Commit Graph

27942 Commits

Author SHA1 Message Date
Fan Zhang
3122eb6433 Remove spacer above dashboard tiles.
am: d9057df872

Change-Id: I23cca0bc9f480b8033f237d76ae3dbe5dfe988d8
2016-07-28 21:29:35 +00:00
Doris Ling
d59fcc94be Update UI for gesture settings.
1. Add list divider between each gesture preference
2. Increase top-padding from 16dp to 24dp
3. Move fingerprint swipe preference to the top of the list
4. Change default value for fingerprint swipe to OFF.

Bug: 30416729
Change-Id: If0a6ee080defb2e3dbd36fbda6e047c23a1b1026
2016-07-28 13:54:14 -07:00
Fan Zhang
d9057df872 Remove spacer above dashboard tiles.
Bug: 30467152

- UX is better without the spacer.
- It also causes animation issues in recycler view during cold start.

Change-Id: I3aab330ea60bba69962132a54e432943e81ff985
2016-07-28 12:51:44 -07:00
Bill Yi
44bef2e58a Import translations. DO NOT MERGE
Change-Id: I5ae8abcbb85c81ee4cdfdec59293cc4d891032e9
Auto-generated-cl: translation import
2016-07-28 12:07:48 -07:00
Fan Zhang
d9a7418706 Merge \"Add non-transparent background to dashboard items.\" into nyc-mr1-dev
am: 0f8daa6995

Change-Id: I6a780e9ba2427caf93e5064b04f80324a430c8db
2016-07-28 18:34:37 +00:00
Fan Zhang
157357c205 Add non-transparent background to dashboard items.
am: 66cc2def90

Change-Id: I0d7db819c8ece35b83fe475303d92dda6a1508d4
2016-07-28 18:34:36 +00:00
Fan Zhang
0f8daa6995 Merge "Add non-transparent background to dashboard items." into nyc-mr1-dev 2016-07-28 18:25:59 +00:00
Matthew Fritze
e0dc871ec7 Merge \"Assist and Voice Input SwitchPreferences animate with talkback\" into nyc-mr1-dev
am: 1c4c0af613

Change-Id: Ibbe41a9717504597b9f241efb33a7cc450a06ea6
2016-07-28 18:08:06 +00:00
Matthew Fritze
c1e6a5fe39 Assist and Voice Input SwitchPreferences animate with talkback
am: 91e3e434cf

Change-Id: Ibd175cf6de45e5783f9f05b79d6a110d277e4f49
2016-07-28 18:08:05 +00:00
TreeHugger Robot
1c4c0af613 Merge "Assist and Voice Input SwitchPreferences animate with talkback" into nyc-mr1-dev 2016-07-28 17:58:00 +00:00
Fan Zhang
66cc2def90 Add non-transparent background to dashboard items.
Bug: 30297664

In previous CL I missed the background on this tile.

Change-Id: I87b1716dbcb0f79c6f7532f3ac2397feb3b4dfd0
2016-07-28 10:49:38 -07:00
Maurice Lam
b2012cd6d8 Merge \"Update fingerprint strings\" into nyc-mr1-dev
am: 3edc1645a5

Change-Id: Iba1d9f5cc70db4e192f4fd428d505a2ec33fc217
2016-07-28 03:44:34 +00:00
Maurice Lam
0c4bf475b3 Update fingerprint strings
am: fcd3abd244

Change-Id: If605afa35dd4256f1b1374e3908842d10925a727
2016-07-28 03:44:34 +00:00
Maurice Lam
3edc1645a5 Merge "Update fingerprint strings" into nyc-mr1-dev 2016-07-28 03:37:19 +00:00
Salvador Martinez
f30296b60f Merge \"Force talkback to read imei # digit by digit\" into nyc-mr1-dev
am: 591e891149

Change-Id: I15150f10a582a46f0424bf6eb3dccb71ec377e92
2016-07-28 03:04:43 +00:00
Salvador Martinez
72e264b1be Force talkback to read imei # digit by digit
am: cf21d91b76

Change-Id: I1770ddd0f320240417a2deb8a7b3f515ad598a6e
2016-07-28 03:04:43 +00:00
TreeHugger Robot
591e891149 Merge "Force talkback to read imei # digit by digit" into nyc-mr1-dev 2016-07-28 02:57:24 +00:00
Fan Zhang
535313a7dd Merge \"Display storage summary with correct used/total size.\" into nyc-mr1-dev
am: 92b0aa0dcf

Change-Id: I3b71d9ddde6b09b7dc8f458261e9d49f3c4340a0
2016-07-28 01:54:24 +00:00
Fan Zhang
7fda7fb51a Display storage summary with correct used/total size.
am: 7dfc8dfc2f

Change-Id: I8e39e1de2869014b14b64ecde05d3c5ba12a7a45
2016-07-28 01:54:22 +00:00
Salvador Martinez
cf21d91b76 Force talkback to read imei # digit by digit
Made changes to the file so that it uses Spannables instead
of just strings. This will allow us to tell Android Talkback
how we would like the strings read.

Fixes: 30402792
Change-Id: I893a2cbf3de092f81d927bad36523efb08dd7265
2016-07-27 18:37:57 -07:00
TreeHugger Robot
92b0aa0dcf Merge "Display storage summary with correct used/total size." into nyc-mr1-dev 2016-07-28 01:33:43 +00:00
Bill Yi
5e2d511a30 Merge \"Import translations. DO NOT MERGE\" into nyc-mr1-dev
am: 8cabb7c417  -s ours

Change-Id: Ic4a89d91d818afef84c1335b23a6ddd2c8cd4aab
2016-07-28 01:27:12 +00:00
Bill Yi
5ef2a55c95 Import translations. DO NOT MERGE
am: dc2a365170  -s ours

Change-Id: I88a9598ede719794ae4c02ee33af7be8495d57a9
2016-07-28 01:27:11 +00:00
Maurice Lam
fcd3abd244 Update fingerprint strings
Bug: 30443091
Change-Id: I1634a97090147cd19dd3fd65eef06ebc401ddd1b
2016-07-28 01:16:09 +00:00
TreeHugger Robot
8cabb7c417 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-07-28 01:08:35 +00:00
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
e742057d06 Merge \"Never disable DnD receiver to dislay condition correctly.\" into nyc-mr1-dev
am: 503a7514f6

Change-Id: I984caedc1f7f43073f23534edcf9076c115f8dc3
2016-07-28 01:01:04 +00: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
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
6d820d02c8 Merge \"Fix crash when support item is clicked.\" into nyc-mr1-dev
am: 47c6adbd59

Change-Id: Ib57fd6c15b0f5990014d05aff822212fbc225475
2016-07-27 23:20:41 +00: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
8bf83b4756 Merge \"Warn users when selecting non-Direct Boot apps.\" into nyc-mr1-dev
am: d5681ee978

Change-Id: Iee1c63e6d45f310836a1752525fabdd102369786
2016-07-27 23:20:40 +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
Doris Ling
47c6adbd59 Merge "Fix crash when support item is clicked." into nyc-mr1-dev 2016-07-27 23:14:38 +00:00
Bill Yi
dc2a365170 Import translations. DO NOT MERGE
Change-Id: I0f47d6e170f361a07af6e0ad84891d70972cfbc7
Auto-generated-cl: translation import
2016-07-27 16:13:39 -07: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
Justin Klaassen
2902f61b16 Night display settings UI v2
am: 7335b6505d

Change-Id: Ib3a36470757ad88c33e6eac7ac6e2ef24e4f3beb
2016-07-27 22:23:08 +00:00
Fan Zhang
ede05ded5f Merge \"Catch RejectedExecutionException when loading app data.\" into nyc-mr1-dev
am: 0a2a3a6ac1

Change-Id: I921fa24adb2826b4c0b76efcae4eb6dd7ab78a59
2016-07-27 22:23:08 +00:00
Fan Zhang
c1972573b1 Catch RejectedExecutionException when loading app data.
am: c63d245779

Change-Id: Ib440a985ccf2808e71d1e71462793907f0381388
2016-07-27 22:23:07 +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
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
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
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