69908 Commits

Author SHA1 Message Date
Jeff Sharkey
d4dd7716fb Combine network subtypes by default.
Subtype controls (3G-vs-4G) aren't exposed in the UI, so tracking
data with that granularity creates unnecessary overhead. For example,
some GSM networks can regularly flap between two subtypes.

Bug: 6118868
Change-Id: Id098891dba52336d00d0f96632a7924e228b4713
2012-03-16 11:35:29 -07:00
Jeff Brown
543ec1c808 Merge "If an application calls System.exit() terminate it immediately." 2012-03-16 11:01:20 -07:00
Andreas Huber
949a0640d4 Remove obsolete software codec header files and amr encoders.
Change-Id: Ifbdf252ee312c9cb5ab29498f1e06dae8f23faf7
2012-03-16 11:01:11 -07:00
Jeff Brown
c1ac23db26 Merge "Delete useless JNI methods." 2012-03-16 11:01:04 -07:00
Joe Fernandez
0b8f459c53 am 14a5c93d: am 6b163632: am 1f60afc5: docs: Emulator Hardware Acceleration docs for SDK r17
* commit '14a5c93d18ba1a6a01caec52c33fb368797f258d':
2012-03-16 10:52:52 -07:00
Joe Fernandez
80262cea60 am d90576c9: am c8e83aa7: am 1f60afc5: docs: Emulator Hardware Acceleration docs for SDK r17
* commit 'd90576c91e9f99a6e795c126d943ea04f253fb86':
  docs: Emulator Hardware Acceleration docs for SDK r17
2012-03-16 10:50:20 -07:00
Joe Fernandez
14a5c93d18 am 6b163632: am 1f60afc5: docs: Emulator Hardware Acceleration docs for SDK r17
* commit '6b16363232e107047f430614b4a81e61b7f391c1':
2012-03-16 10:48:33 -07:00
Joe Fernandez
d90576c91e am c8e83aa7: am 1f60afc5: docs: Emulator Hardware Acceleration docs for SDK r17
* commit 'c8e83aa73e174be163649bb80989b9099fbb74cf':
  docs: Emulator Hardware Acceleration docs for SDK r17
2012-03-16 10:47:38 -07:00
Joe Fernandez
c8e83aa73e am 1f60afc5: docs: Emulator Hardware Acceleration docs for SDK r17
* commit '1f60afc5cbec849054c1787bf3141d6d0d49e4c3':
  docs: Emulator Hardware Acceleration docs for SDK r17
2012-03-16 10:44:54 -07:00
Joe Fernandez
6b16363232 am 1f60afc5: docs: Emulator Hardware Acceleration docs for SDK r17
* commit '1f60afc5cbec849054c1787bf3141d6d0d49e4c3':
  docs: Emulator Hardware Acceleration docs for SDK r17
2012-03-16 10:44:50 -07:00
Joe Fernandez
1f60afc5cb docs: Emulator Hardware Acceleration docs for SDK r17
Change-Id: I0714891d14db598f6c4acd29773975bd7754a912
2012-03-16 10:21:32 -07:00
Jason Sams
55ba267c09 Merge "Add prop to force cap compute threading." 2012-03-16 10:13:06 -07:00
Marco Nelissen
2833eaf03a Merge "Skip XING/VBRI frame when decoding" 2012-03-16 10:11:13 -07:00
Glenn Kasten
3e6038ddc9 am 97824b70: am aa1bd6de: am d8cc1421: am 42c6d163: Merge "Add empty libmedia_native in old location"
* commit '97824b706d8865b50faf2f09d0cf969bec0874e3':
  Add empty libmedia_native in old location
2012-03-16 10:06:49 -07:00
Glenn Kasten
97824b706d am aa1bd6de: am d8cc1421: am 42c6d163: Merge "Add empty libmedia_native in old location"
* commit 'aa1bd6dec676ab81e14ca428427d2b8c627c83fa':
  Add empty libmedia_native in old location
2012-03-16 10:03:54 -07:00
Glenn Kasten
aa1bd6dec6 am d8cc1421: am 42c6d163: Merge "Add empty libmedia_native in old location"
* commit 'd8cc14211a3d5597d6b5807d6c79a4631e36ba2d':
  Add empty libmedia_native in old location
