Commit Graph

230040 Commits

Author SHA1 Message Date
Filip Gruszczynski
ddd1bc7e46 Merge "Enable enter animation when docking by dragging from recents." 2016-01-19 20:30:35 +00:00
Calin Juravle
7bdf3cff92 Merge "Enable profile guided compilation on the framework side" 2016-01-19 19:51:51 +00:00
Gustav Sennton
4752ab714d Merge "Change API for killing app-depentents to also kill main app." 2016-01-19 19:48:29 +00:00
Adam Lesinski
0c4217b527 Merge "Fix local builds by adding CleanSpec command" 2016-01-19 19:45:29 +00:00
Calin Juravle
db4a79a5d7 Enable profile guided compilation on the framework side
The background compilation service will trigger a profile based
compilation instead of a full one. If no profile information is
available the compilation is skipped (see installd).

Note that the end decision whether or not to compile a package is taken
by dext2oat. We can't make the decision here because this service runs
under system server which cannot read app's profile data.

Bug: 26080105
Change-Id: I457ea8dea0557839c1f7cdc241770055732b0a4a
2016-01-19 11:44:27 -08:00
Adam Lesinski
719e2d0637 Fix local builds by adding CleanSpec command
Changed the package name of an R.java generated file, so we need
to clean up the old one left behind from a previous build.

Change-Id: I3ece312d367a30d736084736c44238b4e52d22d7
2016-01-19 11:39:24 -08:00
Tony Mak
b73e7ccde5 Merge "Telecom shell command accepts userhandle as argument of phone account" 2016-01-19 19:32:41 +00:00
Tony Mak
6390bd8d69 Telecom shell command accepts userhandle as argument of phone account
We need a sort of way to enable phone account in managed profile for
writing cts running in managed profile.

Change-Id: I2e869e792c6e145c93a314f64a5de98e2f6e315f
2016-01-19 19:32:18 +00:00
Felipe Leme
2ab08ed2cc Merge "Skip zip regeneration when user didn't provide extra info." 2016-01-19 19:26:59 +00:00
Xiaohui Chen
78571980fa Merge "sysui: small refactor and delete dead code" 2016-01-19 19:25:53 +00:00
Jason Monk
34ac1d6c6f Merge "Support data usage changes in Settings" 2016-01-19 19:03:19 +00:00
Etan Cohen
e645f5691b Merge "WLAN wake reason accounting from driver." 2016-01-19 18:48:14 +00:00
Jean-Michel Trivi
11ca2874d2 Merge "Fix AudioAttributes.Builder.setFlags() javadoc" 2016-01-19 18:46:09 +00:00
Xiaohui Chen
109423039d sysui: small refactor and delete dead code
Bug: 26068752
Change-Id: I1af018ff9b74779ea663fc9e90b47a8fad70447e
2016-01-19 10:43:26 -08:00
John Reck
465eefb9f3 Merge "fix race condition between HWUI cache and renderThread" am: 2c2b5e8514
am: 4354ae9883

* commit '4354ae9883ae1282ac457539f46d529bdfa89fec':
  fix race condition between HWUI cache and renderThread
2016-01-19 18:42:21 +00:00
Felipe Leme
b9d598c47b Skip zip regeneration when user didn't provide extra info.
If the user provides a title or description, it's necessary to create a
new zip file with the contents of the old file plus the new entries,
which takes time.

Hence, if the user didn't provide more info (title or description), we
should skip that step.

BUG: 26616935
Change-Id: Ice14f88b5763d463d8db2f942e823797e80bfde9
2016-01-19 10:42:17 -08:00
John Reck
4354ae9883 Merge "fix race condition between HWUI cache and renderThread"
am: 2c2b5e8514

* commit '2c2b5e8514247d8524778d209f26b7dbde19d142':
  fix race condition between HWUI cache and renderThread
