Commit Graph

12867 Commits

Author SHA1 Message Date
Erik Wolsheimer
116a68e633 Fix potential NPE in BluetoothPairingDialog#onDestroy
am: 56c1b61e79

Change-Id: Idade2f767cf72fc4b6f6c8149020f1e29d82bc56
2016-08-02 22:32:23 +00:00
Jorim Jaggi
4c839a59b3 Show progress user unlocking is delayed am: 984079442f
am: 30ac0e837a

Change-Id: I9a020a8d45d85b023b6aa8ce0a76fb92a03fe937
2016-08-02 19:32:46 +00:00
Jorim Jaggi
30ac0e837a Show progress user unlocking is delayed
am: 984079442f

Change-Id: Ib2e7f8c0e45a594127f3384b8d25f6de171b17e0
2016-08-02 19:30:09 +00:00
Meng Wang
11f5678daf Hide sim card selection UI when only one sim presents am: dfba923468
am: ba61eb2d40

Change-Id: I4b6cd1adafa8cd448f04f221e8f9ba7d0f920d2d
2016-08-02 19:30:09 +00:00
Meng Wang
ba61eb2d40 Hide sim card selection UI when only one sim presents
am: dfba923468

Change-Id: Idcbfdf60b3bf0fbad1505f52c05c09ee4a91aff9
2016-08-02 19:27:40 +00:00
Jorim Jaggi
984079442f Show progress user unlocking is delayed
Sometimes it takes a while to unlock a user, for example, after an OTA.

In these cases, we show a progress bar in FallbackHome so the user knows
that something is happening.

Fixes: 30213213
Change-Id: Ie36a9b3107c32ff46a8890818d1f26ccf310ee6c
2016-08-02 20:02:42 +02:00
Fan Zhang
939d5773ff Set correct flag when enabling listener for conditions. am: 0aebaf1556
am: 38cdd42efa

Change-Id: Ice3ede55651abafc1ccaf5d1c7e52b39443b3e45
2016-08-01 21:40:34 +00:00
Fan Zhang
38cdd42efa Set correct flag when enabling listener for conditions.
am: 0aebaf1556

Change-Id: Iba750354cb791b3daace54ed1ed8ccdb645f6901
2016-08-01 21:38:10 +00:00
Fan Zhang
dccd2544b3 Merge "Set correct flag when enabling listener for conditions." into nyc-mr1-dev 2016-08-01 21:31:15 +00:00
Fan Zhang
0aebaf1556 Set correct flag when enabling listener for conditions.
Bug: 30551655

Without this flag Settings app will close whenever listener is
enabled/disabled.

Change-Id: I99102308ada3897cf44917e96015c71b926e5fb5
2016-08-01 13:58:57 -07:00
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
Meng Wang
dfba923468 Hide sim card selection UI when only one sim presents
Bug: 30319100
Change-Id: I9bb8409475d9431463516117b54d34cbdfb317b9
2016-08-01 10:19:15 -07:00
Erik Wolsheimer
56c1b61e79 Fix potential NPE in BluetoothPairingDialog#onDestroy
BUG: 21478473
Change-Id: I8b2b7222f6f17d27cd18a35f83f8d48125ec4091
2016-08-01 09:18:37 -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