Commit Graph

12867 Commits

Author SHA1 Message Date
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
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
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
5129b26123 Fix multiple bluetooth devices bug
am: 6666f9cc37

Change-Id: I71efa3c45fd19a654cbc3d92b576b684d6bab9e3
2016-07-25 19:19:19 +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
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
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
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
Doris Ling
4ec4b64b9d Check for null activity before getting dashboard categories.
am: b7e650c6f7

Change-Id: I26f8c96189d3390055a7dd02680da57d2c2ed2cb
2016-07-22 01:42:47 +00:00
Fan Zhang
2ef88c5c11 Fix crash when starting Settings -> Display -> Font size
am: cafe6972a9

Change-Id: I19912b25028cac863d990e01cda1b31b40a183d7
2016-07-22 01:42:45 +00:00
Doris Ling
7b03ae69df Merge "Check for null activity before getting dashboard categories." into nyc-mr1-dev 2016-07-21 20:58:22 +00:00
Fan Zhang
cafe6972a9 Fix crash when starting Settings -> Display -> Font size
Change-Id: I26f81d02e31b0b7c8120395231aa6b81be6be7be
Fixes: 30279736
2016-07-21 13:30:54 -07:00
Doris Ling
b7e650c6f7 Check for null activity before getting dashboard categories.
In DashboardSummary, when async task finishes running, ensure that the
fragment is still associated with the activity before getting the
dashboard categories from the activity.

Change-Id: If23cd27a0d3e3429d900ae41ef6f24ed03b9e8d6
Fixes: 30278854
2016-07-21 12:22:17 -07:00
Thierry Strudel
8f3c7dd719 Merge changes from topic 'enable_persist_kernel_log' into nyc-mr1-dev
* changes:
  Settings: trampoline persist.logd.logpersistd to logd.logpersistd
  Settings: add logpersist kernel only selection
  Settings: add logpersist selection (actions)
2016-07-21 04:07:25 +00:00
Doris Ling
8668aa0a8f Merge \"Get gestures animation preview image in async loader.\" into nyc-mr1-dev
am: fd922cabd9

Change-Id: I6975f268808cd5f9521cba6922120c667010023d
2016-07-21 02:47:12 +00:00
Doris Ling
de991f457d Get gestures animation preview image in async loader.
When user scrolls in Gestures Settings, the textureview used for the
animation video will be destroyed if the view is scrolled outside the
screen. When the view is scrolled back in, a slight flicker is seen as
the animation video is not instantly made available on the new surface
texture. We are now retrieving the preview image in an async loader
after the preference is created, so that it will not delay the original
loading of the gestures settings page, but the preview will be made
available while we initialize the animation video in the new surface
texture.

Bug: 29790087
Change-Id: I83f4a5bc4f24b7aab4c0cc851cb524c10e74f328
2016-07-20 18:13:55 -07:00
Tony Mak
3a681a32a8 Merge \"Should not report unsuccessful attempt if pattern size < minimal size\" into nyc-mr1-dev
am: 9d83a9fbbb

Change-Id: I1f9f254baebab5b14fe298791e11887dbd4220c6
2016-07-20 19:26:54 +00:00
Tony Mak
9d83a9fbbb Merge "Should not report unsuccessful attempt if pattern size < minimal size" into nyc-mr1-dev 2016-07-20 19:20:55 +00:00
Abodunrinwa Toki
1fd447e778 Merge \"DO NOT MERGE: InputSettings: Fix incorrect keyboard list on rotation.\" into nyc-mr1-dev
am: 5af83786f7

Change-Id: I786b8815d0e928b7bb54a93e3fb633af1d206916
2016-07-20 18:57:18 +00:00
Doris Ling
b3055b083a Merge \"Combine setCategories() and setSuggestions() in DashboardAdapter.\" into nyc-mr1-dev
am: 7e70fd1166

Change-Id: Id8f655e0a9b29369a57eea3c5140cf47def7cc36
2016-07-20 18:51:17 +00:00
Daniel Nishi
c354537c37 Merge \"Add a help item for the Help & Feedback for the Storage Manager.\" into nyc-mr1-dev
am: dd1c51a3e4

Change-Id: I80acbbc35e376f2e353aa955bfd66e4e2a63f71e
2016-07-20 18:51:14 +00:00
Abodunrinwa Toki
5af83786f7 Merge "DO NOT MERGE: InputSettings: Fix incorrect keyboard list on rotation." into nyc-mr1-dev 2016-07-20 18:50:16 +00:00
Michael Wright
87fca0df00 Merge \"Color transforms are now color modes.\" into nyc-mr1-dev
am: 111e1dc6b3

Change-Id: I6536baf47e102331fa87112d4f0b9d15ec432d2a
2016-07-20 18:49:59 +00:00
Doris Ling
7e70fd1166 Merge "Combine setCategories() and setSuggestions() in DashboardAdapter." into nyc-mr1-dev 2016-07-20 18:02:43 +00:00
Daniel Nishi
dd1c51a3e4 Merge "Add a help item for the Help & Feedback for the Storage Manager." into nyc-mr1-dev 2016-07-20 17:33:40 +00:00
TreeHugger Robot
111e1dc6b3 Merge "Color transforms are now color modes." into nyc-mr1-dev 2016-07-20 17:21:36 +00:00
Jason Monk
ff1132470b Merge \"Protect against work conditional crash\" into nyc-mr1-dev
am: bd6a4f9066

Change-Id: I6072b6235abb35da9ecac1f41b01cf82e75d868b
2016-07-20 13:33:57 +00:00
Jason Monk
bd6a4f9066 Merge "Protect against work conditional crash" into nyc-mr1-dev 2016-07-20 13:28:13 +00:00
Tony Mak
818312d962 Should not report unsuccessful attempt if pattern size < minimal size
It is to align the behavior in personal side lock screen.

Change-Id: I811e72405615fbed85c2a4dc6b6cec51e4ad54f0
Fix: 30215101
2016-07-20 09:55:25 +01:00
Justin Klaassen
5d8b1ca588 Merge \"Add Night display settings conditional\" into nyc-mr1-dev
am: b57ee0e02f

Change-Id: I72715ad005fade9376d036ebe7abfde0c89bd1e5
2016-07-20 01:06:41 +00:00
Daniel Nishi
f21465e14f Add a help item for the Help & Feedback for the Storage Manager.
Bug: 29793176
Change-Id: Ic4104525961e7f173212df54f19857a06c0fac05
2016-07-19 15:47:10 -07:00
Justin Klaassen
d60f09edaf Add Night display settings conditional
Bug: 30043281
Change-Id: I2464cd90f1f7f379aabf123f602e6150a87120cf
2016-07-19 14:31:46 -07:00