2012-03-16 10:01:28 -07:00
Andreas Huber
f3f67bdb91 Merge "Remove obsolete OMXComponentBase class" 2012-03-16 09:57:23 -07:00
James Dong
daf59be4bc Merge "Fix a bug in MediaPlayer's addExternalSource()." 2012-03-16 09:21:17 -07:00
Chet Haase
4bf8b20995 Merge "Optimizing DisplayList properties" 2012-03-16 09:21:14 -07:00
Glenn Kasten
252030b79c Fix priority constants in RecentTasksLoader
These constants should be priority values, not scheduling group values,
for use with this API.

Change-Id: If2ba1feffd20fff2f93295816fa8a724196d978e
2012-03-16 09:19:50 -07:00
Chet Haase
9d1992deae Optimizing DisplayList properties
DisplayList properties are still disabled default (flags in View.java
and DisplayListRenderer.h). When they are enabled, and when a View has
a DisplayList, invalidations due to property changes are now optimized
to avoid causing DisplayList recreation. This eliminates the drawing step
of invalidation (due to changes in these properties), only requiring
issuing the previously-created DisplayList to the GL renderer. Invalidation
is slightly faster (less overhead as we walk up the hierarchy), getDisplayList()
is potentially much faster (going down to ~0ms), depending on the complexity
of the View being redrawn and the size of the invalidated hierarchy.

Change-Id: I57587d5b810c3595bdd72a6c52349c2a3d1bdf25
2012-03-16 09:14:52 -07:00
Andreas Huber
19eb86dcbc Remove obsolete OMXComponentBase class
Change-Id: I701ff5a57b0ab49cc772c4f82d03b5005e54ec6f
2012-03-16 08:46:36 -07:00
Marco Nelissen
4fc769e9df Skip XING/VBRI frame when decoding
Don't send the XING/VBRI frame to the decoder, as it will result in
extra data being output. Also clean up the XING seeker code a bit.

Change-Id: I714a94180edae9bedc1bc0c96bf382fe6f928ac6
2012-03-16 08:36:30 -07:00
George Mount
ddc421d19c Merge "Update edit text size when the text changes so scroll works." 2012-03-16 07:00:42 -07:00
Insun Kang
f08cdd7fd6 Fix a bug in MediaPlayer's addExternalSource().
Change-Id: I035cbfb7acccc7ff88d659861ece7d0f61314fda
2012-03-16 16:00:48 +09:00
Glenn Kasten
d8cc14211a am 42c6d163: Merge "Add empty libmedia_native in old location"
* commit '42c6d163aaf5170ac23a4d1e5baadddd0fb71406':
  Add empty libmedia_native in old location
2012-03-15 22:09:38 -07:00
Wu-cheng Li
8d3c318b2d Merge "Add a new camera open API that allows taking the ownership." 2012-03-15 21:23:24 -07:00
Jeff Brown
4280c4a93e If an application calls System.exit() terminate it immediately.
There is no graceful way to kill Android application processes.
They typically have many threads running doing various things
When System.exit() is called, those threads just keep going
while the cleanup actions run until the process finally.

Performing shutdown actions can easily cause more harm than good.
For example, closing the Binder driver's file descriptor may
cause other threads waiting on Binder to wake up and then crash
in nasty ways after receiving EBADF.

So when an Android application exits, skip the cleanup and just
call _exit() to end it all.

Bug: 6168809
Change-Id: I29790c064426a0bf7dae7cdf444eea3eef1d5275
2012-03-15 19:59:23 -07:00
Daniel Sandler
0c269766ea Merge "Allow the quick settings panel to fully dim the display." 2012-03-15 19:41:45 -07:00
Daniel Sandler
336a1bc30f Allow the quick settings panel to fully dim the display.
Bug: 5745968
Change-Id: I81bdfa0c1a53026c31bce3cdd81d4d95c94fd460
2012-03-15 22:39:26 -04:00
Jason Sams
2791429451 Add prop to force cap compute threading.
bug=6124869

Change-Id: Ibf2cc388f3906cea2741382ff5e522e3b416393c
2012-03-15 19:18:03 -07:00
Romain Guy
caf813fe1e Remove unused private API
Change-Id: Iec9c2bc275fc7376f4e0b0b9c44059c56a9dd173
2012-03-15 18:57:48 -07:00
Romain Guy
51e4d4db29 Better implementation to clear display lists
Change-Id: I58f9af4bae70a8117db1455a50c0c5daf19b2f4a
2012-03-15 18:30:47 -07:00
Romain Guy
cde6adf45c Fix the build
Change-Id: I6de62c7bfaecd85810178f58707157466291eca3
2012-03-15 17:04:47 -07:00
Jeff Brown
16f5f5cc9d Delete useless JNI methods.
Change-Id: Ie7c7638c79fc9c6a43f45604ad9a40ebc58b93c7
2012-03-15 16:58:22 -07:00
George Mount
c6c549d8d2 Update edit text size when the text changes so scroll works.
Bug 6176413
 Webkit Change: I487322ca9578c003f937b92ca4e8d46d34ea8c78

