OSDN Git Service

android-x86/packages-apps-Settings.git
8 years agoShow progress user unlocking is delayed
Jorim Jaggi [Tue, 2 Aug 2016 19:30:09 +0000 (19:30 +0000)]
Show progress user unlocking is delayed
am: 984079442f

Change-Id: Ib2e7f8c0e45a594127f3384b8d25f6de171b17e0

8 years agoMerge "Hide sim card selection UI when only one sim presents" into nyc-mr1-dev
Meng Wang [Tue, 2 Aug 2016 19:27:40 +0000 (19:27 +0000)]
Merge "Hide sim card selection UI when only one sim presents" into nyc-mr1-dev
am: 6490032550

Change-Id: I99c1538f0f47714cdf041b0c1b043ef41cc217f5

8 years agoHide sim card selection UI when only one sim presents
Meng Wang [Tue, 2 Aug 2016 19:27:40 +0000 (19:27 +0000)]
Hide sim card selection UI when only one sim presents
am: dfba923468

Change-Id: Idcbfdf60b3bf0fbad1505f52c05c09ee4a91aff9

8 years agoMerge "Hide sim card selection UI when only one sim presents" into nyc-mr1-dev
TreeHugger Robot [Tue, 2 Aug 2016 19:07:47 +0000 (19:07 +0000)]
Merge "Hide sim card selection UI when only one sim presents" into nyc-mr1-dev

8 years agoShow progress user unlocking is delayed
Jorim Jaggi [Tue, 2 Aug 2016 09:53:12 +0000 (11:53 +0200)]
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

8 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 2 Aug 2016 02:06:45 +0000 (02:06 +0000)]
Import translations. DO NOT MERGE
am: de26061dc9  -s ours

Change-Id: I8880f04010a4c0b0f2bd6596b3e83bf8c8014702

8 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 2 Aug 2016 00:43:36 +0000 (17:43 -0700)]
Import translations. DO NOT MERGE

Change-Id: Icbf8d39b372bdfad0e5dd5eec9753a8725ec0c90
Auto-generated-cl: translation import

8 years agoMerge "Set correct flag when enabling listener for conditions." into nyc-mr1-dev
Fan Zhang [Mon, 1 Aug 2016 21:38:11 +0000 (21:38 +0000)]
Merge "Set correct flag when enabling listener for conditions." into nyc-mr1-dev
am: dccd2544b3

Change-Id: I4e93011305b9c2e98899d7cc752793386d7f8107

8 years agoSet correct flag when enabling listener for conditions.
Fan Zhang [Mon, 1 Aug 2016 21:38:10 +0000 (21:38 +0000)]
Set correct flag when enabling listener for conditions.
am: 0aebaf1556

Change-Id: Iba750354cb791b3daace54ed1ed8ccdb645f6901

8 years agoMerge "Set correct flag when enabling listener for conditions." into nyc-mr1-dev
Fan Zhang [Mon, 1 Aug 2016 21:31:15 +0000 (21:31 +0000)]
Merge "Set correct flag when enabling listener for conditions." into nyc-mr1-dev

8 years agoSet correct flag when enabling listener for conditions.
Fan Zhang [Mon, 1 Aug 2016 20:58:57 +0000 (13:58 -0700)]
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

8 years agoLog switch toggle action whenever its status changes.
Fan Zhang [Mon, 1 Aug 2016 19:19:07 +0000 (19:19 +0000)]
Log switch toggle action whenever its status changes.
am: 6d2a0c80df

Change-Id: If5eda574db3ea776a082246d2919e4e49d614206

8 years agoLog switch toggle action whenever its status changes.
Fan Zhang [Mon, 1 Aug 2016 16:40:06 +0000 (09:40 -0700)]
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

8 years agoHide sim card selection UI when only one sim presents
Meng Wang [Mon, 1 Aug 2016 17:19:15 +0000 (10:19 -0700)]
Hide sim card selection UI when only one sim presents

Bug: 30319100
Change-Id: I9bb8409475d9431463516117b54d34cbdfb317b9

8 years agoAlign battery consumer app title to view start.
Fan Zhang [Sat, 30 Jul 2016 08:04:50 +0000 (08:04 +0000)]
Align battery consumer app title to view start.
am: b3e657211d

