Commit Graph

28927 Commits

Author SHA1 Message Date
Fan Zhang
b512c7a268 Catch RejectedExecutionException when loading app data.
am: c63d245779

Change-Id: Ic7ede8eade2561b36cea76169e6843f99de7ab7d
2016-07-27 01:22:41 +00:00
Justin Klaassen
7475d1c09a Merge \"Only set fullIndex flag when performing a full update\" into nyc-mr1-dev
am: 2d0c3f072b

Change-Id: If84084066e411b6e9c1620bc8962824b8df13a2a
2016-07-27 01:22:37 +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
c14b790d2f Merge \"Offer trampoline to help articles.\" into nyc-mr1-dev
am: fc86ca6f0d

Change-Id: I6a0afb3b293827e687c73a2f625409d3ed6efb4a
2016-07-26 22:12:45 +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
dde1feddbd Merge \"Revert \"About Phone\" summary back to Android version.\" into nyc-mr1-dev
am: 2dc574e59a

Change-Id: Ie579da177f742cf5d912d86e1c8a2b93380cd921
2016-07-25 23:08:19 +00: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
a988f59ce8 Merge \"Refresh state after loading conditions from xml.\" into nyc-mr1-dev
am: 58e217b180

Change-Id: I56d396108b46aba406ebf9d490c749bbb3e90c5a
2016-07-25 23:08:15 +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
Fan Zhang
2dc574e59a Merge "Revert "About Phone" summary back to Android version." into nyc-mr1-dev 2016-07-25 22:13:27 +00:00
Fan Zhang
58e217b180 Merge "Refresh state after loading conditions from xml." into nyc-mr1-dev 2016-07-25 22:13:17 +00:00
Fan Zhang
fd4f729e1f Revert "About Phone" summary back to Android version.
Change-Id: Icc834b8fb1fd9235092cee720c904c8532b8e3fc
Fixes: 30355258
Bug: 28419411
2016-07-25 14:22:00 -07:00
Doris Ling
0d4b8a3b19 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
2016-07-25 14:06:42 -07:00
Fan Zhang
a0ebd1a9f0 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
2016-07-25 13:58:39 -07:00
Phil Weaver
a1ef5a8590 Merge \"Fix return when virtual keyboard setting changes.\" into nyc-mr1-dev
am: 0bda6fb550

Change-Id: Ib2c6ea1ca9be496408ad6a201dfb24b2c3262f36
2016-07-25 20:34:42 +00:00
Phil Weaver
fc3352e585 Fix return when virtual keyboard setting changes.
am: 3587914cef

Change-Id: I29b64c04eeb036f92ff937b70e247aaf0b2eb817
2016-07-25 20:34:41 +00:00
Phil Weaver
0bda6fb550 Merge "Fix return when virtual keyboard setting changes." into nyc-mr1-dev 2016-07-25 20:23:06 +00:00
Jason Monk
d50e012545 Merge \"Fix multiple bluetooth devices bug\" into nyc-mr1-dev
am: d5b3043bba

Change-Id: Iae3c6d3f818f72277db8e0dd3ae41c92a7d748ea
2016-07-25 19:19:19 +00:00
Jason Monk
5129b26123 Fix multiple bluetooth devices bug
am: 6666f9cc37

Change-Id: I71efa3c45fd19a654cbc3d92b576b684d6bab9e3
2016-07-25 19:19:19 +00:00
Jason Monk
d5b3043bba Merge "Fix multiple bluetooth devices bug" into nyc-mr1-dev 2016-07-25 18:35:57 +00:00
Makoto Onuki
eb29897252 Merge \"Improve string comment\" into nyc-mr1-dev
am: e8bed6d959

Change-Id: I33e157d225765f1b4fc549d0a6f05e26af39ec85
2016-07-25 18:32:18 +00:00
Makoto Onuki
282e662b4e Improve string comment
am: 8e8bcb6900

Change-Id: I53c6a4ea4fa17d3d5bc6c87d559dbe07f6178cca
2016-07-25 18:32:17 +00:00
Makoto Onuki
e8bed6d959 Merge "Improve string comment" into nyc-mr1-dev 2016-07-25 18:12:00 +00:00
Bill Yi
bab8334482 Merge \"Import translations. DO NOT MERGE\" into nyc-mr1-dev
am: bcc18fa732  -s ours

