OSDN Git Service

android-x86/frameworks-base.git
10 years agoMerge "Temporary detached views not properly reported to accessibility layer." into...
Svetoslav [Fri, 1 Nov 2013 00:44:49 +0000 (00:44 +0000)]
Merge "Temporary detached views not properly reported to accessibility layer." into klp-dev

10 years agoMerge "Uninitialized UiAutomationConnection incorrectly enforces caller id." into...
Svetoslav [Fri, 1 Nov 2013 00:31:02 +0000 (00:31 +0000)]
Merge "Uninitialized UiAutomationConnection incorrectly enforces caller id." into klp-dev

10 years agoTemporary detached views not properly reported to accessibility layer.
Svetoslav [Fri, 1 Nov 2013 00:25:01 +0000 (17:25 -0700)]
Temporary detached views not properly reported to accessibility layer.

A view may be temporary detached. While in this state the view
state may change for which we fire accessibility events. Clients
use them to know when the view changed and what the change is.
However, detached views do not fire accessibility events.
Hence, a client may hold a stale AccessibilityNodeInfo since
the changes to its source view happened in a temporary detached
state.

bug:11388752

Change-Id: I9052700ca9195841cc2881b65c17f5615e6f71fb

10 years agoMerge "Fix issue #11168649: LRU logic for Chrome renderers seems..." into klp-dev
Dianne Hackborn [Fri, 1 Nov 2013 00:18:12 +0000 (00:18 +0000)]
Merge "Fix issue #11168649: LRU logic for Chrome renderers seems..." into klp-dev

10 years agoFix issue #11168649: LRU logic for Chrome renderers seems...
Dianne Hackborn [Thu, 31 Oct 2013 23:32:44 +0000 (16:32 -0700)]
Fix issue #11168649: LRU logic for Chrome renderers seems...

...not to work on KitKat (was: Janky exit animation)

Reworking the LRU list (splitting it into an activity vs. empty
section) accidentally broken the old behavior of "client activity"
processes being prioritized with activity processes.  In fact, we
were no longer marking "client activity" processes at all.

In this change, we rework how we manage "client activity" processes
by putting them on the main activity LRU section.  This is generally
simple -- ActiveServices now keeps track of whether a process is
a "client activity" process based on its bindings, and updateLruProcess
treats these as regular activity processes.  However, we don't want
to allow processes doing this to spam our LRU list so that we lose
everything else, so there is some additional complexity in managing
that list where we spread client activity processes across is so
that the intermingle with other activity processes.

The rest of the change is fairly simple -- the old client activity
process management is gone, but that doesn't matter because it wasn't
actually running any more.  There is a new argument to updateLruProcess
to indicate a client process it comes from (since we now need to update
this based on bindings) which is just used to limit how high in the
LRU list we can move things.  The ProcessRecord.hasActivities field is
simply removied, because ProcessRecord.activities.size() > 0 means the
same thing, and that is actually what all of the key mechanisms are using
at this point.

Finally, note there is some commented out code of a new way to manage
the LRU movement.  This isn't in use, but something I would like to
move to in the next release so it is staying there for now for further
development.

Change-Id: Id8a21b4e32bb5aa9c8e7d443de4b658487cfbe18

10 years agoUninitialized UiAutomationConnection incorrectly enforces caller id.
Svetoslav [Thu, 31 Oct 2013 23:28:20 +0000 (16:28 -0700)]
Uninitialized UiAutomationConnection incorrectly enforces caller id.

When a client of a UiAutomationConnection is set it remembers its UID
and allows subsequent operations only from this UID. The connection
If the connection was not used, i.e. its client is not set, and an
attempt to destroy it is made the connection enforces the caller UID
to be that of the owner but it does not have an owner yet. Now if the
destroy method is called on a connection that is never used (has no
client) we do not enforce caller UID.

bug:11465888

Change-Id: I739dfc45e772ea970b6ab384e4420184724333a3

10 years agoMerge "Remove deprecated API calls to KeyguardManager from statusbar" into klp-dev
Jim Miller [Thu, 31 Oct 2013 22:22:57 +0000 (22:22 +0000)]
Merge "Remove deprecated API calls to KeyguardManager from statusbar" into klp-dev

10 years agoMerge "Cancel current work in PrintDocumentAdatper if printing is cancelled." into...
Svetoslav [Thu, 31 Oct 2013 21:42:06 +0000 (21:42 +0000)]
Merge "Cancel current work in PrintDocumentAdatper if printing is cancelled." into klp-dev