Change-Id: I8e75cc94d3902648a3164fc686219d1975dc0e04

8 years agoAlign battery consumer app title to view start.
Fan Zhang [Fri, 29 Jul 2016 20:58:30 +0000 (13:58 -0700)]
Align battery consumer app title to view start.

Bug: 30161009

This makes sure in RTL language app titles start from right.

Change-Id: I87030121f39519d09e5872eb4c01ec682f69db55

8 years agoMerge \"Show IMEI SV when phone has LTE_ON_CDMA_TRUE\" into nyc-mr1-dev
Vineeta Srivastava [Fri, 29 Jul 2016 01:50:53 +0000 (01:50 +0000)]
Merge \"Show IMEI SV when phone has LTE_ON_CDMA_TRUE\" into nyc-mr1-dev
am: 10327d07fd

Change-Id: Ifc2019449837e668176f7cd757a2c94a01590a7c

8 years agoShow IMEI SV when phone has LTE_ON_CDMA_TRUE
Vineeta Srivastava [Fri, 29 Jul 2016 01:50:53 +0000 (01:50 +0000)]
Show IMEI SV when phone has LTE_ON_CDMA_TRUE
am: d153a18a27

Change-Id: Ic3adf187fd607e6ebf6e64e3d02b7fc311a6b89e

8 years agoMerge "Show IMEI SV when phone has LTE_ON_CDMA_TRUE" into nyc-mr1-dev
Vineeta Srivastava [Fri, 29 Jul 2016 01:27:05 +0000 (01:27 +0000)]
Merge "Show IMEI SV when phone has LTE_ON_CDMA_TRUE" into nyc-mr1-dev

8 years agoShow IMEI SV when phone has LTE_ON_CDMA_TRUE
Vineeta Srivastava [Thu, 28 Jul 2016 23:38:55 +0000 (16:38 -0700)]
Show IMEI SV when phone has LTE_ON_CDMA_TRUE

Bug: 30463148
Change-Id: I518278725d0980b9a98ddf0cf01d65eab3dbb74d

8 years agoMerge \"Update UI for gesture settings.\" into nyc-mr1-dev
Doris Ling [Thu, 28 Jul 2016 23:36:54 +0000 (23:36 +0000)]
Merge \"Update UI for gesture settings.\" into nyc-mr1-dev
am: a2b693db93

Change-Id: Ifaaf05efb756afe6e455bd7c6fbaf17f3b0bafce

8 years agoUpdate UI for gesture settings.
Doris Ling [Thu, 28 Jul 2016 23:36:24 +0000 (23:36 +0000)]
Update UI for gesture settings.
am: d59fcc94be

Change-Id: I8762ba55f123c1e959e36c9ad3850817bb4374a0

8 years agoMerge "Update UI for gesture settings." into nyc-mr1-dev
Doris Ling [Thu, 28 Jul 2016 23:28:16 +0000 (23:28 +0000)]
Merge "Update UI for gesture settings." into nyc-mr1-dev

8 years agoMerge \"Check if InputMethodService is Direct Boot aware\" into nyc-mr1-dev
Yohei Yukawa [Thu, 28 Jul 2016 23:09:10 +0000 (23:09 +0000)]
Merge \"Check if InputMethodService is Direct Boot aware\" into nyc-mr1-dev
am: 86547c2303

Change-Id: Ib1cf1e177244ff0795869600ea3b641ffaaf8989

8 years agoCheck if InputMethodService is Direct Boot aware
Yohei Yukawa [Thu, 28 Jul 2016 23:09:09 +0000 (23:09 +0000)]
Check if InputMethodService is Direct Boot aware
am: 4e44a5ec8e

Change-Id: I53c8f33eeb6f02664a06a7b24e29e54f63725507

8 years agoMerge \"Import translations. DO NOT MERGE\" into nyc-mr1-dev
Bill Yi [Thu, 28 Jul 2016 23:09:06 +0000 (23:09 +0000)]
Merge \"Import translations. DO NOT MERGE\" into nyc-mr1-dev
am: e4ae0a88c0  -s ours

Change-Id: I263e31164f030eaf6144c5e3950b9ac085f69572

8 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 28 Jul 2016 23:09:04 +0000 (23:09 +0000)]
Import translations. DO NOT MERGE
am: 44bef2e58a  -s ours

