Christopher Tate
b048c33d5b
Don't assume that we're at start of file at ctor time
...
BackupDataReader / BackupDataWriter were implicitly assuming that when
instantiated, the underlying fd was positioned at start-of-file. If one
tried to e.g. open an existing data stream to append further data to it,
things might randomly fail (at read time, possibly when consuming the
stream later) due to incorrect alignment of the data entities: the
appending writer would assume that no padding was needed to achieve
correct alignment, and this might easily be false.
Now the underlying native reader/writer helpers recognize the true
position within the file when constructed, and as a result it's now
safe to e.g. construct a BackupDataOutput for an existing file and
then append to it.
Change-Id: If0484921e687852f923a4b4efabff573a6c16981
2014-02-21 12:58:04 -08:00
Justin Koh
0be0a5039b
am 7206ac56: am a79ac472: am 744d3473: Merge "Add hardware feature describing a watch." into klp-modular-dev
...
* commit '7206ac561291298f08809614be95963966a72ca8':
Add hardware feature describing a watch.
2014-02-20 23:01:25 +00:00
John Reck
2f2c0e75af
Merge "Fix NPE in layer destruction"
2014-02-20 21:24:29 +00:00
John Reck
6b3c4113c4
Fix NPE in layer destruction
...
Bug: 13111945
Fixes an issue where a layer is destroyed after the GLRenderer
lost its Surface. Instead just check that the context we want is
current regardless of the active surface
Change-Id: I6537e6232b5c667b218b896ed5ef390fbe956344
2014-02-20 13:18:42 -08:00
Michael Wright
40c3ddd3a2
Merge "Make deliverInputEvent tracing asynchronous"
2014-02-20 21:07:56 +00:00
Justin Koh
a79ac472d7
am 744d3473: Merge "Add hardware feature describing a watch." into klp-modular-dev
...
* commit '744d3473f8a0f9f95e3fdf83670faf6d1551839e':
Add hardware feature describing a watch.
2014-02-20 17:41:31 +00:00
Justin Koh
744d3473f8
Merge "Add hardware feature describing a watch." into klp-modular-dev
2014-02-20 17:38:03 +00:00
Narayan Kamath
520a5673fb
am b152473f: am 9fce8535: Merge "AArch64: Make AssetAtlasService 64-bit compatible"
...
* commit 'b152473f46d8176e7eb2c55b54342a7a29c525cf':
AArch64: Make AssetAtlasService 64-bit compatible
2014-02-20 13:02:21 +00:00
Ashok Bhat
4de3f481bc
AArch64: Make AssetAtlasService 64-bit compatible
...
Changes in this patch include
[x] Long(64-bit) is used to store native pointers in
AssetAtlasService and related classes as they can be 64-bit.
[x] Some minor changes have been done to conform with
standard JNI practice (e.g. use of jint instead of int
in JNI function prototypes)
Change-Id: Ib4c77c134e3ad5b21732e20cde9a54a0b16bdab1
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com >
2014-02-20 12:10:24 +00:00
Michael Wright
d2c3adc9c9
Make deliverInputEvent tracing asynchronous
...
Change-Id: I640ed4003194d6d4b202680e5c8fffc81749d60f
2014-02-19 19:11:21 -08:00
John Reck
a13a69f0e5
Merge "Fix layer recycling for GLRenderer"
2014-02-20 02:37:40 +00:00
John Reck
0b2c8df7a6
Fix layer recycling for GLRenderer
...
Bug: 13007905
Change-Id: I1589f2bb14429099e391c03d7dfb1650da145f28
2014-02-19 18:31:08 -08:00
Dan Stoza
b88a904dfe
Merge "Allow disabling layer rotation during screenshots"
2014-02-20 00:56:33 +00:00
Alan Viverette
498aa8bb3c
Merge "Always redraw background display list when view is redrawn"
2014-02-20 00:47:40 +00:00
Alan Viverette
81547effac
Always redraw background display list when view is redrawn
...
BUG: 12974357
Change-Id: I358351257e8b099a681e93be8f64e396fdfd6720
2014-02-19 16:31:03 -08:00
RoboErik
3328868544
Merge "Initial round of MediaSession APIs"
2014-02-20 00:25:10 +00:00
Alan Viverette
ff699570f6
Check item type before re-binding transient state views
...
BUG: 12701797
Change-Id: I180613cc342d24b63f80fd699937c7543c38fc20
2014-02-19 15:25:10 -08:00
Alan Viverette
621e1e8493
Merge "Fix for reveal animated drawables"
2014-02-19 22:41:56 +00:00
Alan Viverette
7f610fed10
Fix for reveal animated drawables
...
Includes fixes for RevealDrawable clipping, touch feedback constant
state, and action bar background display lists.
BUG: 13065159
Change-Id: Ie4bf03f59da69047e18a8fe9233c3d24b0160576
2014-02-19 14:40:12 -08:00
RoboErik
01fe661ae5
Initial round of MediaSession APIs
...
This is far from complete but puts the basic components in place
for an app to interact with media sessions.
Change-Id: Icfe313f90ad76ae56badbe42b0e43fc5f68db36f
2014-02-19 13:41:37 -08:00
Adam Lesinski
a78068e7a3
am 13c83996: am 1c532c2e: am 4b07b26e: Merge "Make UsbService optional" into klp-modular-dev
...
* commit '13c839962e246517a7a95326610ea30c529d79dc':
Make UsbService optional
2014-02-19 19:48:05 +00:00
Adam Lesinski
1c532c2e2d
am 4b07b26e: Merge "Make UsbService optional" into klp-modular-dev
...
* commit '4b07b26e8654df52ca80bb2165ebdf9352ab9337':
Make UsbService optional
2014-02-19 19:41:26 +00:00
Adam Lesinski
4b07b26e86
Merge "Make UsbService optional" into klp-modular-dev
2014-02-19 19:38:34 +00:00
Ruben Brunk
844aa61960
Merge "camera3: Update whiteLevel tag."
2014-02-19 19:31:57 +00:00
Alan Viverette
5314b3d593
Merge "Fix alert dialog's background when no custom panel visible"
2014-02-19 19:19:11 +00:00
John Reck
5efe5a2d35
Merge "Support HardwareLayers in RenderThread"
2014-02-19 18:58:18 +00:00
Dianne Hackborn
b3f38c6398
Merge "Fix issue #13095629 : Device is in restart mode for long time..."
2014-02-19 18:57:50 +00:00
Dianne Hackborn
00e2521d2a
Fix issue #13095629 : Device is in restart mode for long time...
...
...during taking OTA
Add some sanity checks.
Change-Id: I6bec1b8d8443c4b3c2a706635acf89c8e5051428
2014-02-19 10:49:24 -08:00
John Reck
19b6bcfd83
Support HardwareLayers in RenderThread
...
Also has a few HardwareLayer lifecycle fixes
Change-Id: I6308cb05f8f199eed72189ace768013a46815941
2014-02-19 10:47:19 -08:00
Chris Craik
66d792b663
Merge "Make outline and shadow APIs public"
2014-02-19 18:11:46 +00:00
John Spurlock
7870211955
am 14833719: am 01573b50: am 469301f7: am 9dd87081: am 99873565: am ba231fca: Fix bad @links in PendingIntent.java
...
* commit '14833719e16536ad86943a15ced0d1cb00b65200':
Fix bad @links in PendingIntent.java
2014-02-19 14:00:31 +00:00
John Spurlock
01573b5011
am 469301f7: am 9dd87081: am 99873565: am ba231fca: Fix bad @links in PendingIntent.java
...
* commit '469301f7edf2201fdbac217fb0ae49652fa9466c':
Fix bad @links in PendingIntent.java
2014-02-19 13:54:13 +00:00
John Spurlock
469301f7ed
am 9dd87081: am 99873565: am ba231fca: Fix bad @links in PendingIntent.java
...
* commit '9dd87081e4bea9cd48db35fa82b3adeda37a34b5':
Fix bad @links in PendingIntent.java
2014-02-19 13:51:00 +00:00
John Spurlock
9dd87081e4
am 99873565: am ba231fca: Fix bad @links in PendingIntent.java
...
* commit '998735652d2449e3ccbac7686b71bf40dca06e94':
Fix bad @links in PendingIntent.java
2014-02-19 13:47:52 +00:00
John Spurlock
998735652d
am ba231fca: Fix bad @links in PendingIntent.java
...
* commit 'ba231fcabfdf8f8bd72dbb428b8d35ae14a1a14d':
Fix bad @links in PendingIntent.java
2014-02-19 13:44:14 +00:00
Calin Juravle
2f825260f6
am fbd855cb: am 78f522d1: am 7a4172d1: am f11cc165: Merge "Fixed a possible infinite loop in JsonReader#skipValue()"
...
* commit 'fbd855cb60fc3b7e219ead013511a51d17a4482d':
Fixed a possible infinite loop in JsonReader#skipValue()
2014-02-19 11:31:17 +00:00
Calin Juravle
78f522d16e
am 7a4172d1: am f11cc165: Merge "Fixed a possible infinite loop in JsonReader#skipValue()"
...
* commit '7a4172d190871c6b17124bf86374304cef727984':
Fixed a possible infinite loop in JsonReader#skipValue()
2014-02-19 11:21:58 +00:00
Jean Chalard
ca7d37bd27
Merge "Fix a crash where user data was not validated."
2014-02-19 03:18:32 +00:00
Alan Viverette
c3cf19af8d
Fix alert dialog's background when no custom panel visible
...
Also some miscellaneous AlertController cleanup.
BUG: 13077576
Change-Id: I40f669f3a703a49fc53f482c2434b2993ed15326
2014-02-18 18:29:11 -08:00
Dan Sandler
6c306b8e4e
Merge "Settings.Global.LOCK_SCREEN_SHOW_NOTIFICATIONS."
2014-02-19 02:26:02 +00:00
Justin Koh
b5731f091c
Add hardware feature describing a watch.
...
Add hardware feature describing a watch so that hardware can specify that
it is a device that is worn on the body (perhaps the wrist).
Change-Id: I9d4cb7e86067f6ad41b39bcc545222b3b0fbf890
2014-02-18 18:12:24 -08:00
Dianne Hackborn
bffeb4faf7
Merge "Fix issue #13065185 : Frequent runtime restarts on launching..."
2014-02-19 01:58:29 +00:00
Dianne Hackborn
dfc60ec523
Fix issue #13065185 : Frequent runtime restarts on launching...
...
..."Hill Climb Racing" app
A service is in use when it is in the restarting state.
Change-Id: Ic92a6e7bcc24b01aeef5f97f994f105d5e11ea7f
2014-02-18 17:42:55 -08:00
Fabrice Di Meglio
c39d3d32ab
Merge "Revert "Fix bug #12993929 Screen orientation change replaces wifi password dialog with Add network dialog""
2014-02-19 01:14:46 +00:00
Fabrice Di Meglio
494440be14
Revert "Fix bug #12993929 Screen orientation change replaces wifi password dialog with Add network dialog"
...
This reverts commit 08189afdb0 .
Change-Id: Ie8797daca642685ee9a2a541d11a35daa28f0564
2014-02-19 01:11:21 +00:00
Chris Craik
e9b8817bd7
Make outline and shadow APIs public
...
Change-Id: If40dc27b2fdc41c3ed355bc9029474b1344c1a03
2014-02-18 16:55:45 -08:00
Jay Shrauner
ae58624157
Merge "Prevent SpellChecker from setting invalid range"
2014-02-19 00:24:39 +00:00
Craig Mautner
1bf3795798
am db0f3e82: Merge "Allow "opaque" flag to be updated. DO NOT MERGE" into klp-modular-dev
...
* commit 'db0f3e825fb4da01f887c41a877708734b0899e3':
Allow "opaque" flag to be updated. DO NOT MERGE
2014-02-18 23:59:42 +00:00
Craig Mautner
db0f3e825f
Merge "Allow "opaque" flag to be updated. DO NOT MERGE" into klp-modular-dev
2014-02-18 23:56:53 +00:00
Andy McFadden
4f0a80d0b8
Allow "opaque" flag to be updated. DO NOT MERGE
...
Added a setOpaque() call and a bunch of comments.
Bug 12387406
Change-Id: Ic066cba926223f22f9bc56a7013987001d9cc795
2014-02-18 15:54:24 -08:00