10 years agoMerge "Fix leak in TransitionInflater" into klp-dev
Chet Haase [Thu, 31 Oct 2013 21:38:21 +0000 (21:38 +0000)]
Merge "Fix leak in TransitionInflater" into klp-dev

10 years agoRemove deprecated API calls to KeyguardManager from statusbar
Jim Miller [Wed, 30 Oct 2013 20:58:11 +0000 (13:58 -0700)]
Remove deprecated API calls to KeyguardManager from statusbar

Fixes bug 11448304

Change-Id: I3049a20d9320af0425d7a8f08d5aa208e470e292

10 years agoCancel current work in PrintDocumentAdatper if printing is cancelled.
Svetoslav [Thu, 31 Oct 2013 21:27:16 +0000 (14:27 -0700)]
Cancel current work in PrintDocumentAdatper if printing is cancelled.

Layout and write may take some time during which the user can
cancel printing. Currently we wait for the last operation,
being write or layout, to complete before closing the print
dialog. Now in such a scenario we request a cancellation of
the ongoing operation.

bug:11329523

Change-Id: Ia9d747163cc73509369a86c8b5afc83b7ee54859

10 years agoFix leak in TransitionInflater
Chet Haase [Wed, 30 Oct 2013 13:37:29 +0000 (06:37 -0700)]
Fix leak in TransitionInflater

A static map in TransitionInflater keyed off of Context instances,
which could cause contexts/activities to leak over time. This
fix removes that map and simply creates a new inflater each time.
The savings of the cached inflater was minimal an unnecessary, and the
intended sharing is in the context embedded in the inflater anyway.

Issue #11436919 leak in TransitionInflator

Change-Id: Ic05ca47f57723bd572bb6143df4035d66eedf5ad

10 years agoMerge "Use HttpsURLConnection to by pass proxies." into klp-dev
Wink Saville [Thu, 31 Oct 2013 21:18:03 +0000 (21:18 +0000)]
Merge "Use HttpsURLConnection to by pass proxies." into klp-dev

10 years agoMerge "Doc change: fix url." into klp-dev
Dirk Dougherty [Thu, 31 Oct 2013 21:04:21 +0000 (21:04 +0000)]
Merge "Doc change: fix url." into klp-dev

10 years agoDoc change: fix url.
Dirk Dougherty [Thu, 31 Oct 2013 21:01:56 +0000 (14:01 -0700)]
Doc change: fix url.

Change-Id: Ie62406af515d43d0f4dbd0f89d06823612547dda

10 years agoMerge "Add ZIP download for DevBytes: Immersive Mode." into klp-dev
Scott Main [Thu, 31 Oct 2013 19:20:30 +0000 (19:20 +0000)]
Merge "Add ZIP download for DevBytes: Immersive Mode." into klp-dev

10 years agoMerge "Change PacProxySelector to return unresolved addr" into klp-dev
Jason Monk [Thu, 31 Oct 2013 18:43:53 +0000 (18:43 +0000)]
Merge "Change PacProxySelector to return unresolved addr" into klp-dev

10 years agoMerge "Move coalescing to callback, optimize KeyguardStatusView." into klp-dev
John Spurlock [Thu, 31 Oct 2013 18:41:07 +0000 (18:41 +0000)]
Merge "Move coalescing to callback, optimize KeyguardStatusView." into klp-dev

10 years agoChange PacProxySelector to return unresolved addr
Jason Monk [Wed, 30 Oct 2013 16:37:28 +0000 (12:37 -0400)]
Change PacProxySelector to return unresolved addr

This was found by a bug in Firefox where it expects the addresses from a
ProxySelector to be unresolved.  Since ProxySelectorImpl returns unresolved
addresses the PAC version should as well to avoid breaking apps.

The ProxyServer also needed to be updated to reflect this change as it was
expecting a resolved InetSocketAddress.

Bug: 11443853
Change-Id: I3a4e9e248d22d7808603c147660df708e01cdf82

10 years agoMerge "Revert "Fixed incorrect calculation of dirty invalidation area"" into klp-dev
Chris Craik [Thu, 31 Oct 2013 18:12:04 +0000 (18:12 +0000)]
Merge "Revert "Fixed incorrect calculation of dirty invalidation area"" into klp-dev