Change-Id: I861c606bba3a86292c84308ec68ebe03b5272f07

8 years agoMerge "Check if InputMethodService is Direct Boot aware" into nyc-mr1-dev
TreeHugger Robot [Thu, 28 Jul 2016 23:07:02 +0000 (23:07 +0000)]
Merge "Check if InputMethodService is Direct Boot aware" into nyc-mr1-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
Bill Yi [Thu, 28 Jul 2016 22:27:06 +0000 (22:27 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

8 years agoRemove spacer above dashboard tiles.
Fan Zhang [Thu, 28 Jul 2016 21:29:35 +0000 (21:29 +0000)]
Remove spacer above dashboard tiles.
am: d9057df872

Change-Id: I23cca0bc9f480b8033f237d76ae3dbe5dfe988d8

8 years agoUpdate UI for gesture settings.
Doris Ling [Thu, 28 Jul 2016 20:54:14 +0000 (13:54 -0700)]
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

8 years agoRemove spacer above dashboard tiles.
Fan Zhang [Thu, 28 Jul 2016 18:48:59 +0000 (11:48 -0700)]
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

8 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 28 Jul 2016 19:07:48 +0000 (12:07 -0700)]
Import translations. DO NOT MERGE

Change-Id: I5ae8abcbb85c81ee4cdfdec59293cc4d891032e9
Auto-generated-cl: translation import

8 years agoMerge \"Add non-transparent background to dashboard items.\" into nyc-mr1-dev
Fan Zhang [Thu, 28 Jul 2016 18:34:37 +0000 (18:34 +0000)]
Merge \"Add non-transparent background to dashboard items.\" into nyc-mr1-dev
am: 0f8daa6995

Change-Id: I6a780e9ba2427caf93e5064b04f80324a430c8db

8 years agoAdd non-transparent background to dashboard items.
Fan Zhang [Thu, 28 Jul 2016 18:34:36 +0000 (18:34 +0000)]
Add non-transparent background to dashboard items.
am: 66cc2def90

Change-Id: I0d7db819c8ece35b83fe475303d92dda6a1508d4

8 years agoMerge "Add non-transparent background to dashboard items." into nyc-mr1-dev
Fan Zhang [Thu, 28 Jul 2016 18:25:59 +0000 (18:25 +0000)]
Merge "Add non-transparent background to dashboard items." into nyc-mr1-dev

8 years agoMerge \"Assist and Voice Input SwitchPreferences animate with talkback\" into nyc...
Matthew Fritze [Thu, 28 Jul 2016 18:08:06 +0000 (18:08 +0000)]
Merge \"Assist and Voice Input SwitchPreferences animate with talkback\" into nyc-mr1-dev
am: 1c4c0af613

Change-Id: Ibbe41a9717504597b9f241efb33a7cc450a06ea6

8 years agoAssist and Voice Input SwitchPreferences animate with talkback
Matthew Fritze [Thu, 28 Jul 2016 18:08:05 +0000 (18:08 +0000)]
Assist and Voice Input SwitchPreferences animate with talkback
am: 91e3e434cf

Change-Id: Ibd175cf6de45e5783f9f05b79d6a110d277e4f49

8 years agoMerge "Assist and Voice Input SwitchPreferences animate with talkback" into nyc-mr1-dev
TreeHugger Robot [Thu, 28 Jul 2016 17:58:00 +0000 (17:58 +0000)]
Merge "Assist and Voice Input SwitchPreferences animate with talkback" into nyc-mr1-dev

8 years agoAdd non-transparent background to dashboard items.
Fan Zhang [Thu, 28 Jul 2016 17:49:38 +0000 (10:49 -0700)]
Add non-transparent background to dashboard items.

Bug: 30297664

In previous CL I missed the background on this tile.

Change-Id: I87b1716dbcb0f79c6f7532f3ac2397feb3b4dfd0

8 years agoMerge \"Update fingerprint strings\" into nyc-mr1-dev
Maurice Lam [Thu, 28 Jul 2016 03:44:34 +0000 (03:44 +0000)]
Merge \"Update fingerprint strings\" into nyc-mr1-dev
am: 3edc1645a5

Change-Id: Iba1d9f5cc70db4e192f4fd428d505a2ec33fc217

8 years agoUpdate fingerprint strings
Maurice Lam [Thu, 28 Jul 2016 03:44:34 +0000 (03:44 +0000)]
Update fingerprint strings
am: fcd3abd244

Change-Id: If605afa35dd4256f1b1374e3908842d10925a727

8 years agoMerge "Update fingerprint strings" into nyc-mr1-dev
Maurice Lam [Thu, 28 Jul 2016 03:37:18 +0000 (03:37 +0000)]
Merge "Update fingerprint strings" into nyc-mr1-dev

8 years agoMerge \"Force talkback to read imei # digit by digit\" into nyc-mr1-dev
Salvador Martinez [Thu, 28 Jul 2016 03:04:43 +0000 (03:04 +0000)]
Merge \"Force talkback to read imei # digit by digit\" into nyc-mr1-dev
am: 591e891149

Change-Id: I15150f10a582a46f0424bf6eb3dccb71ec377e92

8 years agoForce talkback to read imei # digit by digit
Salvador Martinez [Thu, 28 Jul 2016 03:04:43 +0000 (03:04 +0000)]
Force talkback to read imei # digit by digit
am: cf21d91b76

Change-Id: I1770ddd0f320240417a2deb8a7b3f515ad598a6e

8 years agoMerge "Force talkback to read imei # digit by digit" into nyc-mr1-dev
TreeHugger Robot [Thu, 28 Jul 2016 02:57:23 +0000 (02:57 +0000)]
Merge "Force talkback to read imei # digit by digit" into nyc-mr1-dev

8 years agoMerge \"Display storage summary with correct used/total size.\" into nyc-mr1-dev
Fan Zhang [Thu, 28 Jul 2016 01:54:24 +0000 (01:54 +0000)]
Merge \"Display storage summary with correct used/total size.\" into nyc-mr1-dev
am: 92b0aa0dcf

Change-Id: I3b71d9ddde6b09b7dc8f458261e9d49f3c4340a0

8 years agoDisplay storage summary with correct used/total size.
Fan Zhang [Thu, 28 Jul 2016 01:54:22 +0000 (01:54 +0000)]
Display storage summary with correct used/total size.
am: 7dfc8dfc2f

Change-Id: I8e39e1de2869014b14b64ecde05d3c5ba12a7a45

8 years agoForce talkback to read imei # digit by digit
Salvador Martinez [Wed, 27 Jul 2016 23:40:54 +0000 (16:40 -0700)]
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

8 years agoMerge "Display storage summary with correct used/total size." into nyc-mr1-dev
TreeHugger Robot [Thu, 28 Jul 2016 01:33:42 +0000 (01:33 +0000)]
Merge "Display storage summary with correct used/total size." into nyc-mr1-dev

8 years agoMerge \"Import translations. DO NOT MERGE\" into nyc-mr1-dev
Bill Yi [Thu, 28 Jul 2016 01:27:12 +0000 (01:27 +0000)]
Merge \"Import translations. DO NOT MERGE\" into nyc-mr1-dev
am: 8cabb7c417  -s ours

Change-Id: Ic4a89d91d818afef84c1335b23a6ddd2c8cd4aab

8 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 28 Jul 2016 01:27:11 +0000 (01:27 +0000)]
Import translations. DO NOT MERGE
am: dc2a365170  -s ours

