106505 Commits

Author SHA1 Message Date
Scott Main
ec6f327ed0 update sizes/sums for tools 22.0.5 release
also update platform version number for doc builds

Change-Id: Ib3e644c3bfe618137516398aebf3f778ebdd1e81
2013-07-30 10:10:22 -07:00
Dirk Dougherty
37ec33741c Doc change: add v7 mediarouter lib to index and feature summary, with preview notice.
Change-Id: I23e4bdec971a982f545c4118b5c154a8949170cf
(cherry picked from commit a32db2f12d2eae0440b575bfd006ee83967ef61c)
2013-07-30 17:07:18 +00:00
Lorenzo Colitti
cc4bee55fa am 8fcad020: Merge "Make legacy VPN work over stacked interfaces."
* commit '8fcad020e0c256be1948e42df19d43f53f9f5804':
  Make legacy VPN work over stacked interfaces.
2013-07-30 09:57:21 -07:00
Lorenzo Colitti
6c3e7b5f05 am 15884007: Merge "464xlat: use a gatewayed route, not point-to-point"
* commit '158840079a501784c76e9816b215b3a1839074ef':
  464xlat: use a gatewayed route, not point-to-point
2013-07-30 09:57:18 -07:00
Lorenzo Colitti
8fcad020e0 Merge "Make legacy VPN work over stacked interfaces." 2013-07-30 16:50:41 +00:00
Lorenzo Colitti
158840079a Merge "464xlat: use a gatewayed route, not point-to-point" 2013-07-30 16:50:05 +00:00
Jean-Baptiste Queru
c2314cf5f4 am e700a36e: Merge "Update getCheckedItemPositions() documentation"
* commit 'e700a36e4041a921f880a7c3c5ec6ce96c955a92':
  Update getCheckedItemPositions() documentation
2013-07-30 09:22:51 -07:00
Jean-Baptiste Queru
e700a36e40 Merge "Update getCheckedItemPositions() documentation" 2013-07-30 16:16:38 +00:00
Lorenzo Colitti
bc8f82fb1f Make legacy VPN work over stacked interfaces.
On stacked interfaces like 464xlat, Legacy VPN can't find the
default gateway because it uses getRoutes, which only returns
routes for the base link and not for the stacked links. It also
assumes that the interface that the default route points to is
the interface for the base link (e.g., rmnet0) instead of the
interface the route actually points to (e.g., clat4).

Fix this by calling getAllRoutes to find the default IPv4 route,
and get the interface name from the route we find instead of
assuming it's the base interface.

Bug: 9597516
Change-Id: Ia6ce0b6258a421cd22f60dedca7e94176b32176b
2013-07-31 01:14:30 +09:00
Lorenzo Colitti
efa73c05f7 464xlat: use a gatewayed route, not point-to-point
Various applications such as Skype and our legacy VPN code
do not understand routes pointed directly at point-to-point
interfaces and require a default gateway IPv4 address in
order to function.

Grudgingly accept that routes without default gateways Are Hard
and use gatewayed routes instead. This causes routing to go from:

default dev clat4  scope link

to:

default via 192.0.0.4 dev clat4  scope link
192.0.0.4 dev clat4  scope link

and those apps now work.

Bug: 9597256
Bug: 9597516
Change-Id: I7b7890873802d3cb99affd6eb70b8ab75e7a2cf6
2013-07-31 01:09:53 +09:00
Michael Wright
c0dbd255ae am b7dfa027: Merge "Remove deleted keylayout from Makefile"
* commit 'b7dfa02766fef8c32f6217f427a47ad519d1d9f0':
  Remove deleted keylayout from Makefile
2013-07-29 19:31:34 -07:00
Michael Wright
b7dfa02766 Merge "Remove deleted keylayout from Makefile" 2013-07-30 02:26:01 +00:00
Michael Wright
9fd5530f4c Remove deleted keylayout from Makefile
Change-Id: I8aecc00861cf99d8e7278519f4e2e6fb726b7e17
2013-07-29 19:24:49 -07:00
Jean-Baptiste Queru
00157c0d46 am 6c0fe0df: Merge "MediaFormat: Fix the documentation link to the AAC profile constants"
* commit '6c0fe0df4ea35fba69f805e18c8c88c0be31c36f':
  MediaFormat: Fix the documentation link to the AAC profile constants
2013-07-29 16:07:12 -07:00
Jean-Baptiste Queru
6c0fe0df4e Merge "MediaFormat: Fix the documentation link to the AAC profile constants" 2013-07-29 23:03:00 +00:00
Michael Wright
443feae63d am b0326880: Merge "Remove incorrect keymapping"
* commit 'b0326880a91a7c9761d56663bae559034df91e70':
  Remove incorrect keymapping
2013-07-29 15:56:38 -07:00
Michael Wright
b0326880a9 Merge "Remove incorrect keymapping" 2013-07-29 22:50:01 +00:00
Michael Wright
6fc03389c7 Remove incorrect keymapping
Turns out Snakebytes produce all 0s for their vendor / product IDs. This
somehow got the vendor / product ID of an international apple keyboard, which
will break them. Unfortunately, this also means we cannot map Snakebyte
controllers at all.

