127604 Commits

Author SHA1 Message Date
Narayan Kamath
22ec1eefa4 Clean up argc / argv processing for runtime args.
- Make copies of argc, argv before argv is potentially
  overwritten with the process name.
- Allow multiple command line arguments to be passed to
  ZygoteInit (this is required for some of the 64 bit
  zygote work).
- Add an explanatory comment about how these argments
  are processed.

Change-Id: I752be69c5c0f97ed17d1a3dded19f46ee00929b0
2014-04-09 13:39:41 +01:00
Narayan Kamath
33ea32fd4e am dc7eb9c9: am 00cfbe82: am a5608acb: Merge "Don\'t allow MemoryFiles of negative length."
* commit 'dc7eb9c947f36cbd34021663845bcbb090c3169d':
  Don't allow MemoryFiles of negative length.
2014-04-09 12:20:01 +00:00
Kenny Guy
9d43dc5e4e Merge "Finish rename of related users to profiles." 2014-04-09 11:42:40 +00:00
Narayan Kamath
dc7eb9c947 am 00cfbe82: am a5608acb: Merge "Don\'t allow MemoryFiles of negative length."
* commit '00cfbe82fa80ef57f3b1c34e47836d3e28c381b8':
  Don't allow MemoryFiles of negative length.
2014-04-09 11:33:20 +00:00
Yohann Roussel
900224afc2 Merge "A stress test for concurent multidex extraction." 2014-04-09 09:49:58 +00:00
Jeff Brown
50807c178f am 7f9599d6: (-s ours) am ea72cdf2: Merge "Move display power controller to display manager service. (DO NOT MERGE)" into klp-modular-dev
* commit '7f9599d63c892934c7f8a2e46d1e518ddb0d43df':
  Move display power controller to display manager service. (DO NOT MERGE)
2014-04-09 09:17:10 +00:00
Sander Alewijnse
c03dea7630 Merge "Changed tag name and error strings for PersistentPreferredActivity storage." 2014-04-09 09:14:50 +00:00
Jeff Brown
7f9599d63c am ea72cdf2: Merge "Move display power controller to display manager service. (DO NOT MERGE)" into klp-modular-dev
* commit 'ea72cdf22f8efde4d3b872a60587e4b26bc93e43':
  Move display power controller to display manager service. (DO NOT MERGE)
2014-04-09 09:12:40 +00:00
Narayan Kamath
00cfbe82fa am a5608acb: Merge "Don\'t allow MemoryFiles of negative length."
* commit 'a5608acbd7647e0fd9aa87e5319715b0cbd6b0c0':
  Don't allow MemoryFiles of negative length.
2014-04-09 09:09:58 +00:00
Narayan Kamath
a5608acbd7 Merge "Don't allow MemoryFiles of negative length." 2014-04-09 09:07:29 +00:00
Jeff Brown
7289f3ab8f Merge "Move certain internal activity manager methods to new class." into klp-modular-dev 2014-04-09 04:36:51 +00:00
Jeff Brown
1b03d16011 Merge "Move display power controller to display manager service." 2014-04-09 04:36:22 +00:00
Jeff Brown
131206b8a9 Move display power controller to display manager service.
This refactoring is in preparation for enabling the display manager
to have more control over the blanking state of individual displays.
There are no functional changes.  Some bits will be cleaned up in
a subsequent patch.

Bug: 13133142
Change-Id: I159a060088344d8e6fcdf9208a1f242960f7ab90
2014-04-08 21:34:32 -07:00
Jeff Brown
ea72cdf22f Merge "Move display power controller to display manager service. (DO NOT MERGE)" into klp-modular-dev 2014-04-09 04:33:27 +00:00
Jeff Brown
13014b5fe5 Move certain internal activity manager methods to new class.
This is a little bit of refactoring in preparation for changing how
the power manager notifies system components about changes in power
state.

Deleted the startRunning method since it is no longer useful.