2016-01-19 18:38:11 +00:00
John Reck
2c2b5e8514 Merge "fix race condition between HWUI cache and renderThread" 2016-01-19 18:29:30 +00:00
Jason Monk
9e5341f4fe Tuner control over volume policy.
Change-Id: Ic96ad05a9aab6fc2a1669cfe5f1ba1f3779e1b5e
2016-01-19 18:22:33 +00:00
Jason Monk
6e580aef16 Merge "Add zen panel to volume dialog again in tuner" 2016-01-19 18:22:13 +00:00
John Reck
411e2ee4d9 Merge "Revert "Switch to new rendering pipeline"" 2016-01-19 17:48:22 +00:00
Clara Bayarri
f3c5834c42 Merge "Work Challenge unlock to home instead of locked app" 2016-01-19 17:47:40 +00:00
Clara Bayarri
f0649ceb80 Work Challenge unlock to home instead of locked app
When a Work Challenge is in place and we are unlocking the device
to a foreground work app that should be locked, take the user to the
home screen instead to avoid them seeing two lock screens in a row.

Bug: 26579952
Change-Id: I6220aac730fbb1da3c3042d0f232cb9cbb18ec4b
2016-01-19 17:47:03 +00:00
John Reck
1b94f9b77c Revert "Switch to new rendering pipeline"
This reverts commit 3daf4d3272.

Temporarily disable due to high rate of crashes from endLayer check

Bug: 26609444
Change-Id: I7583a77bf5cc1e722fa4042db0542f80cd978760
2016-01-19 09:44:39 -08:00
Chet Haase
2b87fe0e09 Merge "Add AutoCancelTest back to framework tests" 2016-01-19 17:33:14 +00:00
Jonathan Basseri
663d09ab42 Merge "Un-hide carrier config keys." 2016-01-19 17:09:50 +00:00
Akshay Kannan
e1bb8f5b51 Merge "Flip EMERGENCY_ASSISTANCE_ENABLED to true Bug: 23591361" 2016-01-19 17:08:50 +00:00
Chet Haase
7d97a72da2 Add AutoCancelTest back to framework tests
This test used to fail consistently, but currently passes.
Adding it back to see whether whatever was causing it to fail has
since been fixed. If not, need to get failure logs to see what the problem
is during the automatic runs.

Issue #23807249 Fix AutoCancelTest or delete it

Change-Id: Ied0e0d3a700d9ba36d4d5ef8ca95b8072e639851
2016-01-19 08:54:37 -08:00
Robin Lee
a75d7008d1 Merge "[VPN] start lockdown before user is unlocked" 2016-01-19 16:51:56 +00:00
Robin Lee
9a5f48535d [VPN] start lockdown before user is unlocked
Removed the dependency on KeyStore encryption by removing that flag for
VPN profiles which don't use secure credentials when saving in Settings.

Old encrypted profiles will simply fail to load untile USER_PRESENT is
sent, as before.

Bug: 26108660
Change-Id: I2677d741d54252f15cb772c94ce1b39041f1e19c
2016-01-19 16:40:20 +00:00
Diego Perez
82b425f853 Fix bug in PropertyValuesHolder_Delegate method index am: ada8c117b1
am: 0eac32be0b

* commit '0eac32be0b7804184ad5e61af87f79d45b82c6b2':
  Fix bug in PropertyValuesHolder_Delegate method index
2016-01-19 15:53:12 +00:00
Diego Perez
0eac32be0b Fix bug in PropertyValuesHolder_Delegate method index
am: ada8c117b1

* commit 'ada8c117b197dd61bd472399147dd18ff337a204':
  Fix bug in PropertyValuesHolder_Delegate method index
