73684 Commits

Author SHA1 Message Date
Xavier Ducrohet
fbd0509f47 Merge "Add Delegate for ViewRootImpl#isInTouchMode to prevent IPC call in Eclipse." 2012-03-23 16:29:50 -07:00
Craig Mautner
d5f2374e13 Merge "Reset layout needed at each animation step." 2012-03-23 16:20:47 -07:00
Craig Mautner
bb1449b392 Reset layout needed at each animation step.
The member variable WindowAnimator.mPendingLayoutChanges was never
being reset to 0. Consequently once it was set it was causing endless
calls to the layout method.

Fixes bug 6208114, 6220403, 6219546.

Fixed NPE in RecentsPanelView.

Change-Id: Ie529b8f31e535543cb5ae0af9447146306b14eeb
2012-03-23 16:11:14 -07:00
Xavier Ducrohet
22f700a1b8 Add Delegate for ViewRootImpl#isInTouchMode to prevent IPC call in Eclipse.
Also fix some new/removed method from BitmapFactory.

Change-Id: I606bd8bee6ff1e2c6c9472b4672175bfdaff45de
2012-03-23 16:07:23 -07:00
Jason Sams
9321ad6a75 Merge "Add getSizeBytes and cleanup docs." 2012-03-23 15:52:53 -07:00
Jason Sams
36c0f64658 Add getSizeBytes and cleanup docs.
Change-Id: I854a41f50378590b58bfbb205906ed4bee440411
2012-03-23 15:48:37 -07:00
Jason Sams
219e6b9dae Merge "Cleanup Allocation docs and getter funcs." 2012-03-23 15:47:00 -07:00
Jeff Sharkey
678d04f1b6 Copy EXTRA_STREAM into ClipData and grant.
When sending SEND or SEND_MULTIPLE intents, copy any EXTRA_STREAM
Uris to ClipData and set GRANT_READ_URI_PERMISSION flag.

Bug: 6216357
Change-Id: I3c9b0d1d4b7e0c4655b47c4192150b0c3641e0e8
2012-03-23 15:45:37 -07:00
Jeff Brown
cc001fdaf0 Merge "Provide an API for enabling foreign key constraints." 2012-03-23 15:39:02 -07:00
Jeff Sharkey
69f819b397 Merge "Include GIDs for unenforced permissions." 2012-03-23 15:21:00 -07:00
Dianne Hackborn
7cf4640e81 Merge "Add new thumbnail animation." 2012-03-23 15:00:59 -07:00
Mathias Agopian
60b82263a1 move ndk headers to frameworks/native
Change-Id: I44e48b8993e8b574ae366b9e76629099154998a9
2012-03-23 14:59:35 -07:00
Mathias Agopian
3e93e433e2 Merge "add missing include" 2012-03-23 14:58:19 -07:00
Mathias Agopian
7efec15fef add missing include
Change-Id: I7eb05f6cb6de170aeb3b72d28490cdcf46982d13
2012-03-23 14:57:16 -07:00
Jeff Brown
96496adb61 Provide an API for enabling foreign key constraints.
Also provide a lifecycle method on SQLiteOpenHelper so that
applications can configure things like this before the onCreate,
onUpgrade, onDowngrade and onOpen callbacks run.

Change-Id: If3d1396720bd2e032dd9e034733fb1ff9a9733dd
2012-03-23 14:49:39 -07:00
Eric Fischer
a7b4ad46ec Merge "Import translations. DO NOT MERGE" 2012-03-23 14:20:57 -07:00
Eric Fischer
6379312c04 Merge "Import translations. DO NOT MERGE" 2012-03-23 14:20:45 -07:00
Dima Zavin
1f6c2d5c0e Merge "frameworks/base: remove build/ and dalvik heaps" 2012-03-23 14:20:26 -07:00
Eric Fischer
17d911899d Merge "Import translations. DO NOT MERGE" 2012-03-23 14:19:23 -07:00
Dianne Hackborn
8078d8c8a2 Add new thumbnail animation.
Use it for recent tasks switching.

Not perfect yet by far, but something.

Also fix issue #6186758: Twitter crashes after tapping on a tweet on JRM75D

Change-Id: I49bf6c94aafde875ac652dedaf96d6c08cc9e7d2
2012-03-23 14:13:13 -07:00
Glenn Kasten
a945aad739 Merge "Revert "Split libmedia into libmedia and libmedia_native"" 2012-03-23 14:06:00 -07:00
Glenn Kasten
eb3be2d8c5 Revert "Split libmedia into libmedia and libmedia_native"
This reverts commit 0a3edd38df0743dcc7091bb7ebf29e7e7dadc7cb
2012-03-23 14:05:52 -07:00
Glenn Kasten
243806cfeb Merge "Revert "AudioFlinger does not need libmedia any more"" 2012-03-23 14:05:02 -07:00
Glenn Kasten
4bfcca92d2 Revert "AudioFlinger does not need libmedia any more"
This reverts commit c920dee060ac69684be33210ee44b99a5fc3e8b2
2012-03-23 14:04:27 -07:00
Christopher Tate
5b6f07b461 Merge "Deal gracefully with fatal exceptions during full backup" 2012-03-23 14:01:40 -07:00
Christopher Tate
aa0c02d221 Deal gracefully with fatal exceptions during full backup
In particular, if the low-level zip or crypto layers of the output
pipeline throw, the output becomes invalid at that point, but we
were not properly detecting this; we were missing the exception and
the runtime was going down.  Now we catch any such fatal exception
and make sure to shut down the backup operation cleanly, leaving
the output at whatever point in its construction that it had
achieved.

Bug 6131870

