Commit Graph

12855 Commits

Author SHA1 Message Date
Fan Zhang
b22d11436d Log switch toggle action whenever its status changes. am: 6d2a0c80df
am: 181f21393c

Change-Id: I16a34ea7636bf6ca015996e16ca554bc6f72c5aa
2016-08-01 19:22:07 +00:00
Fan Zhang
6d2a0c80df Log switch toggle action whenever its status changes.
Bug: 30110675

onClick is only called when the switchbar is clicked. We also need to
log when switch itself is clicked.

Change-Id: I892b72daeefe0f36608a73fe509199e200376eb7
2016-08-01 10:41:23 -07:00
Vineeta Srivastava
e8c50127db Show IMEI SV when phone has LTE_ON_CDMA_TRUE am: d153a18a27
am: a8cbfb5b56

Change-Id: I89281bf00bb7ba51a02a6578c59a5bdb8efebfd9
2016-07-29 01:53:33 +00:00
Vineeta Srivastava
a8cbfb5b56 Show IMEI SV when phone has LTE_ON_CDMA_TRUE
am: d153a18a27

Change-Id: Ic3adf187fd607e6ebf6e64e3d02b7fc311a6b89e
2016-07-29 01:50:53 +00:00
Vineeta Srivastava
10327d07fd Merge "Show IMEI SV when phone has LTE_ON_CDMA_TRUE" into nyc-mr1-dev 2016-07-29 01:27:06 +00:00
Vineeta Srivastava
d153a18a27 Show IMEI SV when phone has LTE_ON_CDMA_TRUE
Bug: 30463148
Change-Id: I518278725d0980b9a98ddf0cf01d65eab3dbb74d
2016-07-28 17:02:44 -07:00
Doris Ling
40be135704 Update UI for gesture settings. am: d59fcc94be
am: 20304fb0ad

Change-Id: I7d0183ba61c1a9ac6f891f007666e76303cc26db
2016-07-28 23:45:03 +00:00
Doris Ling
20304fb0ad Update UI for gesture settings.
am: d59fcc94be

Change-Id: I8762ba55f123c1e959e36c9ad3850817bb4374a0
2016-07-28 23:36:24 +00:00
Doris Ling
a2b693db93 Merge "Update UI for gesture settings." into nyc-mr1-dev 2016-07-28 23:28:17 +00:00
Yohei Yukawa
f6bd4d7f32 Check if InputMethodService is Direct Boot aware am: 4e44a5ec8e
am: fc7672a010

Change-Id: Ie2fbffb005ea53f52643839a1d32054178b06e32
2016-07-28 23:20:33 +00:00
Yohei Yukawa
fc7672a010 Check if InputMethodService is Direct Boot aware
am: 4e44a5ec8e

Change-Id: I53c8f33eeb6f02664a06a7b24e29e54f63725507
2016-07-28 23:09:09 +00:00
TreeHugger Robot
86547c2303 Merge "Check if InputMethodService is Direct Boot aware" into nyc-mr1-dev 2016-07-28 23:07:02 +00:00
Fan Zhang
5b519cb1df Remove spacer above dashboard tiles. am: d9057df872
am: 3122eb6433

Change-Id: I85fd46747a4a25e6e4854b4e12e5dafc4245d4f7
2016-07-28 21:32:05 +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
Matthew Fritze
3ccc53d309 Assist and Voice Input SwitchPreferences animate with talkback am: 91e3e434cf
am: c1e6a5fe39

Change-Id: I7cc31d00719dac72711689abc2c8c149534a65cc
2016-07-28 18:11:22 +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
Salvador Martinez
0c86e04516 Force talkback to read imei # digit by digit am: cf21d91b76
am: 72e264b1be

Change-Id: I5d34152d7e3fb758a38b095d8e7b98a575f9c269
2016-07-28 03:08:42 +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
0a7d1f1f65 Display storage summary with correct used/total size. am: 7dfc8dfc2f
am: 7fda7fb51a

Change-Id: I3da86d55e0f47028b5ae4d3be64188621a528861
2016-07-28 02:04:17 +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
Fan Zhang
8ed408b99f Never disable DnD receiver to dislay condition correctly. am: bebba4478d
am: cfa34b5331

Change-Id: I5cb44506f2731f22fd483638291badfc959ff259
2016-07-28 01:16:25 +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
cfa34b5331 Never disable DnD receiver to dislay condition correctly.
am: bebba4478d

Change-Id: Ic3fdccad058607c644b7219c08f0cc61d7aec8b1
2016-07-28 01:01:03 +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
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
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
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
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