101996 Commits

Author SHA1 Message Date
Andy McFadden
47a2db4943 Tweak comment.
Change-Id: Ic99fefde512fa3a5b1fca2bc65cd37c8170e7f2c
2013-03-07 17:56:40 -08:00
Andy McFadden
ecda86cebc am fe8b6efb: am dd3e75fa: Merge "Publish new MediaCodec API" into jb-mr2-dev
* commit 'fe8b6efbb44476b28b0d8ea3d6cd405d5fbea770':
  Publish new MediaCodec API
2013-03-08 01:55:12 +00:00
Andy McFadden
fe8b6efbb4 am dd3e75fa: Merge "Publish new MediaCodec API" into jb-mr2-dev
* commit 'dd3e75fa6b9fd93790eec010f40c8bc1c3aeda3c':
  Publish new MediaCodec API
2013-03-08 01:53:24 +00:00
Christopher Tate
a83cab0001 Do not hang in pm clear on an invalid package name
The Activity Manager was not properly informing the observer that
the operation had concluded (unsuccessfully).

Bug 8222595

Change-Id: I8234e32d8edf4112c8c7a5e20e341d0b41e23014
2013-03-07 17:50:11 -08:00
Andy McFadden
dd3e75fa6b Merge "Publish new MediaCodec API" into jb-mr2-dev 2013-03-08 01:50:00 +00:00
Eric Laurent
2a57ca931f audio service: fix BT SCO intent permission
Clear calling identity before calling BluetoothHeadset
methods from binder call.
Also send BT SCO audio state intents from the
message handler, not from binder calls.

Bug 8242429

Change-Id: I742ba8dc47a258dbee6fb9d57db302f2bffaafd7
2013-03-07 17:29:27 -08:00
Adam Powell
c6cf2abfdb am 41ac9727: am 15061d74: Merge "Make View#computeOpaqueFlags recognize OUTSIDE_OVERLAY scrollbars" into jb-mr2-dev
* commit '41ac97278f4506e9d06e447b99a94125dc6358db':
  Make View#computeOpaqueFlags recognize OUTSIDE_OVERLAY scrollbars
2013-03-08 01:12:19 +00:00
Adam Powell
41ac97278f am 15061d74: Merge "Make View#computeOpaqueFlags recognize OUTSIDE_OVERLAY scrollbars" into jb-mr2-dev
* commit '15061d747d578fb542f1a11856dae5515036b4ce':
  Make View#computeOpaqueFlags recognize OUTSIDE_OVERLAY scrollbars
2013-03-08 01:09:42 +00:00
Romain Guy
f3c9ccd124 am bfa3c3a7: am e526a5b9: Merge "Don\'t apply scale to glyphs when a perspective is set. Bug #8337925" into jb-mr2-dev
* commit 'bfa3c3a7d309e40f3bd26042e46f4fe3b94c2bd1':
  Don't apply scale to glyphs when a perspective is set. Bug #8337925
2013-03-08 01:08:54 +00:00
Romain Guy
bfa3c3a7d3 am e526a5b9: Merge "Don\'t apply scale to glyphs when a perspective is set. Bug #8337925" into jb-mr2-dev
* commit 'e526a5b94643370eb1f26ca3a132a5741a667e26':
  Don't apply scale to glyphs when a perspective is set. Bug #8337925
2013-03-08 01:06:18 +00:00
Adam Powell
15061d747d Merge "Make View#computeOpaqueFlags recognize OUTSIDE_OVERLAY scrollbars" into jb-mr2-dev 2013-03-08 01:05:51 +00:00
Romain Guy
e526a5b946 Merge "Don't apply scale to glyphs when a perspective is set. Bug #8337925" into jb-mr2-dev 2013-03-08 01:04:04 +00:00
Romain Guy
b09f147126 Don't apply scale to glyphs when a perspective is set.
Bug #8337925

Magazines uses very large scale factors that blow up font cache & CPU.

Change-Id: I1c0ed430ed91b86cc6c6f59f7e8bdcc89a464e46
2013-03-07 17:03:25 -08:00
Elliott Hughes
5acc6e5214 Use getRelativeDayString in getRelativeTimeSpanString.
The bug we're fixing here is that languages that don't
distinguish the "one" case grammatically (such as Japanese)
would say the equivalent of "In 1 day" rather than "Tomorrow"
because of the misuse of getQuantityString.