Change-Id: If0fe0337857404b776f407a79d11dd88b8e60fd0
2012-03-23 13:56:34 -07:00
Jason Sams
03d2d00dc8 Cleanup Allocation docs and getter funcs.
Change-Id: Ic6fb92e0675d64016f0d471c1d9e5328101e4b36
2012-03-23 13:51:56 -07:00
Jeff Brown
0aa4713e47 Merge "Support enabling WAL using a flag when DB is opened." 2012-03-23 13:46:56 -07:00
Reto Meier
674228845c am 106d8460: am 20f394df: Docs: Added efficient downloads Android U class
* commit '106d846080d6d239ab0eb3539cd92516046dcd4d':
2012-03-23 13:34:25 -07:00
Reto Meier
284f9717d3 am 278296b5: am 20f394df: Docs: Added efficient downloads Android U class
* commit '278296b59fb16b5dcb7cc8e5a7538518a2a3dbb7':
  Docs: Added efficient downloads Android U class
2012-03-23 13:33:02 -07:00
Reto Meier
106d846080 am 20f394df: Docs: Added efficient downloads Android U class
* commit '20f394df4db02c492d7920f4f366b777451c2067':
  Docs: Added efficient downloads Android U class
2012-03-23 13:30:13 -07:00
Reto Meier
278296b59f am 20f394df: Docs: Added efficient downloads Android U class
* commit '20f394df4db02c492d7920f4f366b777451c2067':
  Docs: Added efficient downloads Android U class
2012-03-23 13:30:04 -07:00
Jason Sams
cbe55a1c93 Merge "Implement USAGE_IO_INPUT" 2012-03-23 13:29:17 -07:00
Jeff Brown
47847f3f4d Support enabling WAL using a flag when DB is opened.
Using enableWriteAheadLogging() to enable WAL is inefficient because
we previously disabled WAL mode when the database was opened.
Switching from WAL to PERSIST then back to WAL is inefficient
and could slow down application launch time.  It would be better
to leave the database in WAL mode when we open it to begin with.

To do that, we need to know ahead of time whether we will want to
have WAL enabled for the newly opened database.

Using this flag also reduces the chance that we will encounter
an error enabling WAL mode due to there being other open connections
to the database.

Bug: 6124556
Change-Id: I38ec7a528baeda9f1ef77e25e88b3ca4b6296200
2012-03-23 13:26:26 -07:00
Nick Kralevich
cb5863e022 Make READ_LOGS signature|system|development
Change-Id: I387d53ac4b7fd3d65891145985e4cd272dffddcf
2012-03-23 13:18:36 -07:00
Christopher Tate
3c4da3cad0 Merge "Sanity-check backup agent name prior to instantiation" 2012-03-23 13:13:27 -07:00
Eric Fischer
3a2d7ee26d Import translations. DO NOT MERGE
Change-Id: I04b64fd35f290123b9bf81d550fa31f144097811
2012-03-23 13:06:57 -07:00
Eric Fischer
e68159ae74 Import translations. DO NOT MERGE
Change-Id: Iaa68a41570f03ee73c3f36502862477746c474a3
2012-03-23 13:04:55 -07:00
Dima Zavin
c1c6772128 frameworks/base: remove build/ and dalvik heaps
These have moved to frameworks/native/build

Change-Id: I3d92a14558b003bbfab3fedb7161392b188d013d
Signed-off-by: Dima Zavin <dima@android.com>
2012-03-23 13:04:14 -07:00
Christopher Tate
9c2efb35e2 Sanity-check backup agent name prior to instantiation
Fixes a crash that would occur if an app with a pending backup
pass in the pipeline was updated to remove its agent declaration
from the manifest (or other more esoteric ways that a backup
pass was expected to run for an app without their own agent).

Bug 5776591

Change-Id: I5a8bc8c12de6a2bfa82f5093fe3a15b754109ab1
2012-03-23 13:00:05 -07:00
Eric Fischer
14766b1910 Import translations. DO NOT MERGE
Change-Id: I1c74b3c254a7c6ed1563aa451ddcbd00ccff39ce
2012-03-23 12:55:06 -07:00
Russell Brenner
b7b3894a8e Merge "Improved comments for vendor fonts xml" 2012-03-23 12:38:38 -07:00
Jason Sams
fe1d5ffd1b Implement USAGE_IO_INPUT
Change-Id: Idbf7bb21f5ab673ad77082c5c19921d2b276c04b
2012-03-23 11:47:26 -07:00
Reto Meier
20f394df4d Docs: Added efficient downloads Android U class
Change-Id: I2a9484c5a224a7e0688fbd9afb16246db8f3ddf9
2012-03-23 11:32:02 -07:00
Fabrice Di Meglio
2c4eabced0 Merge "Reduce memory footprint for View (part 2)" 2012-03-23 11:12:29 -07:00
Joe Malin
528aff54f5 DOC CHANGE: IME subtype article
Change-Id: Ie7addcc6155c275b247e15787fe226b43b0dee1a
2012-03-23 11:04:34 -07:00
Jeff Sharkey
b9a070189c Include GIDs for unenforced permissions.
When READ_EXTERNAL_STORAGE isn't enforced, grant its GID to all
launched processes.  When changing enforcement, kill all processes
below foreground adjustment, causing them to be relaunched with
update GIDs.

Bug: 6131916
Change-Id: I6d83efc937919f13a1a7d9caac902e572869406a
2012-03-23 10:22:54 -07:00
Andreas Huber
8d5986549c Merge "Fix the file mimetype reported by the mpeg4 extractor." 2012-03-23 09:32:56 -07:00
Alex Sakhartchouk
00da68de8e Merge "Wrapping new api's with proper RS_VERSION" 2012-03-23 09:08:10 -07:00
Alex Sakhartchouk
f8338c40b7 Merge "More rearrangement and renaming." 2012-03-23 09:07:46 -07:00