Change-Id: I88a9598ede719794ae4c02ee33af7be8495d57a9

8 years agoUpdate fingerprint strings
Maurice Lam [Thu, 28 Jul 2016 00:40:23 +0000 (17:40 -0700)]
Update fingerprint strings

Bug: 30443091
Change-Id: I1634a97090147cd19dd3fd65eef06ebc401ddd1b

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Thu, 28 Jul 2016 01:08:35 +0000 (01:08 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

8 years agoAssist and Voice Input SwitchPreferences animate with talkback
Matthew Fritze [Wed, 27 Jul 2016 23:52:49 +0000 (16:52 -0700)]
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

8 years agoMerge \"Never disable DnD receiver to dislay condition correctly.\" into nyc-mr1-dev
Fan Zhang [Thu, 28 Jul 2016 01:01:04 +0000 (01:01 +0000)]
Merge \"Never disable DnD receiver to dislay condition correctly.\" into nyc-mr1-dev
am: 503a7514f6

Change-Id: I984caedc1f7f43073f23534edcf9076c115f8dc3

8 years agoNever disable DnD receiver to dislay condition correctly.
Fan Zhang [Thu, 28 Jul 2016 01:01:03 +0000 (01:01 +0000)]
Never disable DnD receiver to dislay condition correctly.
am: bebba4478d

Change-Id: Ic3fdccad058607c644b7219c08f0cc61d7aec8b1

8 years agoDisplay storage summary with correct used/total size.
Fan Zhang [Wed, 27 Jul 2016 23:51:58 +0000 (16:51 -0700)]
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

8 years agoMerge "Never disable DnD receiver to dislay condition correctly." into nyc-mr1-dev
Fan Zhang [Wed, 27 Jul 2016 23:49:56 +0000 (23:49 +0000)]
Merge "Never disable DnD receiver to dislay condition correctly." into nyc-mr1-dev

8 years agoCheck if InputMethodService is Direct Boot aware
Yohei Yukawa [Wed, 27 Jul 2016 23:24:37 +0000 (16:24 -0700)]
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
      4a8136b51b746961aac6f5ce2459effef8c22680

Bug: 27196876
Change-Id: I869a7bd87748f09f7032a60b34ac0dbdc4a00b72

8 years agoMerge \"Fix crash when support item is clicked.\" into nyc-mr1-dev
Doris Ling [Wed, 27 Jul 2016 23:20:41 +0000 (23:20 +0000)]
Merge \"Fix crash when support item is clicked.\" into nyc-mr1-dev
am: 47c6adbd59

Change-Id: Ib57fd6c15b0f5990014d05aff822212fbc225475

8 years agoFix crash when support item is clicked.
Doris Ling [Wed, 27 Jul 2016 23:20:41 +0000 (23:20 +0000)]
Fix crash when support item is clicked.
am: 0d4b8a3b19

Change-Id: I741536128ca348b8594c7df7951f62f3bbdadba6

8 years agoMerge \"Warn users when selecting non-Direct Boot apps.\" into nyc-mr1-dev
Jeff Sharkey [Wed, 27 Jul 2016 23:20:40 +0000 (23:20 +0000)]
Merge \"Warn users when selecting non-Direct Boot apps.\" into nyc-mr1-dev
am: d5681ee978

Change-Id: Iee1c63e6d45f310836a1752525fabdd102369786

8 years agoWarn users when selecting non-Direct Boot apps.
Jeff Sharkey [Wed, 27 Jul 2016 23:20:40 +0000 (23:20 +0000)]
Warn users when selecting non-Direct Boot apps.
am: 4a8136b51b

Change-Id: I522f6eb292f6052d56b7b2b76063e5c85ef2ac02

8 years agoMerge "Fix crash when support item is clicked." into nyc-mr1-dev
Doris Ling [Wed, 27 Jul 2016 23:14:38 +0000 (23:14 +0000)]
Merge "Fix crash when support item is clicked." into nyc-mr1-dev

8 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 27 Jul 2016 23:13:39 +0000 (16:13 -0700)]
Import translations. DO NOT MERGE

