127424 Commits

Author SHA1 Message Date
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
Jae Seo
3957091ba8 Initial round of Television Input Framework
This provides APIs to control and create individual television inputs on
the system which will later be hosted by television applications.

Change-Id: I6866d28e78175a1bff2c32a85c5d77e94d0cd60c
2014-04-08 13:35:21 -07:00
Fabrice Di Meglio
53c2cf799f Add support for saving and using the Preference's key value
- make public and hide the PreferenceGroupAdapter class
- add setActivated(int position) to be able to set the activated item
- udpate getView(int position, View convertView, ViewGroup parent) to set/unset
the activated item

Change-Id: I8a653ad6541bb6b7a043ba7c3d95e5ecad924a0d
2014-04-08 13:22:07 -07:00
Fabrice Di Meglio
19de4ffff3 Merge "Add support for key value for SearchIndexableData" 2014-04-08 20:11:27 +00:00
Ying Wang
30f05c29c5 Merge "Fix sdk build." 2014-04-08 19:16:46 +00:00
Ying Wang
ff0bb30752 Fix sdk build.
Change-Id: I3e620315e082b46ba5fcd4511b9c258bf610ddf5
2014-04-08 12:14:50 -07:00
Kenny Guy
cfd3cd6df3 Merge "Pipe notifications from related users to listeners." 2014-04-08 17:59:27 +00:00
Amith Yamasani
4f58263d02 Launcher APIs and broadcasts for managed profiles
UserManager
- Corp badging
- Querying list of managed profiles

Launcher API
- LauncherApps and Service to proxy changes in managed profile
  to the launcher in the primary profile
- Querying and launching launchable apps across profiles

Change-Id: Id8f7b4201afdfb5f414d04156d7b81300119289e
2014-04-08 10:51:05 -07:00
Ying Wang
777a8e0aec Expose APIs used to be hidden due to Doclava bug.
If a class inherits public fields from a hidden interface, they should
be exposed as APIs. A good example is the dozens of constants
java.util.zip.ZipFile inherits form java.util.zip.ZipConstants.

Bug: 13721174
Change-Id: I83cf13c174edf4422bc8ab2be275a47b214e1fa9
2014-04-08 10:39:55 -07:00
Kenny Guy
a263e4e438 Pipe notifications from related users to listeners.
For Listeners built against L or greater
Send notifications from related users to listeners.
Return notifications from related users getAllActiveNotifications
Cancel notifications from related users in cancelAllNotifications
Deprecate StatusBarNotification.getUserId() and expose getUser()
as APIs should use UserHandles.
Deprecate cancelNotification that takes package, id and tag
in favour of one that takes key.

Fix bug that notifications from related users didn't
trigger sounds.

Change-Id: I1b1c20c9f305b8f3c4047bc5720d8e99cdedfe70
2014-04-08 18:38:38 +01:00
Adam Hampson
1bcdaa88b2 am 668b1bf8: resolved conflicts for merge of bd6c5577 to klp-modular-dev-plus-aosp
* commit '668b1bf80b0e34e7079f826cd9e7358835a1e9cd':
  DO NOT MERGE Remove java.io.tmpdir assignment in AndroidRuntime.
2014-04-08 17:38:35 +00:00
Adam Hampson
668b1bf80b resolved conflicts for merge of bd6c5577 to klp-modular-dev-plus-aosp
Change-Id: I993d4baf89b3f414ac3ad313c74afe340c11f28f
2014-04-08 10:24:47 -07:00
Adam Hampson
bd6c5577ab Merge "DO NOT MERGE Remove java.io.tmpdir assignment in AndroidRuntime." into klp-modular-dev 2014-04-08 15:51:23 +00:00
Narayan Kamath
f626ca2c96 Don't allow MemoryFiles of negative length.
Prevents us from converting a (signed) jint into an
(unsigned) size_t and having horrible things happen.

Change-Id: I0f04e2eb9852ae7fc49b435fd0974f56e86751a4
2014-04-08 16:14:10 +01:00
Leon Scroggins III
560d1d9cb2 Merge "Remove SkFloatToScalar." 2014-04-08 14:39:49 +00:00
Yohei Yukawa
59fee2d553 Merge "Allow IMEs to start/stop receiving onUpdateCursor callback" 2014-04-08 05:48:45 +00:00
John Reck
1f3f55b434 Merge "Enable RT, round 2" 2014-04-08 02:50:22 +00:00
John Reck
ed8c903a6c Enable RT, round 2
Change-Id: I8035f477f67ede9a5cd1b4de4498bc7850c7fbf3
2014-04-07 19:38:59 -07:00
Baligh Uddin
086ed8f055 am 56868fbc: (-s ours) am 0cf836a7: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-modular-dev
* commit '56868fbcd9b086219c4350ac34b5dfdde127c5b9':
  Import translations. DO NOT MERGE
2014-04-08 02:24:11 +00:00
Baligh Uddin
56868fbcd9 am 0cf836a7: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-modular-dev
* commit '0cf836a77821afe8ff6cdfdaa3b55987cb6317da':
  Import translations. DO NOT MERGE
2014-04-08 02:20:37 +00:00
Baligh Uddin
ff17bc9cac Merge "Import translations. DO NOT MERGE" 2014-04-08 02:16:43 +00:00
Baligh Uddin
0cf836a778 Merge "Import translations. DO NOT MERGE" into klp-modular-dev 2014-04-08 02:16:36 +00:00
Baligh Uddin
d0ce581e61 Merge "Import translations. DO NOT MERGE" 2014-04-08 02:16:33 +00:00
Alan Viverette
a75ee14e67 Update APIs to fix build
Change-Id: Id3c0401a60ff35cd9a07ecb46fb377a00829cf90
2014-04-07 18:59:51 -07:00