Change-Id: I6b8f244cd747d6d19c261d685a3cfb9ef4d71ec3
2012-03-15 16:43:14 -07:00
Gilles Debunne
590924e10a Merge "Multiple display lists for editable text" 2012-03-15 16:35:56 -07:00
Jeff Sharkey
e5d4933692 Better exceptions around provider permissions.
When enforcing ContentProvider permissions, mention which
<path-permission> caused the denial.

Bug: 6131916
Change-Id: I06ed461d188fc92c7ddc2acc92ec6169a7c9891a
2012-03-15 16:34:24 -07:00
Xavier Ducrohet
19e27c051d Merge "Fix sdk layout rendering in JB." 2012-03-15 16:24:37 -07:00
Xavier Ducrohet
a421f6c0ba Fix sdk layout rendering in JB.
Since JB, com.android.internal.R does not contain all the resources,
instead only the ones that are accessed through Java.
This means we need to dynamically generate IDs for resources that are
private and only accessed from other XML resources. This is done
through the DynamicIdMap class.

Also add a PolicyManager and a PowerManager since those are now
needed by ViewRootImpl?!?

Change-Id: If2ae8ad79502fa084d852664a44aefd46e01aec6
2012-03-15 16:23:51 -07:00
Romain Guy
c6e8811cb4 Merge "Postpone DisplayList recycling when detached from window" 2012-03-15 16:20:25 -07:00
Jeff Brown
c0102b7a7d Merge "Port the SQLite locale setting code to Java." 2012-03-15 16:07:08 -07:00
Scott Main
bb236c89b1 am 66c36b88: am 886603da: am eb1d42e4: Merge "docs: Fix a bunch of misc doc issues from external tracker" into ics-mr1
* commit '66c36b886dfe036784ee554ddfb0a31e4caca8bc':
2012-03-15 16:05:13 -07:00
Jeff Brown
1d9f742e00 Port the SQLite locale setting code to Java.
Make the database opening code more robust in the case of
read-only database connections.

Check whether a PRAGMA needs to be issues before doing it.
Mostly it's harmless but it can grab a transaction on the
database unnecessarily.

Change-Id: Iab2cdc96c785e767f82966b00597e19337163f2f
2012-03-15 16:02:58 -07:00
Glenn Kasten
42c6d163aa Merge "Add empty libmedia_native in old location" 2012-03-15 16:02:46 -07:00
Scott Main
d45f5b5843 am af2827ba: am 714d655c: am eb1d42e4: Merge "docs: Fix a bunch of misc doc issues from external tracker" into ics-mr1
* commit 'af2827ba96361a63eac792e679027f8d6f2c8482':
  docs: Fix a bunch of misc doc issues from external tracker
2012-03-15 16:02:29 -07:00
Scott Main
66c36b886d am 886603da: am eb1d42e4: Merge "docs: Fix a bunch of misc doc issues from external tracker" into ics-mr1
* commit '886603da73526eb992dfb4bc5afc89c7a17294d8':
2012-03-15 16:00:40 -07:00
Scott Main
af2827ba96 am 714d655c: am eb1d42e4: Merge "docs: Fix a bunch of misc doc issues from external tracker" into ics-mr1
* commit '714d655ccfcc0d465a1a8c190d407e3d97261d76':
  docs: Fix a bunch of misc doc issues from external tracker
2012-03-15 15:59:37 -07:00
Scott Main
714d655ccf am eb1d42e4: Merge "docs: Fix a bunch of misc doc issues from external tracker" into ics-mr1
* commit 'eb1d42e4faa34c2acf76200913920fd5ca46a39e':
  docs: Fix a bunch of misc doc issues from external tracker
2012-03-15 15:56:12 -07:00
Romain Guy
bc7616eae9 Postpone DisplayList recycling when detached from window
This was causing a crash in apps that remove views during a draw pass.

Change-Id: I1c4621639fe920291b2c6fb7bfd17a69101a1329
2012-03-15 15:56:11 -07:00