Relevant bug: https://code.google.com/p/android/issues/detail?id=58202

Change-Id: I09d246b1ab793ec04a19d558f6b98badac48b20f
2013-07-29 15:48:55 -07:00
Dirk Dougherty
c88e0211bc Merge "Doc change: clean up doc and fix image url." into jb-mr2-docs 2013-07-29 19:24:30 +00:00
Dirk Dougherty
cb5625f544 Doc change: clean up doc and fix image url.
Change-Id: I928177bb136815537779e6af47a9e8ee58357ed4
2013-07-29 12:15:05 -07:00
Scott Main
ca0f5e6332 Merge "docs: SDK / ADT 22.0.5 Release Notes" into jb-mr2-docs 2013-07-29 18:34:56 +00:00
Dirk Dougherty
d9065a5cc0 Doc change: fix typo.
Change-Id: I2f955a0c20ccf9012d910b07b351c627263b7aa0
2013-07-28 14:02:01 -07:00
Marco Nelissen
778029776b am 161b3624: Merge "Fix NullpointerException in MediaMetadataRetriever"
* commit '161b3624c2243cc5267287ebb5107cecffc918d1':
  Fix NullpointerException in MediaMetadataRetriever
2013-07-26 14:52:41 -07:00
Joe Fernandez
452ff480e3 docs: SDK / ADT 22.0.5 Release Notes
Includes some cleanup of the ADT and SDK Tools release notes
history.

Change-Id: Ic0be03b5fda72f9cde43f3fa7d5656d8b2706518
2013-07-26 14:29:44 -07:00
Marco Nelissen
161b3624c2 Merge "Fix NullpointerException in MediaMetadataRetriever" 2013-07-26 21:13:59 +00:00
Dirk Dougherty
446322323c Doc change: add gpg developer stories.
Change-Id: I3066019e7dc341e48c681f6e3089df334b9739a1
(cherry picked from commit 1698800c66b7c97f19ce8777dc79e7047f77e38f)
2013-07-26 19:55:39 +00:00
Roman Nurik
df16ce481c Under-the-hood improvements to Device Art Generator.
Use Canvas.toBlob with a polyfill, to avoid img src with massive data URLs, which causes some browsers to crash

Also change the resulting filename to be more appropriate, and make dragging-out to your desktop use this filename.

Change-Id: I13d8b4e119af8fecf567ecd6ccf3bb3e7b2d0fae
(cherry picked from commit 9da49f160612433e8ba562796ca5d6486ab48d83)
2013-07-26 18:46:16 +00:00
Mattias Petersson
1d766b5321 Add support for MNC=00
This adds support for operators with MNC (Mobile Network Code) zero
to add customized resources. For example, it makes it possible to
add a folder called "/res/values-mnc00/" in an application. This will
cause resources in that folder to be used when MNC is zero.
(There is a total of 14 countries that have an operator with MNC
zero.)

Without this fix, the resource framework gets confused, because MNC 0
is normally used when the MNC is undefined (not set).

Bug: 7170488
Change-Id: Icfd39fd0c739216e89446252ea0e7ceba6f002c6
2013-07-26 18:42:34 +00:00
Daniel Karlberg
8014cbffad Fixed a leaked partial wakelock in AbstractThreadedSyncAdapter.
This fix ensures that onFinished() is always called in a syncClient
even if the application lacks the READ_SYNC_SETTINGS permission.

Change-Id: I944717e71ceae06a665f8a3b1199b41d73e12da4
2013-07-26 18:19:48 +00:00
Oscar Rydhé
425916e4c5 Fix NullpointerException in MediaMetadataRetriever
According to the API documentation and the ICS implementation
the setDataSource(String) method throws an
IllegalArgumentException if path is null. In JB a
NullpointerException is thrown instead. This fix restores
the earlier behaviour.

Change-Id: Ic47baadf91076acc227d92d84f6b8d1d6ecd0c03
2013-07-26 18:18:17 +00:00
Scott Main
02dcb55a22 add "download" id to which the page scrolls when beginning ndk download
Change-Id: I5e708af7d4fcabd3d5d40ae4c7d4d9af326bec1b
2013-07-25 19:39:27 -07:00
Joe Fernandez
465c7c2610 DO NOT MERGE
cherrypick from jb-mr2-ub-dev
docs: NDK r9 Release Notes (w/download size fix)

This set of release notes adds adjustments to the NDK caused by
download size restrictions.

Change-Id: I17404c19a7faed9ea6e8f3034d460bcc3f5ee003
2013-07-25 18:03:38 -07:00
Joe Fernandez
7ec2cc57df docs: fix link bug in Support LIbrary Guide
external bug: http://code.google.com/p/android/issues/detail?id=58006

Change-Id: If02d17cb66dd018e49cd6b85433e93456574715e
2013-07-25 17:55:28 -07:00
Joe Fernandez
dfad4fbdde am 3febd463: Merge "docs: NDK r9 Release Notes (w/download size fix)" into jb-mr2-ub-dev
* commit '3febd463369b8595705170faf5fda52e27c8563b':
  docs: NDK r9 Release Notes (w/download size fix)