10 years agoRevert "Fixed incorrect calculation of dirty invalidation area"
Chris Craik [Thu, 31 Oct 2013 02:49:37 +0000 (19:49 -0700)]
Revert "Fixed incorrect calculation of dirty invalidation area"

bug:11351836

Because SeekBar's thumb Drawable (among others) is positioned without
padding offset baked in, include that offset when invalidating.

This revert fixes invalidate positioning in the system volume SeekBar,
where the original CL broke full redrawing of the thumb Drawable when
it switched states.

This reverts commit e9018f7716d3d2f61602c07c273674585482653d.

Change-Id: I5b3b07e47f466269f8d349e9a63dc29bf213120b

10 years agoMerge "Update ic_qs_ime assets to standard brightness." into klp-dev
John Spurlock [Thu, 31 Oct 2013 17:36:05 +0000 (17:36 +0000)]
Merge "Update ic_qs_ime assets to standard brightness." into klp-dev

10 years agoMerge "Doc change: adjust element spacing." into klp-dev
Dirk Dougherty [Thu, 31 Oct 2013 16:50:14 +0000 (16:50 +0000)]
Merge "Doc change: adjust element spacing." into klp-dev

10 years agoDoc change: adjust element spacing.
Dirk Dougherty [Thu, 31 Oct 2013 16:49:00 +0000 (09:49 -0700)]
Doc change: adjust element spacing.

Change-Id: I108dbf80e0be7af8ed9934a2fa39bba9cb080c8b

10 years agoMerge "Doc change: Update landing page for kitkat." into klp-dev
Dirk Dougherty [Thu, 31 Oct 2013 16:46:47 +0000 (16:46 +0000)]
Merge "Doc change: Update landing page for kitkat." into klp-dev

10 years agoDoc change: Update landing page for kitkat.
Dirk Dougherty [Sun, 20 Oct 2013 19:47:43 +0000 (12:47 -0700)]
Doc change: Update landing page for kitkat.

Change-Id: Ia552577811ed1cafe0a7c4f56bf0c1b55f8c61c0

10 years agoMerge "add HCE dev guide" into klp-dev
Scott Main [Thu, 31 Oct 2013 16:38:14 +0000 (16:38 +0000)]
Merge "add HCE dev guide" into klp-dev

10 years agoadd HCE dev guide
Scott Main [Thu, 31 Oct 2013 16:06:59 +0000 (09:06 -0700)]
add HCE dev guide

Change-Id: I48c196f7f4577304b660c52ba5cd847c0cabfaff

10 years agoMerge "docs: Code Samples landing page - listing fix" into klp-dev
Joe Fernandez [Thu, 31 Oct 2013 16:34:11 +0000 (16:34 +0000)]
Merge "docs: Code Samples landing page - listing fix" into klp-dev

10 years agodocs: Code Samples landing page - listing fix
Joe Fernandez [Thu, 31 Oct 2013 16:26:43 +0000 (09:26 -0700)]
docs: Code Samples landing page - listing fix

Change-Id: Id63110642e37bb9232cd1397acf9f47137cd2659

10 years agoMerge "Wrong index while dumping the print sub-system's state." into klp-dev
Svetoslav Ganov [Thu, 31 Oct 2013 16:25:21 +0000 (16:25 +0000)]
Merge "Wrong index while dumping the print sub-system's state." into klp-dev

10 years agoMerge "Update the PdfDocument docs with unsupported operations." into klp-dev
Svetoslav Ganov [Thu, 31 Oct 2013 15:54:16 +0000 (15:54 +0000)]
Merge "Update the PdfDocument docs with unsupported operations." into klp-dev

10 years agoWrong index while dumping the print sub-system's state.
Svetoslav Ganov [Thu, 31 Oct 2013 15:45:20 +0000 (08:45 -0700)]
Wrong index while dumping the print sub-system's state.

The wrong method was used when getting the user states to dump
and as a result only the state for the current user was dumped
as we get an exception for the other users.

bug:11457875

Change-Id: I9a3bcac01f1f1cf4f6e72aefff7cff2e0c6bca94

10 years agoUpdate the PdfDocument docs with unsupported operations.
Svetoslav Ganov [Thu, 31 Oct 2013 03:52:04 +0000 (20:52 -0700)]
Update the PdfDocument docs with unsupported operations.