Change-Id: I2e42203f39634b4f728f5a5cfb15179249bf6600
2016-07-25 17:03:33 +00:00
Bill Yi
df340e3bf2 Import translations. DO NOT MERGE
am: 4f77347f7d  -s ours

Change-Id: I2ec21b269a25155987202b5f83e4407b04995417
2016-07-25 17:03:32 +00:00
TreeHugger Robot
bcc18fa732 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-07-25 16:46:08 +00:00
Fan Zhang
478c57eba2 Add non-transparent background to dashboard items.
am: 6b75a69195

Change-Id: I5e2a3d427e60f64b31c6585be3628fba2151a783
2016-07-25 16:13:25 +00:00
Jason Monk
6666f9cc37 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
2016-07-25 10:37:39 -04:00
Bill Yi
4f77347f7d Import translations. DO NOT MERGE
Change-Id: I460a8a0f711298b1658451774c021e8d4a3d2087
Auto-generated-cl: translation import
2016-07-25 07:34:40 -07:00
Fan Zhang
6b75a69195 Add non-transparent background to dashboard items.
Bug: 30297664
Change-Id: Ia6173e8b0d5852a1c454ae466886f894c72e3e5f
2016-07-22 17:14:48 -07:00
Doris Ling
83b3647e0c Merge \"Fix scroll issue when going from Display->Ambient Display to Moves.\" into nyc-mr1-dev
am: 0fd853ad66

Change-Id: Iabb342eee3888877c4f941bc941f14cf2ea7f4a8
2016-07-22 22:18:16 +00:00
Doris Ling
f6578b733c Fix scroll issue when going from Display->Ambient Display to Moves.
am: 2f92d751e0

Change-Id: I2854643c20fd1136a2d789dc96fa24018042f71b
2016-07-22 22:18:15 +00:00
Doris Ling
0fd853ad66 Merge "Fix scroll issue when going from Display->Ambient Display to Moves." into nyc-mr1-dev 2016-07-22 22:14:01 +00:00
Justin Klaassen
f4f56407c3 Merge \"Add NightDisplaySettingsActivity\" into nyc-mr1-dev
am: 53e9f35239

Change-Id: If6f1f681fa5e1fb8fd1319054fce76fd8472f1c5
2016-07-22 22:07:46 +00:00
Justin Klaassen
478dec45ce Add NightDisplaySettingsActivity
am: eae3d9f932

Change-Id: Ia7cbd7dd7d65d5d04beba607a1ada82aed81d31a
2016-07-22 22:07:06 +00:00
Justin Klaassen
53e9f35239 Merge "Add NightDisplaySettingsActivity" into nyc-mr1-dev 2016-07-22 21:55:59 +00:00
Anna Galusza
2ab7eed703 Merge \"Fix font and display size settings pages for small screens.\" into nyc-mr1-dev
am: bbb844f94d

Change-Id: Id52f78751ced368a8119abe8594982d289416da2
2016-07-22 21:13:16 +00:00
Anna Galusza
c3c3d0fb44 Fix font and display size settings pages for small screens.
am: 798b35ac09

Change-Id: I22f9c500152904bfc593e8c2907ecec7cf36d009
2016-07-22 21:13:16 +00:00
Anna Galusza
bbb844f94d Merge "Fix font and display size settings pages for small screens." into nyc-mr1-dev 2016-07-22 21:09:35 +00:00
Doris Ling
2f92d751e0 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
2016-07-22 13:28:21 -07:00
Fan Zhang
2bf9591d92 Don\'t allow changing data usage setting if uid is not app.
am: 2a84bbcddb

Change-Id: I2584cabeef21606a49d4921027707a36ace324b9
2016-07-22 20:11:11 +00:00
Anna Galusza
798b35ac09 Fix font and display size settings pages for small screens.
This was particularly broken in split-screen mode.

Bug: 29835212
Change-Id: I141f659e2d2d282d5af1ae97d6c798e53f71f766
2016-07-22 20:06:42 +00:00
Justin Klaassen
eae3d9f932 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
2016-07-22 19:40:17 +00:00
Fan Zhang
2a84bbcddb 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
2016-07-22 10:07:12 -07:00