Commit Graph

13444 Commits

Author SHA1 Message Date
Salvador Martinez
49a6ec297b Merge "can open settings with support tab by default" 2016-07-29 16:26:39 +00:00
Yohei Yukawa
a6699afd05 Check if InputMethodService is Direct Boot aware am: 4e44a5ec8e am: fc7672a010
am: f6bd4d7f32

Change-Id: I94afa4c2fbdc8b7915c15aa1a309914c608b69f1
2016-07-28 23:33:52 +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
Salvador Martinez
2368e548e6 can open settings with support tab by default
Changes were made to the two files to allow users to provide
an argument in the intent for the settings activity. This
argument allows you to specify if you want the summary tab
or support open on startup.

Fixes: 30233920
Change-Id: I4745a0f75ea6a60a22381f5e58f2fac3836d86b9
2016-07-28 16:18:05 -07:00
Yohei Yukawa
fc7672a010 Check if InputMethodService is Direct Boot aware
am: 4e44a5ec8e

Change-Id: I53c8f33eeb6f02664a06a7b24e29e54f63725507
2016-07-28 23:09:09 +00:00
Fan Zhang
b73db13e4b Remove spacer above dashboard tiles. am: d9057df872 am: 3122eb6433
am: 5b519cb1df

Change-Id: I577ebba1397e5d2e27b2b7b7667330f5e53e0855
2016-07-28 21:38:46 +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
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
6beb49a888 Assist and Voice Input SwitchPreferences animate with talkback am: 91e3e434cf am: c1e6a5fe39
am: 3ccc53d309

Change-Id: I539066dcbea1aa59dbb79780c65400d360d822fd
2016-07-28 18:20:36 +00: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
Robin Lee
ae8681dc65 Merge "VpnSettings stub unit tests" 2016-07-28 16:47:32 +00:00
Robin Lee
490849b391 VpnSettings stub unit tests
For:
 - enforcing minimum target SDK
 - enforcing that only actual vpn apps are shown

Bug: 30355704
Change-Id: I4fcbea8ce0d0417c089a637d999ea83299cea5d0
2016-07-28 12:45:03 +00:00
Salvador Martinez
378f192478 Force talkback to read imei # digit by digit am: cf21d91b76 am: 72e264b1be
am: 0c86e04516

Change-Id: Ibf08379cc9e691c0b9c31b512647d81236bf7ba7
2016-07-28 03:17:14 +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
9d26bb638b Display storage summary with correct used/total size. am: 7dfc8dfc2f am: 7fda7fb51a
am: 0a7d1f1f65

Change-Id: Ic30ebf080275e7399d405fb8b266b3422df978f6
2016-07-28 02:11:00 +00:00
Fan Zhang
04c40828cb Never disable DnD receiver to dislay condition correctly. am: bebba4478d am: cfa34b5331
am: 8ed408b99f

Change-Id: I5a9d9e19cb94d87be4015dfdcd51b98a6e7f8936
2016-07-28 02:10:58 +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
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