The PDF generating canvas we use does not yet support all
drawing operations. This change adds docs which operations
are not yet supported.

Change-Id: I8d5ee8c1e2a473ba783b5e62f23ab90a54bbf106

10 years agoMerge "docs: Sample Code landing page - typo fixes" into klp-dev
Joe Fernandez [Thu, 31 Oct 2013 14:53:26 +0000 (14:53 +0000)]
Merge "docs: Sample Code landing page - typo fixes" into klp-dev

10 years agoMove coalescing to callback, optimize KeyguardStatusView.
John Spurlock [Wed, 30 Oct 2013 23:40:48 +0000 (19:40 -0400)]
Move coalescing to callback, optimize KeyguardStatusView.

Move the recent keyguard hidden coalescing down to the callback
level.  The lifetime of each callback can be short, make sure
they see visibility changes at least once for each change local
to their lifetime.

KeyguardStatusView.refresh() is called multiple times, and instances
are recreated often.  This results in expensive computations
filling the sysui/keyguard ui queue, adding to overall sluggishness.
Traceview points to DateFormat.getBestDateTimePattern as the
main culprit.

As of this change, refresh() will only call the expensive date pattern
computations when absolutely necessary, resulting in better
performance turning the screen off/on.

Bug:11221659
Bug:11447043
Change-Id: I3d4105af7db608803b82d8ef0ff141e42c154257

10 years agoMerge "add static landing pages for sample topics" into klp-dev
Scott Main [Thu, 31 Oct 2013 14:22:12 +0000 (14:22 +0000)]
Merge "add static landing pages for sample topics" into klp-dev

10 years agodocs: Sample Code landing page - typo fixes
Joe Fernandez [Thu, 31 Oct 2013 14:21:39 +0000 (07:21 -0700)]
docs: Sample Code landing page - typo fixes

Change-Id: I73e1be3e03bf4d217871cfe273489702292eb4c8

10 years agoadd static landing pages for sample topics
Scott Main [Thu, 31 Oct 2013 14:19:54 +0000 (07:19 -0700)]
add static landing pages for sample topics

Change-Id: I76c04e7916977d426c4d02554f2eb36309996cf4

10 years agoMerge "Doc change: Design guidelines update." into klp-dev
Dirk Dougherty [Thu, 31 Oct 2013 14:07:58 +0000 (14:07 +0000)]
Merge "Doc change: Design guidelines update." into klp-dev

10 years agoDoc change: Design guidelines update.
Dirk Dougherty [Sat, 19 Oct 2013 18:43:41 +0000 (11:43 -0700)]
Doc change: Design guidelines update.

Change-Id: Id37c0bfc1fe7e2c7156aab0ec85df123534c8c96
Bug-id: 11252971 11256762 11256765 11257156 11257769 11276296 11293924 11324992

10 years agoUse HttpsURLConnection to by pass proxies.
Wink Saville [Thu, 31 Oct 2013 13:35:22 +0000 (06:35 -0700)]
Use HttpsURLConnection to by pass proxies.

In isMobileOk attempting to connect to clients3.google.com/generate_204 we
sometimes see a proxy server will not let the connection go to our
server and instead returns 200 instead of 204. By using Https we by pass
proxy servers and we will always connected to our server.

The number of loops is increased from 3 to 4 and half the the retires
will use Http and half will use Https.

I also, added mTestingFailures which can be set to true by setting
persist.checkmp.testfailures to 1. This will cause checkMobileProvisiong
to always fail so we can test https & http.

Bug: 9972012
Change-Id: I870606037dcffe5250843980517ac52218266e02

10 years agoMerge "Catch MissingResourceException caused by bad locale in TTS." into klp-dev
Przemyslaw Szczepaniak [Thu, 31 Oct 2013 12:40:30 +0000 (12:40 +0000)]
Merge "Catch MissingResourceException caused by bad locale in TTS." into klp-dev

10 years agoDoc change: Updates to platform highlights.
Dirk Dougherty [Thu, 31 Oct 2013 09:31:42 +0000 (02:31 -0700)]
Doc change: Updates to platform highlights.

Change-Id: I7c4a5f8104dd1887fcac32a525301572243cdb81

10 years agoMerge "Enable samples browsing in builds." into klp-dev
Dirk Dougherty [Thu, 31 Oct 2013 09:09:02 +0000 (09:09 +0000)]
Merge "Enable samples browsing in builds." into klp-dev