2016-01-19 15:49:16 +00:00
John Reck
7d569db936 Merge "Hard-abort tests if LOG_ALWAYS_FATAL" 2016-01-19 15:38:16 +00:00
Martijn Coenen
6f9595382c Merge "NFC: Allow apps to specify they're done with tag." 2016-01-19 15:32:36 +00:00
Jason Monk
e138f55512 Add zen panel to volume dialog again in tuner
Change-Id: Ie74a6bd8ecd7f2d8b16e96cc0087e63796d5f9a2
2016-01-19 15:30:07 +00:00
Rubin Xu
058576f13e Merge "Reload active profiles when constructing WorkModeTile" 2016-01-19 14:24:45 +00:00
Shreyas Basarge
3dbb412c94 Merge "Fix for possible NPE in JobScheduler" 2016-01-19 11:46:37 +00:00
Diego Perez
ada8c117b1 Fix bug in PropertyValuesHolder_Delegate method index
The method index in PropertyValuesHolder was using only the method name
+ the number of parameters in the call to index the different properties
methods. This worked ok most of the time because, for a given method
name (let's say setTrimStartOffset), the class is usually the same.
However, if the same method name is used in multiple classes, this will
cause collisions and will most likely crash.

Change-Id: Ie6fa8872c5c5e69e690f4f1bb79191a31bef2a28
2016-01-19 10:42:19 +00:00
Diego Perez
365bd8f9b1 New path interpolation to paint vector drawables am: b9c48d8f49
am: 6952063e71

* commit '6952063e7166599f5300427019ca845bbaafa660':
  New path interpolation to paint vector drawables
2016-01-19 10:39:46 +00:00
Diego Perez
6952063e71 New path interpolation to paint vector drawables
am: b9c48d8f49

* commit 'b9c48d8f49d35e2682c7205a9d8d5fcc25d7c736':
  New path interpolation to paint vector drawables
2016-01-19 10:35:49 +00:00
Diego Perez
b9c48d8f49 New path interpolation to paint vector drawables
Before this CL, PathMeasure_Delegate would use Path_Delegate.approximate
to get a path segment to draw. Path_Delegate.approximate uses a
flattening iterator to do the path approximation.
Unfortunately, because we do not control the stroke mode while painting,
in some cases the approximation would draw unwanted artifacts caused by
the rough approximation and the use of wrong miter values.
This CL does a much better calculation of the path and interpolates the
segments of the curves instead of replacing them with line segments.

This also fixes an issue with the calculation of empty paths.

Bug: http://b.android.com/187256

Change-Id: I450f7aa4c3d9efcbf902a40c3b4d6d388546893f
2016-01-19 10:14:46 +00:00
Thomas Buhot
c0a0e1a66d fix race condition between HWUI cache and renderThread
getMaximumBitmapWidth() and getMaximumBitmapHeight() of DisplayListCanvas
need HWUI cache instance. Since the initialization of the cache is
asynchronous it may crash if not yet ready. Add a staticFence() call
to guarantee the cache has been created prior issuing the call.

Change-Id: I5ed9e5cc084444c8d1872a77fef50e294ae14e93
Signed-off-by: Thomas Buhot <thomas.buhot@intel.com>
Signed-off-by: Zhiquan Liu <zhiquan.liu@intel.com>
2016-01-19 15:00:42 +08:00
Filip Gruszczynski
a0b16caf88 Merge "Fix several small logging issues." 2016-01-19 04:18:59 +00:00
Daichi Hirono
4ba6303a80 Merge "Start to use app fuse in MtpDocumentsProvider." 2016-01-19 03:24:00 +00:00
Filip Gruszczynski
d3d9ddfa72 Merge "Temporary logging to debug ActivityStarter crash." 2016-01-19 02:31:18 +00:00
Filip Gruszczynski
6cf93664f6 Merge "Fix NPE when checking if recents should be launched in docked mode." 2016-01-19 02:29:17 +00:00
Daichi Hirono
f52ef008c7 Start to use app fuse in MtpDocumentsProvider.
BUG=25756419

Change-Id: I050e7cf7523926710291875737602e95c47be088
2016-01-19 11:20:59 +09:00
Jaesung Chung
90131a9189 Merge "Extend MediaScanner and MtpDatabase to support RAW image files" 2016-01-19 01:17:18 +00:00
Daichi Hirono
35fb36b222 Merge "Clean MtpManagerTest code." 2016-01-19 00:48:28 +00:00
Jaesung Chung
5a8b9627c7 Extend MediaScanner and MtpDatabase to support RAW image files
Bug: 25871812
Change-Id: Iee92632585dc9020238a9b562defd06d6d2a91dc
2016-01-19 09:43:35 +09:00