This has the side-effect of switching us over to the CLDR
strings for relative day names, which have consistent capitalization;
the Android donottranslate-cldr.xml strings varied even within
a language, so although this is a change, it seems like a step
in the right direction.

In a future change, we should actually push all relative
day formatting down into icu4c.

Bug: 7098707
Change-Id: Ia2f9af3d18c441d6093dd5da7956a3d0130e5b06
2013-03-07 16:46:55 -08:00
Scott Main
c64fe7ee1f am c71ed8db: am a2dba054: am d9cdde94: am 6d3943b6: am b3d07573: am 49e3d6ba: am d55091f6: change devbytes playlist order to reverse playlist order
* commit 'c71ed8db8f37a39d860656706054057ddc13f85c':
  change devbytes playlist order to reverse playlist order
2013-03-08 00:31:58 +00:00
Scott Main
c71ed8db8f am a2dba054: am d9cdde94: am 6d3943b6: am b3d07573: am 49e3d6ba: am d55091f6: change devbytes playlist order to reverse playlist order
* commit 'a2dba054b66b01ff294acd6218371677f57d00c7':
  change devbytes playlist order to reverse playlist order
2013-03-08 00:29:34 +00:00
Scott Main
a2dba054b6 am d9cdde94: am 6d3943b6: am b3d07573: am 49e3d6ba: am d55091f6: change devbytes playlist order to reverse playlist order
* commit 'd9cdde94f3139fac59eb6da73ae9dc53661628d8':
  change devbytes playlist order to reverse playlist order
2013-03-07 16:27:17 -08:00
Scott Main
d9cdde94f3 am 6d3943b6: am b3d07573: am 49e3d6ba: am d55091f6: change devbytes playlist order to reverse playlist order
* commit '6d3943b69d5b766e94a12a8249fcd268d0337c2f':
  change devbytes playlist order to reverse playlist order
2013-03-07 16:25:49 -08:00
Scott Main
6d3943b69d am b3d07573: am 49e3d6ba: am d55091f6: change devbytes playlist order to reverse playlist order
* commit 'b3d07573617656e6008466d01dfb5aebbd7568ba':
  change devbytes playlist order to reverse playlist order
2013-03-07 16:24:41 -08:00
Scott Main
b3d0757361 am 49e3d6ba: am d55091f6: change devbytes playlist order to reverse playlist order
* commit '49e3d6baf55098b8de07cd6a4585ea0984f86d16':
  change devbytes playlist order to reverse playlist order
2013-03-07 16:23:26 -08:00
Scott Main
49e3d6baf5 am d55091f6: change devbytes playlist order to reverse playlist order
* commit 'd55091f6fdec4bb42e2f922369dfa19f8993be8d':
  change devbytes playlist order to reverse playlist order
2013-03-07 16:20:23 -08:00
Scott Main
d55091f6fd change devbytes playlist order to reverse playlist order
Change-Id: Ic6f91cf6adc3999ff4c6394f652a7ef4e2fc3c22
2013-03-07 16:17:06 -08:00
Elliott Hughes
7c098b1e01 am 42d0f863: am 09ed05ce: am 4a1bd464: am d0d1be2d: Merge "Explain why the frameworks/base DateUtilsTest isn\'t merged with CTS\' DateUtilsTest."
* commit '42d0f863491a0d955cf3a9f5ad9099806b893a5d':
  Explain why the frameworks/base DateUtilsTest isn't merged with CTS' DateUtilsTest.
2013-03-07 23:45:46 +00:00
Elliott Hughes
42d0f86349 am 09ed05ce: am 4a1bd464: am d0d1be2d: Merge "Explain why the frameworks/base DateUtilsTest isn\'t merged with CTS\' DateUtilsTest."
* commit '09ed05ceaecc5fca46e25fe9bd9e8c0ee61fd31d':
  Explain why the frameworks/base DateUtilsTest isn't merged with CTS' DateUtilsTest.
2013-03-07 23:43:38 +00:00
Elliott Hughes
09ed05ceae am 4a1bd464: am d0d1be2d: Merge "Explain why the frameworks/base DateUtilsTest isn\'t merged with CTS\' DateUtilsTest."
* commit '4a1bd4640c5e915ed1ebd320a515725e31992545':
  Explain why the frameworks/base DateUtilsTest isn't merged with CTS' DateUtilsTest.