10 years agodocs: Sample Code landing page
Joe Fernandez [Thu, 31 Oct 2013 06:22:52 +0000 (23:22 -0700)]
docs: Sample Code landing page

Change-Id: Id9979885357cae410fdb7c034321aa902b331267

10 years agoEnable samples browsing in builds.
Dirk Dougherty [Wed, 30 Oct 2013 07:22:16 +0000 (00:22 -0700)]
Enable samples browsing in builds.

Change-Id: Ic47ef693dd5b2cd4010e68a600cae3b88d426bd2

10 years agodocs: SDK-ADT 22.3 RC5 - updated signatures
Joe Fernandez [Thu, 31 Oct 2013 04:49:59 +0000 (21:49 -0700)]
docs: SDK-ADT 22.3 RC5 - updated signatures

Updated the sizes and signatures for packaged downloads

Change-Id: I6abdc943132a0c6d7248b06736efe7ce934c43a1

10 years agoMerge "docs: Add screenrecord command to adb docs" into klp-dev
Joe Fernandez [Thu, 31 Oct 2013 04:32:14 +0000 (04:32 +0000)]
Merge "docs: Add screenrecord command to adb docs" into klp-dev

10 years agodocs: Add screenrecord command to adb docs
Joe Fernandez [Thu, 31 Oct 2013 01:26:00 +0000 (18:26 -0700)]
docs: Add screenrecord command to adb docs

Change-Id: I27d02d867aed46426e1bde5aa383f69e91bf7b15

10 years agoMerge "docs: Print API training for KitKat release" into klp-dev
Joe Fernandez [Thu, 31 Oct 2013 03:45:32 +0000 (03:45 +0000)]
Merge "docs: Print API training for KitKat release" into klp-dev

10 years agodocs: Print API training for KitKat release
Joe Fernandez [Tue, 29 Oct 2013 08:55:12 +0000 (01:55 -0700)]
docs: Print API training for KitKat release

Change-Id: Ifbe40961d4f4a6d4c0546c621174ec45c2a30911

10 years agoadd API overview for Android 4.4
Scott Main [Thu, 31 Oct 2013 02:38:35 +0000 (19:38 -0700)]
add API overview for Android 4.4

Change-Id: I92d3cab755a65da1ee3633a69122e5be1fafc6e9

10 years agoDoc change: Platform highlights for Android 4.4.
Dirk Dougherty [Sat, 26 Oct 2013 06:41:20 +0000 (23:41 -0700)]
Doc change: Platform highlights for Android 4.4.

Change-Id: Ic82ca92c224bdc72bdef5f2fcd7921bc17a601a8

10 years agoMerge "add doc about migrating to new WebView in KLP" into klp-dev
Scott Main [Thu, 31 Oct 2013 00:57:30 +0000 (00:57 +0000)]
Merge "add doc about migrating to new WebView in KLP" into klp-dev

10 years agoMerge "Doc change: new Storage Access Framework doc" into klp-dev
Katie McCormick [Thu, 31 Oct 2013 00:26:24 +0000 (00:26 +0000)]
Merge "Doc change: new Storage Access Framework doc" into klp-dev

10 years agoam 18ffec85: am 928bc43f: am ab642495: Merge "Doc update: Managing System UI class...
Katie McCormick [Wed, 30 Oct 2013 23:41:50 +0000 (16:41 -0700)]
am 18ffec85: am 928bc43f: am ab642495: Merge "Doc update: Managing System UI class" into jb-mr2-docs

* commit '18ffec8582b7fed897db12358b464ccfb56808df':
  Doc update: Managing System UI class

10 years agoam 928bc43f: am ab642495: Merge "Doc update: Managing System UI class" into jb-mr2...
Katie McCormick [Wed, 30 Oct 2013 23:38:58 +0000 (16:38 -0700)]
am 928bc43f: am ab642495: Merge "Doc update: Managing System UI class" into jb-mr2-docs

* commit '928bc43fb96400b4b4cc32a1b269781f0ea2da45':
  Doc update: Managing System UI class

10 years agoam ab642495: Merge "Doc update: Managing System UI class" into jb-mr2-docs
Katie McCormick [Wed, 30 Oct 2013 23:33:31 +0000 (16:33 -0700)]
am ab642495: Merge "Doc update: Managing System UI class" into jb-mr2-docs

