Commit Graph

14455 Commits

Author SHA1 Message Date
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
Jeff Sharkey
fa35b19603 Offer trampoline to help articles. am: 4f425c890b
am: aaaf41d982

Change-Id: Ib10ccc2348f1fa9d5687941c38ca7f28fcb0465e
2016-07-26 22:16:03 +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
c73a4cb7e0 Revert \\"About Phone\\" summary back to Android version. am: fd4f729e1f
am: 942e24d46f

Change-Id: I4e07005864ee39324ecc381a6861acaf11292d54
2016-07-25 23:15:54 +00:00
Fan Zhang
709739d87d Refresh state after loading conditions from xml. am: a0ebd1a9f0
am: 91a1c1cad0

Change-Id: Iae268150219731a98c08784f313a45cc7545cf6a
2016-07-25 23:15:53 +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
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
8f3c8a56a2 Fix return when virtual keyboard setting changes. am: 3587914cef
am: fc3352e585

Change-Id: I5aa18d8695ad07b01f2f5a092ae4e98855579afe
2016-07-25 20:36:36 +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
3ac2f08f97 Fix multiple bluetooth devices bug am: 6666f9cc37
am: 5129b26123

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

Change-Id: I71efa3c45fd19a654cbc3d92b576b684d6bab9e3
2016-07-25 19:19:19 +00:00
Svetoslav Ganov
0c9f05fe26 Merge "Add Bluetooth toggle prompts - settings" 2016-07-25 18:43:40 +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
Robin Lee
e68d957777 Include wifi certificates in settings
Deleting wifi certificates isn't supported yet since cascading the
removal back into wifi configs will need some easy way of enumerating
wifi configs first.

Bug: 29208062
Change-Id: I2d9d1ea7e0974701009bfa6ea162b8bc80806639
2016-07-25 15:35:08 +01:00
Svetoslav Ganov
b06766f129 Add Bluetooth toggle prompts - settings
If permission review is enabled toggling bluetoth on or off
results in a user prompt to collect consent. This applies
only to legacy apps, i.e. ones that don't support runtime
permissions as they target SDK 22.

bug:28715749

Change-Id: I5ae0c532c92b2c05a91f0d769ca6744002747fca
2016-07-22 20:08:44 -07:00
Justin Klaassen
788dbf7dd2 Add NightDisplaySettingsActivity am: eae3d9f932
am: 478dec45ce

Change-Id: Iea276484fd48b3a71fda30eae1cf153c3999a85a
2016-07-22 22:15:47 +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
Daniel Nishi
4a184d4360 Add a dropdown for changing the days of retained downloads.
Bug: 30304998
Change-Id: I3113d58313a4badff55f79988abd7612d3bb4da5
2016-07-22 14:02:52 -07:00
Fan Zhang
3f86f04796 Don\\'t allow changing data usage setting if uid is not app. am: 2a84bbcddb
am: 2bf9591d92

Change-Id: I6be689791541d34b426cae577418a3daddf92280
2016-07-22 20:13:43 +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
Yoshinori Hirano
2ce843b00e Show summary of "Add user" item
The summary of "Add user" item is not displayed.
To show it, useAdminDisabledSummary should be false.

Bug: 30005296
Change-Id: Ia33cab4d671f42bd971acbf5523da1c4d21948e1
2016-07-22 20:09:28 +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
4a6f8b967a Check for null activity before getting dashboard categories. am: b7e650c6f7
am: 4ec4b64b9d

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

Change-Id: Ib8856e87d08d58c43cbeb6da73ea2c2bc9418247
2016-07-22 01:47:11 +00: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
c74d8368e7 Merge \\"Get gestures animation preview image in async loader.\\" into nyc-mr1-dev am: fd922cabd9
am: 8668aa0a8f

Change-Id: I01680b9241312c22ecf7539d6abc73a90e4228eb
2016-07-21 02:49:41 +00:00