2013-03-07 15:41:14 -08:00
Elliott Hughes
4a1bd4640c am d0d1be2d: Merge "Explain why the frameworks/base DateUtilsTest isn\'t merged with CTS\' DateUtilsTest."
* commit 'd0d1be2d27af35fe7553835ee8c411fd13d1c8d7':
  Explain why the frameworks/base DateUtilsTest isn't merged with CTS' DateUtilsTest.
2013-03-07 15:39:46 -08:00
Elliott Hughes
d0d1be2d27 Merge "Explain why the frameworks/base DateUtilsTest isn't merged with CTS' DateUtilsTest." 2013-03-07 23:24:40 +00:00
Martijn Coenen
ca8e6f195d am 21893a1f: am cbe9f48c: Merge "Update NfcBarcode documentation for Kovio." into jb-mr2-dev
* commit '21893a1f69a32e86771e4dc925d8ed31eab549cf':
  Update NfcBarcode documentation for Kovio.
2013-03-07 23:10:06 +00:00
Martijn Coenen
21893a1f69 am cbe9f48c: Merge "Update NfcBarcode documentation for Kovio." into jb-mr2-dev
* commit 'cbe9f48c256444e7cd8f3f23b937e518b6f2fbb6':
  Update NfcBarcode documentation for Kovio.
2013-03-07 23:08:42 +00:00
Martijn Coenen
cbe9f48c25 Merge "Update NfcBarcode documentation for Kovio." into jb-mr2-dev 2013-03-07 23:05:40 +00:00
Martijn Coenen
7a6dfb2f72 Update NfcBarcode documentation for Kovio.
Change-Id: I4b6a452805c3dd68247dbe5493db14a263729615
2013-03-07 15:04:41 -08:00
Fabrice Di Meglio
0016420830 am 64ac478f: am 617283c3: Merge "Fix bug #8217354 Suspicious behavior in RTL support for a RelativeLayout" into jb-mr2-dev
* commit '64ac478f45061e57406ab3d83c69bf8988288b41':
  Fix bug #8217354 Suspicious behavior in RTL support for a RelativeLayout
2013-03-07 22:56:25 +00:00
Fabrice Di Meglio
64ac478f45 am 617283c3: Merge "Fix bug #8217354 Suspicious behavior in RTL support for a RelativeLayout" into jb-mr2-dev
* commit '617283c3c0746c497fca7742c2f337d3d201cc4c':
  Fix bug #8217354 Suspicious behavior in RTL support for a RelativeLayout
2013-03-07 22:53:42 +00:00
Fabrice Di Meglio
617283c3c0 Merge "Fix bug #8217354 Suspicious behavior in RTL support for a RelativeLayout" into jb-mr2-dev 2013-03-07 22:49:38 +00:00
Elliott Hughes
025148cc4d Explain why the frameworks/base DateUtilsTest isn't merged with CTS' DateUtilsTest.
Change-Id: Icbdb4e9133a9ae1c1b37f822367e1ac86e9e36cb
2013-03-07 14:30:17 -08:00
Glenn Kasten
083c7a58b7 Merge "AudioTrack comments and range checks" 2013-03-07 22:28:23 +00:00
Andy McFadden
34f17dd1f6 Publish new MediaCodec API
Un-hide two new methods in MediaCodec, one new constant, and a new
EGL extension.

Bug 7991062
Bug 8191230

Change-Id: I028669132d9ffda1e4b34a561bab3997bbd7dae5
2013-03-07 14:20:46 -08:00
Scott Kennedy
547f1c42cd am 16c0cf0d: am b1b6efd0: Merge "Specify the size of the Map in the constructor" into jb-mr2-dev
* commit '16c0cf0deb94cb3cfb19a7c1e62fbb80ca1ee7d0':
  Specify the size of the Map in the constructor
2013-03-07 22:18:58 +00:00
Scott Kennedy
16c0cf0deb am b1b6efd0: Merge "Specify the size of the Map in the constructor" into jb-mr2-dev
* commit 'b1b6efd0829f55c4331218bf67b34a89aeb7d87f':
  Specify the size of the Map in the constructor