* commit 'ab6424959ca0dd765f37944dbeaa59a50b99d7a4':
  Doc update: Managing System UI class

10 years agoMerge "add filler version of sidenav that will be removed by javascript. This is...
Scott Main [Wed, 30 Oct 2013 23:32:36 +0000 (23:32 +0000)]
Merge "add filler version of sidenav that will be removed by javascript. This is simply to reduce the perceived load time, which was previously high because the sidenav was mostly empty." into klp-dev

10 years agoMerge "Doc update: Managing System UI class" into jb-mr2-docs
Katie McCormick [Wed, 30 Oct 2013 23:30:44 +0000 (23:30 +0000)]
Merge "Doc update: Managing System UI class" into jb-mr2-docs

10 years agoadd filler version of sidenav that will be removed by javascript.
Scott Main [Wed, 30 Oct 2013 23:21:01 +0000 (16:21 -0700)]
add filler version of sidenav that will be removed by javascript.
This is simply to reduce the perceived load time, which was previously
high because the sidenav was mostly empty.

Change-Id: Icf0feeb13988efc023ff7eeca0272eb527c874fd

10 years agoDoc update: Managing System UI class
Katie McCormick [Fri, 27 Sep 2013 22:52:14 +0000 (15:52 -0700)]
Doc update: Managing System UI class

Change-Id: I8c8f8864411a4be64426e347351690078c922c1c

10 years agoDoc change: new Storage Access Framework doc
Katie McCormick [Sun, 27 Oct 2013 21:47:18 +0000 (14:47 -0700)]
Doc change: new Storage Access Framework doc

Change-Id: I53393bfbadaf7cd5be95a7b252a2f4b060554db5

10 years agoMerge "docs: NDK r9b Release Notes" into klp-dev
Joe Fernandez [Wed, 30 Oct 2013 22:12:57 +0000 (22:12 +0000)]
Merge "docs: NDK r9b Release Notes" into klp-dev

10 years agoadd doc about migrating to new WebView in KLP
Scott Main [Wed, 30 Oct 2013 00:56:00 +0000 (17:56 -0700)]
add doc about migrating to new WebView in KLP

Change-Id: Ib36c3ff58642166dfbc1b36b41f1c732c7d9a70d

10 years agoMerge "Save and restore media metadata." into klp-dev
Craig Mautner [Wed, 30 Oct 2013 21:05:59 +0000 (21:05 +0000)]
Merge "Save and restore media metadata." into klp-dev

10 years agoMerge "Simplify IME policy and enforce in binder calls." into klp-dev
John Spurlock [Wed, 30 Oct 2013 20:45:34 +0000 (20:45 +0000)]
Merge "Simplify IME policy and enforce in binder calls." into klp-dev

10 years agoMerge "Doc change: Google Play services 4.0 reference docs." into klp-dev
Dirk Dougherty [Wed, 30 Oct 2013 20:13:36 +0000 (20:13 +0000)]
Merge "Doc change: Google Play services 4.0 reference docs." into klp-dev

10 years agoDoc change: Google Play services 4.0 reference docs.
Dirk Dougherty [Wed, 30 Oct 2013 05:25:12 +0000 (22:25 -0700)]
Doc change: Google Play services 4.0 reference docs.

Change-Id: I61c536a80a720364eadec727b9c870d5b869be1a

10 years agoMerge "Don't crash when preferred activity settings are malformed" into klp-dev
Christopher Tate [Wed, 30 Oct 2013 19:18:28 +0000 (19:18 +0000)]
Merge "Don't crash when preferred activity settings are malformed" into klp-dev

10 years agoMerge "Make wallpaper cropper more robust " into klp-dev
Michael Jurka [Wed, 30 Oct 2013 18:01:56 +0000 (18:01 +0000)]
Merge "Make wallpaper cropper more robust " into klp-dev

10 years agoSave and restore media metadata.
Craig Mautner [Wed, 30 Oct 2013 17:29:38 +0000 (10:29 -0700)]
Save and restore media metadata.

Do not lose media information when configuration changes. Also, do not
wipe out that saved information when the RemoteController is
reconstructed.

Fixes bug 11293859.

Change-Id: Id9e539367bfda2cc6833dc61c922c57ae45dd7b7

10 years agoMerge "Do not fetch tasks that don't have activities." into klp-dev
Craig Mautner [Wed, 30 Oct 2013 17:13:19 +0000 (17:13 +0000)]
Merge "Do not fetch tasks that don't have activities." into klp-dev