Bug: 13133142
Change-Id: I7f845c61ecc7ee890154ed0cbd90795de609b7ea
2014-04-08 20:51:07 -07:00
Jeff Brown
ad9ef191f5 Move display power controller to display manager service. (DO NOT MERGE)
This refactoring is in preparation for enabling the display manager
to have more control over the blanking state of individual displays.
There are no functional changes.  Some bits will be cleaned up in
a subsequent patch.

Bug: 13133142
Change-Id: Ib811835e8757449c7899ac61807029baaf998161
2014-04-08 20:41:46 -07:00
Tor Norbye
37eaebe7f2 Merge "Add resource reference annotations" 2014-04-09 01:37:43 +00:00
Chris Craik
defb7f37fe When recording a child node into a parent, read staging projection property
bug:13770920

The other properties should not be read from the UI thread.

Change-Id: I61d13774553d46a8963623727d8e8eeeb3385cc9
2014-04-08 18:17:07 -07:00
Zhijun He
d178496b7e Camera2: Make colorFilterArrangement public
It will be used by DNG

Also fix a typo in spec.

Change-Id: I8427df6b28149c0f8ced27b110efe96dd38357f4
2014-04-09 00:50:00 +00:00
Dave Platt
8e5df442cd Merge "NsdService does not clean up after exiting clients" 2014-04-08 17:35:57 -07:00
Amith Yamasani
cc4e9e69d2 Merge "Avoid security exception when requesting badging" 2014-04-09 00:26:18 +00:00
Amith Yamasani
5abdbb6560 Avoid security exception when requesting badging
When requesting badged icons, use APIs that don't require the caller
to have MANAGE_USERS permission.

Change-Id: I218cdf5194f38f4affa1874a6fcb43a040ed5295
2014-04-08 17:23:46 -07:00
Alan Viverette
91c8f753ab Merge "Theming for more VectorDrawable attrs, add attrs to test app" 2014-04-09 00:16:56 +00:00
Christopher Tate
f208fd46c5 Merge "Don't crash on null installer package bookkeeping." 2014-04-09 00:14:43 +00:00
Alan Viverette
7f1ab7a43f Theming for more VectorDrawable attrs, add attrs to test app
BUG: 13878079
Change-Id: Ibcc8d67446c44cd8f681230fc484c7dc7411ffab
2014-04-08 17:12:43 -07:00
Christopher Tate
d4659698fe Don't crash on null installer package bookkeeping.
Bug 13906859

Change-Id: I926ccc5620abae8b97bd2b7de21b82b7729e78dd
2014-04-08 17:10:54 -07:00
Zhijun He
2d603b07d4 Merge "ImageReader: Fix raw buffer size calculation issue" 2014-04-09 00:10:00 +00:00
Zhijun He
977ad8d26e ImageReader: Fix raw buffer size calculation issue
Stride should be used to calculate the size rather than width.

Change-Id: I01051fdf4dd2978d56b9998d8bcd542c50458f56
2014-04-08 16:59:29 -07:00
Alan Viverette
2989c2cb5c Merge "Make Drawable hotspot APIs public" 2014-04-08 23:38:23 +00:00
Deepanshu Gupta
733217e676 Merge "Update layoutlib create README" 2014-04-08 23:37:34 +00:00
Alan Viverette
860126b78a Make Drawable hotspot APIs public
Change-Id: I8377ed735f73f7083636947aa08a5427f1dc3bf6
2014-04-08 16:37:19 -07:00
Jean-Michel Trivi
b416838051 Audio focus doesn't affect RemoteController
The top of the stack of PlayerRecord instances is the "promoted"
 instance whose RemoteControlClient information is available
 to RemoteController objects, only when it also has audio focus.

This change removes the condition on audio focus ownership:
- whenever the player record stack ordering changes, no need to
  check if it also has audio focus
- since the player record and audio focus stacks operate separately,
  there is no need to synchronize access to both stacks.

