231516 Commits

Author SHA1 Message Date
Matt Sarett
fc1159c808 Merge "Encode paletted PNGs more efficiently" 2016-01-29 22:57:12 +00:00
Matt Sarett
3c7235d386 Encode paletted PNGs more efficiently
Saves about 2 MB of encoded size across affected assets.

Also will enable more efficient decoding.

Specifically, encoded palette values are assumed to be opaque unless
alpha values are provided in a tRNS chunk.  Before this change, we
would wastefully store many opaque alpha values in tRNS chunk.
Additionally, the decoder used to need to premultiply all of these
opaque colors, because the encoded data indicated that they had alpha.

Change-Id: I1d5400f71a0e3cb800fd0fc68a04c8c4069da8ef
2016-01-29 22:56:45 +00:00
John Reck
f2a4f9af97 Merge "Fix copyLayerInto" 2016-01-29 22:54:54 +00:00
John Reck
0b8d0677be Fix copyLayerInto
Bug: 26763945
Change-Id: I21ffbd56cf70bad0928416963e6fc254be435af9
2016-01-29 14:53:45 -08:00
Jean-Michel Trivi
5bf536cf78 Merge "Fix dynamic audio policy rules" 2016-01-29 22:52:28 +00:00
Adam Powell
cb95ae2ada Clear/restore calling identity for ChooserTargetService
Bug 26604668

Change-Id: I60a8be72bf43cec802697af3b06579453af2d5dc
2016-01-29 14:51:02 -08:00
Felipe Leme
f43ec7e504 Merge "Fixed check for empty title." 2016-01-29 22:33:22 +00:00
Fyodor Kupolov
a31c591f25 Purge all state for a removed user
Bug: 26687570
Change-Id: Icd516a871c274ce8986129654081b6dec3850856
2016-01-29 22:21:43 +00:00
Dianne Hackborn
311cbe1b83 Merge "Some small binder shell command improvements." 2016-01-29 22:20:39 +00:00
Shreyas Basarge
8c834c0767 SyncManager on JobScheduler
SyncManager now uses JobScheduler for scheduling
and persistence purposes.

Change-Id: I38c92aedbf4d891ca297644d0b706835aaedfcd6
2016-01-29 22:15:15 +00:00
Chris Tate
4fff321f9f Merge "Stage backup/restore data in a cache subdir rather than root" 2016-01-29 22:09:04 +00:00
Felipe Leme
c8e2b6092c Fixed check for empty title.
Otherwise, if user entered "Details" but not "Summary", the
ACTION_SEND_MULTIPLE subject would be empty.

BUG: 26768595
Change-Id: I955ab5e8f05eba9fbfa6fe65eabb6a8a8e28c5b4
2016-01-29 14:05:31 -08:00
Jean-Michel Trivi
32696d49e1 Fix dynamic audio policy rules
Always set the mix type when adding rules, even
 when adding from a parcel.

Bug 26798796

Change-Id: Ib10bfa9b9b7753b18d9b1b5a67e82677dcac2cbe
2016-01-29 13:50:20 -08:00
Sergey Poromov
86cfe51863 Merge "Fix BackupManager to really send MSG_RESULT when onResult is called." 2016-01-29 21:49:22 +00:00
Alan Viverette
04415b4765 Merge "Add DENSITY_DEVICE_STABLE constant" 2016-01-29 21:41:38 +00:00
Chien-Yu Chen
d7085a40bd Merge "Correct cameraserver UID" 2016-01-29 21:39:51 +00:00
Felipe Leme
afd0936a97 Merge "Added entries to zip file before sending the share notification." 2016-01-29 21:33:23 +00:00
Selim Cinek
33f266201c Merge "Fixed a bug where the notification became clearable" 2016-01-29 21:22:00 +00:00
Wale Ogunwale
76d159fdcb Merge changes I96fdf9b4,Ia85d9d89,I1fd23114
* changes:
  Added isDockable field to RunningTaskInfo
  Display warning toast when we try to launch unresizeable app in split-screen
  Don't allow non-dockable activities/tasks in docked stack.
2016-01-29 21:14:17 +00:00
Adrian Roos
7134cce644 Follow up to improved ANR dialog
Original CL Ie1f0ca54216f123ae26df51d42f88b0fa2d65941

Bug: 22692162
Change-Id: I7fd849fee4d2e6252bfb839b2da052ccc0d6b2d6
2016-01-29 13:01:05 -08:00
Philip P. Moltmann
2090ec472b Merge "Size recyclerview correctly." 2016-01-29 20:57:43 +00:00
Adrian Roos
edfa96fb14 Fix broken animation with FLAG_DISMISS_KEYGUARD
Bug: 26863727
Change-Id: I054a63d1d156ae6b3617bd799789b4c4de91d6e5
2016-01-29 20:54:40 +00:00
Adrian Roos
a85a2c63f1 Improve ANR dialog
Bug: 22692162
Change-Id: Ie1f0ca54216f123ae26df51d42f88b0fa2d65941
2016-01-29 20:53:08 +00:00
Wale Ogunwale
21b6058fff Added isDockable field to RunningTaskInfo
Allows the caller to know if the task can go in the docked stack.

Bug: 26774816
Change-Id: I96fdf9b4df0ac87d84492e1504baac3ca0767d37
2016-01-29 12:52:14 -08:00
Christopher Tate
e5f51c212c Stage backup/restore data in a cache subdir rather than root
Also make sure not to do the restorecon() before the file is
created.