Change-Id: I0f47d6e170f361a07af6e0ad84891d70972cfbc7
Auto-generated-cl: translation import

8 years agoMerge "Warn users when selecting non-Direct Boot apps." into nyc-mr1-dev
Jeff Sharkey [Wed, 27 Jul 2016 22:47:39 +0000 (22:47 +0000)]
Merge "Warn users when selecting non-Direct Boot apps." into nyc-mr1-dev

8 years agoNight display settings UI v2
Justin Klaassen [Wed, 27 Jul 2016 22:23:08 +0000 (22:23 +0000)]
Night display settings UI v2
am: 7335b6505d

Change-Id: Ib3a36470757ad88c33e6eac7ac6e2ef24e4f3beb

8 years agoMerge \"Catch RejectedExecutionException when loading app data.\" into nyc-mr1-dev
Fan Zhang [Wed, 27 Jul 2016 22:23:08 +0000 (22:23 +0000)]
Merge \"Catch RejectedExecutionException when loading app data.\" into nyc-mr1-dev
am: 0a2a3a6ac1

Change-Id: I921fa24adb2826b4c0b76efcae4eb6dd7ab78a59

8 years agoCatch RejectedExecutionException when loading app data.
Fan Zhang [Wed, 27 Jul 2016 22:23:07 +0000 (22:23 +0000)]
Catch RejectedExecutionException when loading app data.
am: c63d245779