2013-03-07 22:17:35 +00:00
Scott Kennedy
b1b6efd082 Merge "Specify the size of the Map in the constructor" into jb-mr2-dev 2013-03-07 22:14:18 +00:00
Jeff Brown
cbf4cd73a3 am 7987082e: am 3afc18af: Enhance MediaRouter API.
* commit '7987082ecdcbe5a9e7ca5e0e89e9e30985611dd6':
  Enhance MediaRouter API.
2013-03-07 22:04:09 +00:00
Jeff Brown
7987082ecd am 3afc18af: Enhance MediaRouter API.
* commit '3afc18af2cea898753b10e8575dcf20c11356bca':
  Enhance MediaRouter API.
2013-03-07 22:01:33 +00:00
Glenn Kasten
e2a4b42c5b AudioTrack comments and range checks
Added range checks for setPlaybackHeadPosition and setLoopPoints to
correspond to the new implementation.  The checks are not expected to
cause any significant incompatibilities for real apps.

Change-Id: Ia52723419e7d0e2c561a0d1eeb8f36a5376c4e03
2013-03-07 13:56:32 -08:00
Christopher Tate
46cc43c6fa Full backup/restore now handles OBBs sensibly
OBB backup/ restore is no longer handled within the target app
process.  This is done to avoid having to require that OBB-using
apps have full read/write permission for external storage.

The new OBB backup service is a new component running in the
same app as the already-existing shared storage backup agent.
The backup infrastructure delegates backup/restore of apps'
OBB contents to this component (because the system process
may not itself read/write external storage).

From the command line, OBB backup is enabled by using new
-obb / -noobb flags with adb backup.  The default is noobb.

Finally, a couple of nit fixes:

- buffer-size mismatch between the writer and reader of chunked
  file data has been corrected; now the reading side won't be
  issuing an extra pipe read per chunk.

- bu now explicitly closes the transport socket fd after
  adopting it. This was benign but triggered a logged
  warning about leaked fds.

Bug: 6718844
Change-Id: Ie252494e2327e9ab97cf9ed87c298410a8618492
2013-03-07 13:47:20 -08:00
Jeff Brown
3afc18af2c Enhance MediaRouter API.
The support library MediaRouter implementation needs a couple
of extra generally useful APIs in the platform MediaRouter to ensure
that it can safely synchronize its state.

Change-Id: I72c5652e10f3b6de48800abfa922affbefbd250f
2013-03-07 13:26:40 -08:00
Daniel Sandler
603603d22f am 3cf1faf2: am 9f3443c5: Merge "Properly support USER_ALL in notification listener API." into jb-mr2-dev
* commit '3cf1faf296aebc6ea024a363fc7899f4ba5dbac3':
  Properly support USER_ALL in notification listener API.
2013-03-07 20:53:38 +00:00
Daniel Sandler
3cf1faf296 am 9f3443c5: Merge "Properly support USER_ALL in notification listener API." into jb-mr2-dev
* commit '9f3443c55c51562e22abb6b16c83cbe036dd2db4':
  Properly support USER_ALL in notification listener API.
2013-03-07 20:51:25 +00:00
Daniel Sandler
9f3443c55c Merge "Properly support USER_ALL in notification listener API." into jb-mr2-dev 2013-03-07 20:46:09 +00:00
Adam Powell
f158b52e20 Make View#computeOpaqueFlags recognize OUTSIDE_OVERLAY scrollbars
While the inset scrollbars may change padding and how backgrounds are
drawn such that an otherwise opaque view is no longer opaque. However,
OUTSIDE_OVERLAY scrollbars don't change the padding and should not
affect the determination of opacity.

Change-Id: I8c0c1408aeb540813de3351f0c0d1ad12ba5919c
2013-03-07 12:40:04 -08:00
Scott Main
577cee774e am f47400cc: am 1f33ebd4: am 4147f866: am 69a98134: am 2da55bd9: am b4d42b02: am 6f6b20d9: Merge "fix rounding errors in dashboard data" into jb-mr1.1-docs
* commit 'f47400cc7819d7f68bdbc400ef2dacde2dc3b2df':
  fix rounding errors in dashboard data
2013-03-07 20:34:08 +00:00