(Also fix binder identity bug in the 'bmgr fullbackup' flow.)

Bug 26834865

Change-Id: Ia8a59eeb55762264163c8b310caae5e303413571
2016-01-29 12:47:45 -08:00
Wale Ogunwale
b9b16a74e5 Display warning toast when we try to launch unresizeable app in split-screen
Bug: 26774816
Change-Id: Ia85d9d89758041661391018f04feb6f8db4e56d9
2016-01-29 12:45:30 -08:00
Adam Lesinski
9fa3cd3d86 Merge "BatteryStats: Fix DivideByZero error" 2016-01-29 20:42:42 +00:00
Adam Lesinski
a426817a06 BatteryStats: Fix DivideByZero error
As we hand out proportional blame to apps for transmitting/receiving
packets, make sure to check that the total packets sent never
becomes zero.
Bug:26873610

Change-Id: I3e0fc3c9e8d4dafce2e88c75d8f44701d8fba0d4
2016-01-29 12:41:27 -08:00
Alan Viverette
d7bbc8a92f Add DENSITY_DEVICE_STABLE constant
The existing DENSITY_DEVICE gets updated by ActivityThread following
configuration changes that affect density, so just a docs update there.

Bug: 26854123
Change-Id: I69dfca99a6038ed9cf8b2f2c007cdbc4a399dd8a
2016-01-29 15:40:38 -05:00
Wale Ogunwale
513346d8f5 Don't allow non-dockable activities/tasks in docked stack.
Prevent activities and tasks that are not resizeable and don't
support crop windows resize mode from going into the docked stack.

Bug: 26774816
Change-Id: I1fd23114685be15908e80e8bc5a0216d8bfd049e
2016-01-29 12:37:47 -08:00
Andreas Gampe
1990221c93 Merge "PackageManagerService: Add more ABI adjustment logging" 2016-01-29 20:31:07 +00:00
Felipe Leme
18b5892950 Added entries to zip file before sending the share notification.
BUG: 26616935
Change-Id: I072d57456b2090c7c5e75eea7834d3cdce44ed4a
2016-01-29 12:29:21 -08:00
Winson Chung
11f17cad62 Merge "Fixing some drag and drop issues." 2016-01-29 20:22:20 +00:00
Winson
d952961977 Fixing some drag and drop issues.
- When opening recents while there is a task docked, initialize the
  stack scroll to the front of the stack
- When undocking a task while recents is open, scroll to the front of
  the stack
- Fixing offset when adjusting the task stack size due to top inset 
  being double applied in some dock states
- Fixing issue with task view not scaling when picking up from the 
  freeform workspace

Change-Id: I15436ac21f05ff521492d8ae1c682a414503101a
2016-01-29 12:21:58 -08:00
Wale Ogunwale
2e4089478f Merge "Use resizeMode integer instead of resizeable boolean." 2016-01-29 20:12:14 +00:00
Ben Kwa
4b1b3e98e0 Merge "Add logging for MTP roots." 2016-01-29 20:12:08 +00:00
Ben Kwa
da518c9e61 Add logging for MTP roots.
BUG=26737132

Change-Id: I09d7f644edd775ce54a06dbed9f4b716eeb662d3
2016-01-29 12:11:01 -08:00
Jason Monk
bd8a4b03ce Check QS window token types
Change-Id: Id72193b680a9a1bf2a353ed8f902057ace3dde20
2016-01-29 20:10:02 +00:00
Chien-Yu Chen
b8b4e85879 Correct cameraserver UID
Bug: 24511454
Change-Id: I967c50c781d03754a093bae6a64b2e35a023f046
2016-01-29 12:03:04 -08:00
Ben Kwa
9445345ea1 Merge "Add metrics logging for file operations." 2016-01-29 19:57:12 +00:00
Adrian Roos
2307b730a7 Merge "Add lockscreen wallpaper support to SystemUI" 2016-01-29 19:24:40 +00:00
Adrian Roos
52738328bd Add lockscreen wallpaper support to SystemUI
Bug: 25454162
Change-Id: I38b71ac2efc2a9608ae4e41173b64eca817cd4ea
2016-01-29 19:24:08 +00:00
Steve McKay
957c742f1f Merge "Clear selection after copy and when back is pressed." 2016-01-29 19:21:24 +00:00
Tony Mantler
9a115b274c Merge "Make AppRestrictionsHelper leanback-aware" 2016-01-29 19:20:33 +00:00
Makoto Onuki
f3bc593a62 Merge "Throw for unknown user restrictions." 2016-01-29 19:19:40 +00:00
Winson Chung
fed279907d Merge "Referencing static interpolators. " 2016-01-29 19:19:31 +00:00
Makoto Onuki
3861bf7e73 Throw for unknown user restrictions.
Bug 23902097

Change-Id: I78a4b09db880134577d690be0c50ee9a64e6a309
2016-01-29 11:17:57 -08:00
Winson
c0d7058b14 Referencing static interpolators.
Change-Id: I5d2292016e869ed533f5873e373a1eccce651fc5
2016-01-29 11:15:43 -08:00
Jeff Davidson
3c2feda8a5 Merge "Revert Network Stats API stub for tracking of metered networks." 2016-01-29 19:08:52 +00:00
Dongwon Kang
f14a39398f Merge "TIF: Make RecordingCallback static" 2016-01-29 18:53:24 +00:00