Change-Id: Ib440a985ccf2808e71d1e71462793907f0381388

8 years agoWarn users when selecting non-Direct Boot apps.
Jeff Sharkey [Wed, 27 Jul 2016 18:53:34 +0000 (12:53 -0600)]
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

8 years agoNight display settings UI v2
Justin Klaassen [Wed, 27 Jul 2016 03:57:27 +0000 (20:57 -0700)]
Night display settings UI v2

Bug: 30155646
Change-Id: I912e90e5ec5e8d7426c68484da8396219a40c5ad

8 years agoNever disable DnD receiver to dislay condition correctly.
Fan Zhang [Wed, 27 Jul 2016 00:54:05 +0000 (17:54 -0700)]
Never disable DnD receiver to dislay condition correctly.

Bug: 30360853
Change-Id: I3e470c2955d7f066970442e281f9d66b153b8d10

8 years agoMerge "Catch RejectedExecutionException when loading app data." into nyc-mr1-dev
TreeHugger Robot [Wed, 27 Jul 2016 00:58:24 +0000 (00:58 +0000)]
Merge "Catch RejectedExecutionException when loading app data." into nyc-mr1-dev

8 years agoMerge "Only set fullIndex flag when performing a full update" into nyc-mr1-dev
TreeHugger Robot [Tue, 26 Jul 2016 22:47:29 +0000 (22:47 +0000)]
Merge "Only set fullIndex flag when performing a full update" into nyc-mr1-dev

8 years agoMerge "Offer trampoline to help articles." into nyc-mr1-dev
Jeff Sharkey [Tue, 26 Jul 2016 21:52:04 +0000 (21:52 +0000)]
Merge "Offer trampoline to help articles." into nyc-mr1-dev

8 years agoOnly set fullIndex flag when performing a full update
Justin Klaassen [Tue, 26 Jul 2016 21:29:52 +0000 (14:29 -0700)]
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

8 years agoCatch RejectedExecutionException when loading app data.
Fan Zhang [Tue, 26 Jul 2016 19:16:45 +0000 (12:16 -0700)]
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

8 years agoOffer trampoline to help articles.
Jeff Sharkey [Tue, 19 Jul 2016 00:28:55 +0000 (18:28 -0600)]
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: 3003331930122837
Change-Id: I7dec3e63cfb8c7a8ee9a562cc61cb70f3f99fdae

8 years agoMerge "Revert "About Phone" summary back to Android version." into nyc-mr1-dev
Fan Zhang [Mon, 25 Jul 2016 22:13:27 +0000 (22:13 +0000)]
Merge "Revert "About Phone" summary back to Android version." into nyc-mr1-dev

8 years agoMerge "Refresh state after loading conditions from xml." into nyc-mr1-dev
Fan Zhang [Mon, 25 Jul 2016 22:13:17 +0000 (22:13 +0000)]
Merge "Refresh state after loading conditions from xml." into nyc-mr1-dev

8 years agoRevert "About Phone" summary back to Android version.
Fan Zhang [Mon, 25 Jul 2016 21:20:40 +0000 (14:20 -0700)]
Revert "About Phone" summary back to Android version.

Change-Id: Icc834b8fb1fd9235092cee720c904c8532b8e3fc
Fixes: 30355258
Bug: 28419411

8 years agoFix crash when support item is clicked.
Doris Ling [Mon, 25 Jul 2016 20:22:30 +0000 (13:22 -0700)]
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

8 years agoRefresh state after loading conditions from xml.
Fan Zhang [Mon, 25 Jul 2016 19:55:36 +0000 (12:55 -0700)]
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

8 years agoMerge "Fix return when virtual keyboard setting changes." into nyc-mr1-dev
Phil Weaver [Mon, 25 Jul 2016 20:23:06 +0000 (20:23 +0000)]
Merge "Fix return when virtual keyboard setting changes." into nyc-mr1-dev

8 years agoMerge "Fix multiple bluetooth devices bug" into nyc-mr1-dev
Jason Monk [Mon, 25 Jul 2016 18:35:56 +0000 (18:35 +0000)]
Merge "Fix multiple bluetooth devices bug" into nyc-mr1-dev