10 years agoMerge "Move READ_EXTERNAL_STORAGE to storage group." into klp-dev
Jeff Sharkey [Wed, 30 Oct 2013 16:21:50 +0000 (16:21 +0000)]
Merge "Move READ_EXTERNAL_STORAGE to storage group." into klp-dev

10 years agodocs: NDK r9b Release Notes
Joe Fernandez [Thu, 24 Oct 2013 16:55:18 +0000 (09:55 -0700)]
docs: NDK r9b Release Notes

for NDK release coinciding with Android KitKat release

Change-Id: I0db919b5627bb8a5fe9203f70464f17d29cf85ee

10 years agoMerge "docs: Support Library r19 Release Notes" into klp-dev
Joe Fernandez [Wed, 30 Oct 2013 16:14:54 +0000 (16:14 +0000)]
Merge "docs: Support Library r19 Release Notes" into klp-dev

10 years agoMerge "docs: SDK-ADT 22.3 Release Notes" into klp-dev
Joe Fernandez [Wed, 30 Oct 2013 16:14:11 +0000 (16:14 +0000)]
Merge "docs: SDK-ADT 22.3 Release Notes" into klp-dev

10 years agoMerge "docs: Android 4.4 platform version release notes" into klp-dev
Joe Fernandez [Wed, 30 Oct 2013 16:13:11 +0000 (16:13 +0000)]
Merge "docs: Android 4.4 platform version release notes" into klp-dev

10 years agoAdd ZIP download for DevBytes: Immersive Mode.
Roman Nurik [Wed, 30 Oct 2013 16:10:08 +0000 (12:10 -0400)]
Add ZIP download for DevBytes: Immersive Mode.

Source code change ID: I3515e2742a4b8285f7e3f7c214af1d43dde605a0

Change-Id: I65db990cc803c4f802c321bb21d3f121ca7eee1a

10 years agoMerge "Force relayout at completion of status bar animation" into klp-dev
Craig Mautner [Wed, 30 Oct 2013 13:58:31 +0000 (13:58 +0000)]
Merge "Force relayout at completion of status bar animation" into klp-dev

10 years agoMake wallpaper cropper more robust
Michael Jurka [Wed, 30 Oct 2013 13:40:39 +0000 (14:40 +0100)]
Make wallpaper cropper more robust

- don't crash if image passed to wallpaper picker
is invalid
- close input streams correctly

Bug: 11413915
Bug: 11380658
Bug: 11362731

10 years agoUpdate ic_qs_ime assets to standard brightness.
John Spurlock [Wed, 30 Oct 2013 13:35:22 +0000 (09:35 -0400)]
Update ic_qs_ime assets to standard brightness.

Bug:11412369
Change-Id: I582f4dfc28eb7453d67c5fe9c1b90a38ad756666

10 years agoCatch MissingResourceException caused by bad locale in TTS.
Przemyslaw Szczepaniak [Fri, 20 Sep 2013 14:29:25 +0000 (15:29 +0100)]
Catch MissingResourceException caused by bad locale in TTS.

Malformed locale objects will throw MissingResourceException
from getISO3Country() and getISO3Language() methods.

This change guard against the case where device default locale is
malformed and user tries to get TTS default locale (b/10814409)
and case where user tries to pass bad locale as argument to
TextToSpeech.getFeatures method (b/10494193).

Bug:11429552
Bug:10494193
Bug:10814409
Change-Id: Ie54d5d30bb042324da0c0d19b77c3a932c5642f7
(cherry picked from commit 58f16653728417100c61b5cb63298e0e3bb528dc)

10 years agoMerge "doc change: Update Google Play Services pages for gouda." into klp-dev
Dirk Dougherty [Wed, 30 Oct 2013 04:21:51 +0000 (04:21 +0000)]
Merge "doc change: Update Google Play Services pages for gouda." into klp-dev

10 years agoMerge "Doc change: add new list of browseable samples and sample groups." into klp-dev
Dirk Dougherty [Wed, 30 Oct 2013 04:16:18 +0000 (04:16 +0000)]
Merge "Doc change: add new list of browseable samples and sample groups." into klp-dev

10 years agoDoc change: add new list of browseable samples and sample groups.
Dirk Dougherty [Wed, 30 Oct 2013 03:59:20 +0000 (20:59 -0700)]
Doc change: add new list of browseable samples and sample groups.