Change-Id: I668f2aa2950f19f8c2a30bc59c7352246edcc56e
2014-04-08 16:35:54 -07:00
Deepanshu Gupta
88585f404c Update layoutlib create README
Update the doc to reflect the current state of the tool and use a
consistent 100 char column limit.

Change-Id: I64fb58cc46abbc2f3759cb1f99d42b5090c1409f
2014-04-08 16:30:45 -07:00
Mark Salyzyn
b519aeca47 jni: liblog reading error API incorrect
- return value contains -errno on error.

Bug: 13907124
Change-Id: I91f12db5749fac2ae8ed5b0f033d4eaf83e666f5
2014-04-08 16:17:51 -07:00
Jae Seo
121db9e852 Merge "Unhide TvInputSession" 2014-04-08 23:00:51 +00:00
Deepanshu Gupta
6e5e160f19 Merge "Make layoutlib load on Java 7 VM" 2014-04-08 22:47:45 +00:00
Jae Seo
4aef7a5699 Unhide TvInputSession
This is necessary for the SDK build.

Change-Id: I64fb6b7e6cc3147edbfff0c34cd6af7f45a82364
2014-04-08 22:42:13 +00:00
Alan Viverette
18c7f559a0 Merge "Make toggle slider use default assets" 2014-04-08 22:29:37 +00:00
Alan Viverette
f6a679870f Make toggle slider use default assets
BUG: 13817697
Change-Id: Ibae671a35b55a195b40d8c943f45685fb7b3ac4f
2014-04-08 15:27:24 -07:00
John Reck
4f009658f5 Merge "Ensure there's a GL context before creating a Layer" 2014-04-08 22:23:13 +00:00
Christoph Studer
068f5929d1 Fix memory leak in NotificationStackScrollLayout
Bug: 13899792
Change-Id: I87d6c5e1f0f5052d45203df51284d828823dfd88
2014-04-08 22:19:25 +00:00
John Reck
1949e7928e Ensure there's a GL context before creating a Layer
Bug: 13745587

Change-Id: Ib0ec059d9a5974a48734daeec9d83580cada94a3
2014-04-08 15:18:56 -07:00
Alan Viverette
821129f228 Merge "Fix action bar theming" 2014-04-08 22:10:53 +00:00
Deepanshu Gupta
6a08225cee Make layoutlib load on Java 7 VM
Prevent Java 7 VM from verifying the StackMapTable for methods by lying
about the class version.

The changeset also fixes the eclipse project by using the right asm
library in the checkout.

Change-Id: Idabf165380fb75fcc2d5c8fbd72388f52887a5df
2014-04-08 15:07:49 -07:00
Amith Yamasani
5784b39843 Merge "Launcher APIs and broadcasts for managed profiles" 2014-04-08 22:04:20 +00:00
Alan Viverette
101a82d23f Fix action bar theming
Change-Id: If1a7040e4f6d2e8e1195a67a03ed0e24f31e68f4
2014-04-08 14:52:01 -07:00
John Reck
77ecf0bb96 Merge "Don't make HardwareRenderer calls in the finalizer" 2014-04-08 21:22:42 +00:00
John Reck
0ed751dd22 Don't make HardwareRenderer calls in the finalizer
Bug: 13902530
 Don't try to set the RenderNode's displayListData to 0 in the finalizer.
 The HardwareRenderer may have already been finalized and it's not valid
 to make calls into HardwareRenderer from another thread anyway.

 The fix is that now that RenderNode is a refcounted object, this step
 can be skipped entirely. The RenderNode destructor handles deleting
 its DisplayListData if it needs to.

Change-Id: Ieab75575b98c24678a531dd5aa41a2d0afde0eef
2014-04-08 14:13:31 -07:00
Alan Viverette
9e0ca634e2 Merge "Fix some vector drawable documentation, clean up fields" 2014-04-08 20:49:39 +00:00
Alan Viverette
5c981a100e Fix some vector drawable documentation, clean up fields
Change-Id: Iade0323b0ec2d3f8b609f24d89252608dfe40735
2014-04-08 13:35:49 -07:00