8 years agoMerge "Improve string comment" into nyc-mr1-dev
Makoto Onuki [Mon, 25 Jul 2016 18:12:00 +0000 (18:12 +0000)]
Merge "Improve string comment" into nyc-mr1-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Mon, 25 Jul 2016 16:46:07 +0000 (16:46 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

8 years agoFix multiple bluetooth devices bug
Jason Monk [Mon, 25 Jul 2016 14:37:39 +0000 (10:37 -0400)]
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

8 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 25 Jul 2016 14:34:40 +0000 (07:34 -0700)]
Import translations. DO NOT MERGE

Change-Id: I460a8a0f711298b1658451774c021e8d4a3d2087
Auto-generated-cl: translation import

8 years agoAdd non-transparent background to dashboard items.
Fan Zhang [Sat, 23 Jul 2016 00:14:48 +0000 (17:14 -0700)]
Add non-transparent background to dashboard items.

Bug: 30297664
Change-Id: Ia6173e8b0d5852a1c454ae466886f894c72e3e5f

8 years agoMerge "Fix scroll issue when going from Display->Ambient Display to Moves." into...
Doris Ling [Fri, 22 Jul 2016 22:14:00 +0000 (22:14 +0000)]
Merge "Fix scroll issue when going from Display->Ambient Display to Moves." into nyc-mr1-dev

8 years agoMerge "Add NightDisplaySettingsActivity" into nyc-mr1-dev
Justin Klaassen [Fri, 22 Jul 2016 21:55:58 +0000 (21:55 +0000)]
Merge "Add NightDisplaySettingsActivity" into nyc-mr1-dev

8 years agoMerge "Fix font and display size settings pages for small screens." into nyc-mr1-dev
Anna Galusza [Fri, 22 Jul 2016 21:09:35 +0000 (21:09 +0000)]
Merge "Fix font and display size settings pages for small screens." into nyc-mr1-dev

8 years agoFix scroll issue when going from Display->Ambient Display to Moves.
Doris Ling [Fri, 22 Jul 2016 20:28:21 +0000 (13:28 -0700)]
Fix scroll issue when going from Display->Ambient Display to Moves.

Move the scroll-to extra param to inside the launch intent of the doze
preference screen for it to take effect. The original extra param is
added to the preference screen itself as we were defining the fragment
to launch previously.

Change-Id: Id3e8cfbe61b46be2a5945da7e531f1a3c8b1454f
Fixes: 30262357

8 years agoFix font and display size settings pages for small screens.
Anna Galusza [Fri, 15 Jul 2016 00:10:35 +0000 (17:10 -0700)]
Fix font and display size settings pages for small screens.

This was particularly broken in split-screen mode.

Bug: 29835212
Change-Id: I141f659e2d2d282d5af1ae97d6c798e53f71f766

8 years agoAdd NightDisplaySettingsActivity
Justin Klaassen [Fri, 22 Jul 2016 02:25:17 +0000 (19:25 -0700)]
Add NightDisplaySettingsActivity

- The Settings#ACTION_NIGHT_DISPLAY_SETTINGS action can be used by apps
  to launch Night display settings directly.

Bug: 30291948
Change-Id: I5545bb7f0a467116454e5c44e207cbe91ddf9d43

8 years agoDon't allow changing data usage setting if uid is not app.
Fan Zhang [Fri, 22 Jul 2016 17:03:52 +0000 (10:03 -0700)]
Don't allow changing data usage setting if uid is not app.

Bug: 30262890

Changing non-app UID's (eg system, firewalld) data usage will just crash.

Change-Id: I1c3f2504aae75f514f962fd54f4dcf240b3bcd81

8 years agoMerge "Check for null activity before getting dashboard categories." into nyc-mr1-dev
Doris Ling [Thu, 21 Jul 2016 20:58:21 +0000 (20:58 +0000)]
Merge "Check for null activity before getting dashboard categories." into nyc-mr1-dev

8 years agoFix crash when starting Settings -> Display -> Font size
Fan Zhang [Thu, 21 Jul 2016 20:28:19 +0000 (13:28 -0700)]
Fix crash when starting Settings -> Display -> Font size

Change-Id: I26f81d02e31b0b7c8120395231aa6b81be6be7be
Fixes: 30279736