2013-07-25 17:47:32 -07:00
Joe Fernandez
3febd46336 Merge "docs: NDK r9 Release Notes (w/download size fix)" into jb-mr2-ub-dev 2013-07-26 00:44:56 +00:00
Joe Fernandez
2b7ab48dc4 docs: NDK r9 Release Notes (w/download size fix)
This set of release notes adds adjustments to the NDK caused by
download size restrictions.

Change-Id: I17404c19a7faed9ea6e8f3034d460bcc3f5ee003
2013-07-25 15:55:27 -07:00
Chet Haase
d766d71a4c am d547bcec: Merge "Return the actual interpolator of the ViewPropertyAnimator"
* commit 'd547bcec5634f99195a2b12522b6977f61c40d55':
  Return the actual interpolator of the ViewPropertyAnimator
2013-07-25 14:52:31 -07:00
Chet Haase
d547bcec56 Merge "Return the actual interpolator of the ViewPropertyAnimator" 2013-07-25 21:46:49 +00:00
Joe Fernandez
240966faf7 am 3d9e819c: docs: fix link bug in Support LIbrary Guide
* commit '3d9e819ca879117b357fa0097c412f10f2afe37a':
  docs: fix link bug in Support LIbrary Guide
2013-07-25 10:39:27 -07:00
Elliott Hughes
a35ec14f78 am 03bd8324: Merge "Switch DateUtils.formatDateRange over to an icu4c-based implementation."
* commit '03bd832461d02675d5a4c6a9c072bed18e81781e':
  Switch DateUtils.formatDateRange over to an icu4c-based implementation.
2013-07-25 10:26:32 -07:00
Elliott Hughes
03bd832461 Merge "Switch DateUtils.formatDateRange over to an icu4c-based implementation." 2013-07-25 17:19:35 +00:00
Joe Fernandez
3d9e819ca8 docs: fix link bug in Support LIbrary Guide
external bug: http://code.google.com/p/android/issues/detail?id=58006

Change-Id: If02d17cb66dd018e49cd6b85433e93456574715e
2013-07-25 10:17:19 -07:00
Martin Storsjo
816af56eac MediaFormat: Fix the documentation link to the AAC profile constants
Change-Id: If1780436baa2884cea05ccd8ab74745af790eb17
2013-07-25 12:53:46 +03:00
Cyril Mottier
d40acfb89e Return the actual interpolator of the ViewPropertyAnimator
The implementation of getInterpolator() was always returning null
(probably a quick copy-paste from the default Animator implementation).
This patch fixes the problem by returning the interpolator set by
setInterpolator(TimeInterpolator) or the default one if none has been
set yet.

This patch also avoid creating multiple instances of ValueAnimator in 
order to retrieve some default values.

Change-Id: I8880f419f021a8b980fb32bebe927915fde19bf7
2013-07-25 10:08:29 +02:00
Martin Storsjo
158754b1bf MediaFormat: Explain that KEY_COLOR_FORMAT is used with decoders as well
If reading the decoded pixel data (instead of letting the system
render it), this is critical for interpreting the data correctly.

The video MediaCodec CTS tests use this MediaFormat key in this
way as well.

Therefore, make sure the documentation reflects the actual use of
this field - claiming that it is encoder-only is misleading.

Change-Id: I9bfd295a95dd3e7d1fa3189886fd243b07bb82cc
2013-07-25 10:52:54 +03:00
Scott Main
a6cd436c0d am bde8ee81: remove UX process to open Recents bug: 10004058
* commit 'bde8ee81ba2595d4b0b2ab99b9f7df222b17cc34':
  remove UX process to open Recents bug: 10004058
2013-07-24 16:20:56 -07:00
Scott Main
0351de143e am 4a870646: Merge "fix xml markup typo" into jb-mr2-ub-dev
* commit '4a870646fa133c8bd8774ee14fc59aabdc9bdaa1':
  fix xml markup typo
2013-07-24 16:20:48 -07:00
Dirk Dougherty
64800b563b am ee8ea96c: am 38d4cfd4: Merge "Doc change: fix reference to getBestDateTimePattern()." into jb-mr2-dev
* commit 'ee8ea96c4ecbb1e52944a1d960584d0645af6d79':
  Doc change: fix reference to getBestDateTimePattern().
2013-07-24 16:20:45 -07:00
Dirk Dougherty
52b08aa9f3 am cbfde177: am ac6be105: Doc change: remove devices listed for vp8 hw encoder in highlights.
* commit 'cbfde177160b816ff56ab7b703b5f488578d6edb':
  Doc change: remove devices listed for vp8 hw encoder in highlights.
2013-07-24 16:20:40 -07:00
Scott Main
a56d1f5a22 am fc78f9ae: Merge "docs: small fixes for Support Library Guide" into jb-mr2-ub-dev
* commit 'fc78f9ae3da1d9b0de161c0ff28ac7f68691310c':
  docs: small fixes for Support Library Guide
2013-07-24 16:20:32 -07:00