Change-Id: I5f0c6899a34ada9f8dfc492f849c9e03203bc920

10 years agoMerge "Doc change: Add diff report for API level 19." into klp-dev
Dirk Dougherty [Wed, 30 Oct 2013 03:33:46 +0000 (03:33 +0000)]
Merge "Doc change: Add diff report for API level 19." into klp-dev

10 years agoMerge "Add an intermediate dimens resource for 540dp device." into klp-dev
Jim Miller [Wed, 30 Oct 2013 02:44:10 +0000 (02:44 +0000)]
Merge "Add an intermediate dimens resource for 540dp device." into klp-dev

10 years agodoc change: Update Google Play Services pages for gouda.
Dirk Dougherty [Mon, 21 Oct 2013 05:54:04 +0000 (22:54 -0700)]
doc change: Update Google Play Services pages for gouda.

Change-Id: I222c353a204fcf4594fd8b074889311b67b65ff7

10 years agoDon't crash when preferred activity settings are malformed
Christopher Tate [Wed, 30 Oct 2013 00:42:26 +0000 (17:42 -0700)]
Don't crash when preferred activity settings are malformed

We also now ignore attempts to set preferred resolutions with
intent filters for which no actions are defined.

Bug 11392870

Change-Id: If0d0b37bf01b59463985441edfc2bddd070bfc2a

10 years agoMove READ_EXTERNAL_STORAGE to storage group.
Jeff Sharkey [Wed, 30 Oct 2013 00:20:48 +0000 (17:20 -0700)]
Move READ_EXTERNAL_STORAGE to storage group.

Bug: 11437351
Change-Id: I460a3ee7860e8591e601eec7d390c3ca7eed1be6

10 years agoMerge "Always initialize local boolean variables when possible" into klp-dev
Michael Wright [Tue, 29 Oct 2013 23:53:55 +0000 (23:53 +0000)]
Merge "Always initialize local boolean variables when possible" into klp-dev

10 years agoDoc change: Add diff report for API level 19.
Dirk Dougherty [Wed, 23 Oct 2013 06:52:18 +0000 (23:52 -0700)]
Doc change: Add diff report for API level 19.

Change-Id: I86ccb6cd8e0dbb3bd7115fd619668a2b72bc15b7

10 years agoAdd an intermediate dimens resource for 540dp device.
Jim Miller [Tue, 29 Oct 2013 23:19:12 +0000 (16:19 -0700)]
Add an intermediate dimens resource for 540dp device.

A 540dp device causes keyguard to select SlidingChallengeLayout
and a height of 400dp which isn't enough space for the security
area.  This fix adds an intermediate value to grow the security
area slightly.

Fixes bug 11344424

Change-Id: I35c979f619c593b604e4bf45afd3e591329229e4

10 years agoMerge "am: Increase dropbox buffer size to 256KB (from 128KB)" into klp-dev
Igor Murashkin [Tue, 29 Oct 2013 21:20:53 +0000 (21:20 +0000)]
Merge "am: Increase dropbox buffer size to 256KB (from 128KB)" into klp-dev

10 years agoAlways initialize local boolean variables when possible
Michael Wright [Tue, 29 Oct 2013 20:24:41 +0000 (13:24 -0700)]
Always initialize local boolean variables when possible

It's currently possible to reference deviceModeChanged in InputReader
while it's in an unknown state. Change the style of initialization
here and a few other places to better prevent this type of error.

Bug: 11433748
Change-Id: Ib332406aefb7cdb16b6a21e00dceaeca34679853

10 years agoMerge "Optimize sysui ui queue during keyguard unlock." into klp-dev
John Spurlock [Tue, 29 Oct 2013 20:55:04 +0000 (20:55 +0000)]
Merge "Optimize sysui ui queue during keyguard unlock." into klp-dev

10 years agoMerge "Mention external storage changes in KITKAT docs." into klp-dev
Jeff Sharkey [Tue, 29 Oct 2013 20:46:40 +0000 (20:46 +0000)]
Merge "Mention external storage changes in KITKAT docs." into klp-dev

10 years agoMerge "Suppress OperationCanceledException logging." into klp-dev
Jeff Sharkey [Tue, 29 Oct 2013 20:46:39 +0000 (20:46 +0000)]
Merge "Suppress OperationCanceledException logging." into klp-dev