OSDN Git Service

android-x86/frameworks-base.git
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 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 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

10 years agoMerge "Update QS settings icon, remove unused location icon." into klp-dev
John Spurlock [Tue, 29 Oct 2013 20:21:49 +0000 (20:21 +0000)]
Merge "Update QS settings icon, remove unused location icon." into klp-dev

10 years agoMerge "Speculatively schedule input consumption" into klp-dev
Michael Wright [Tue, 29 Oct 2013 20:20:45 +0000 (20:20 +0000)]
Merge "Speculatively schedule input consumption" into klp-dev

10 years agoMention external storage changes in KITKAT docs.
Jeff Sharkey [Tue, 29 Oct 2013 19:21:23 +0000 (12:21 -0700)]
Mention external storage changes in KITKAT docs.

Bug: 11388971
Change-Id: I97145472948867f54125f1d0f0237bf3b339535e

10 years agoSuppress OperationCanceledException logging.
Jeff Sharkey [Tue, 29 Oct 2013 18:56:37 +0000 (11:56 -0700)]
Suppress OperationCanceledException logging.

These exceptions are normal when an app has cancelled an outstanding
thumbnail request.

Bug: 11385378
Change-Id: I8aed5721b447cda5baf447ac7afd627aa1062863

10 years agoMerge "Guard against missing document columns." into klp-dev
Jeff Sharkey [Tue, 29 Oct 2013 18:53:40 +0000 (18:53 +0000)]
Merge "Guard against missing document columns." into klp-dev

10 years agoGuard against missing document columns.
Jeff Sharkey [Tue, 29 Oct 2013 18:48:26 +0000 (11:48 -0700)]
Guard against missing document columns.

When filtering and sorting, guard against missing columns to avoid
crashing entire app.

Bug: 11377065
Change-Id: I04f035c918d743bcc84592f05e3ef9ad0ebfadce

10 years agoDoc change: fix docs build.
Dirk Dougherty [Tue, 29 Oct 2013 18:33:33 +0000 (11:33 -0700)]
Doc change: fix docs build.

Change-Id: Ifdb25d52629e62b0e909aa3ac00bff4df257ffd2

10 years agoOptimize sysui ui queue during keyguard unlock.
John Spurlock [Tue, 29 Oct 2013 18:23:51 +0000 (14:23 -0400)]
Optimize sysui ui queue during keyguard unlock.

Target the two biggest offenders:
 - Coalesce keyguard setHidden(false) calls during unlock.
 - Make sysui->WM call async.

Found during investigation into b/11221659.

Bug: 11221659
Change-Id: Icab48376bc356a933e0f9940bc2f924e2e77ab22

10 years agoMerge "Doc change: Add update ProGuard keep rules for Google Play Services." into...
Dirk Dougherty [Tue, 29 Oct 2013 17:40:49 +0000 (17:40 +0000)]
Merge "Doc change: Add update ProGuard keep rules for Google Play Services." into klp-dev

10 years agoMerge "show duration instead of remaining time." into klp-dev
Chris Wren [Tue, 29 Oct 2013 17:37:29 +0000 (17:37 +0000)]
Merge "show duration instead of remaining time." into klp-dev

10 years agoMerge "reduce garbage generation in KeyguardTransportControlView." into klp-dev
Chris Wren [Tue, 29 Oct 2013 17:37:13 +0000 (17:37 +0000)]
Merge "reduce garbage generation in KeyguardTransportControlView." into klp-dev

10 years agoshow duration instead of remaining time.
Chris Wren [Tue, 29 Oct 2013 17:19:54 +0000 (13:19 -0400)]
show duration instead of remaining time.

Bug: 11351406
Change-Id: I1238408c439f9cd12382d9a0889321bbb75618d3

10 years agoreduce garbage generation in KeyguardTransportControlView.
Chris Wren [Tue, 29 Oct 2013 17:04:00 +0000 (13:04 -0400)]
reduce garbage generation in KeyguardTransportControlView.

Bug: 11243508
Change-Id: I8315c27faf935d2465b3ce9e958e6edee00a4d4d

10 years agoMerge "Share pack historical sorting using wrong keys." into klp-dev
Svetoslav [Tue, 29 Oct 2013 15:24:14 +0000 (15:24 +0000)]
Merge "Share pack historical sorting using wrong keys." into klp-dev

10 years agoMerge "Not show share targets that cannot be launched." into klp-dev
Svetoslav [Tue, 29 Oct 2013 15:23:26 +0000 (15:23 +0000)]
Merge "Not show share targets that cannot be launched." into klp-dev

10 years agoMerge "Load wallpaper images on a bg thread" into klp-dev
Michael Jurka [Tue, 29 Oct 2013 11:41:47 +0000 (11:41 +0000)]
Merge "Load wallpaper images on a bg thread" into klp-dev

10 years agoDoc change: Add update ProGuard keep rules for Google Play Services.
Dirk Dougherty [Wed, 23 Oct 2013 06:55:22 +0000 (23:55 -0700)]
Doc change: Add update ProGuard keep rules for Google Play Services.

Change-Id: I39cc32c821659b82a4ebf800632571d6beaf5474
Bug-Id: 11336556

10 years agoShare pack historical sorting using wrong keys.
Svetoslav [Tue, 29 Oct 2013 01:38:14 +0000 (18:38 -0700)]
Share pack historical sorting using wrong keys.

The ActivityChooserModel keeps a history of the last fifty
share targets and based on past usage orders the targets in
the UI. The soring implementation is using a map for improving
performance. However, the activities in this map were keyed
on the package name but there maybe more that one share
target per package. Thus, the sorting was generating bad
results. Now the unique component name is used.

bug:11195578

Change-Id: I8c7018fea168b7253ddbe57b477028368726e75e

10 years agoMerge "Displaying Bitmaps Efficiently Training - updates for KitKat inBitmap changes...
Adam Koch [Tue, 29 Oct 2013 00:17:02 +0000 (00:17 +0000)]
Merge "Displaying Bitmaps Efficiently Training - updates for KitKat inBitmap changes Bug: 10411797" into klp-dev

10 years agoDisplaying Bitmaps Efficiently Training - updates for KitKat inBitmap changes
Adam Koch [Fri, 25 Oct 2013 19:28:41 +0000 (15:28 -0400)]
Displaying Bitmaps Efficiently Training - updates for KitKat inBitmap changes
Bug: 10411797

Change-Id: I720d3ade42da31400a6cc7c7ce9e15793f836363

10 years agoNot show share targets that cannot be launched.
Svetoslav [Mon, 28 Oct 2013 22:22:14 +0000 (15:22 -0700)]
Not show share targets that cannot be launched.

This changes filters out share targets that we cannot start
because the target does not properly implement the SEND protocol
and has either share target activity hidden or requires a
permission to launch it. Also the code that launches the share
target activity catches the runtime exception and shows an error
message. Note that being able to launch an activity in a moment
of time is not a guarantee that one can do that latter. Hence,
being able to launch an activity while building the share UI
does not guarantee that one can launch it when selecting the
share target.

bug:11402139

Change-Id: Id35732510755b2eeb9eccacc046d289c2f2ee856

10 years agoUpdate javadoc to fix the build.
Svetoslav [Mon, 28 Oct 2013 22:56:48 +0000 (15:56 -0700)]
Update javadoc to fix the build.

Change-Id: Ib6e8c17f10a7f17785876681baf8fb07eac9af55

10 years agoMerge "Complete implementation of the advanced print options." into klp-dev
Svetoslav [Mon, 28 Oct 2013 22:07:03 +0000 (22:07 +0000)]
Merge "Complete implementation of the advanced print options." into klp-dev

10 years agoMerge "MediaPlayer: MTP: update state only based on source events" into klp-dev
Lajos Molnar [Mon, 28 Oct 2013 21:59:55 +0000 (21:59 +0000)]
Merge "MediaPlayer: MTP: update state only based on source events" into klp-dev

10 years agoMerge "Fix issue #11391003: Allow dumpsys meminfo to be used with native processes...
Dianne Hackborn [Mon, 28 Oct 2013 21:59:18 +0000 (21:59 +0000)]
Merge "Fix issue #11391003: Allow dumpsys meminfo to be used with native processes" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Mon, 28 Oct 2013 19:34:13 +0000 (19:34 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Mon, 28 Oct 2013 19:33:46 +0000 (19:33 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Mon, 28 Oct 2013 19:33:31 +0000 (19:33 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoComplete implementation of the advanced print options.
Svetoslav [Sat, 26 Oct 2013 01:57:43 +0000 (18:57 -0700)]
Complete implementation of the advanced print options.

1. Implemented the advanced printer options integration. Now a print service
    may declare an advanced print options activity which may be launched by
    the user if the current printer supports advanced print options. These options
    are visible only to the print service that added them and it is the only party
    that will interpret the options.

2. Fixed a couple of bugs in the saved print jobs parsing. One was that if there
    are more than one page range, a half of the print job properties was not
    properly parsed. The other was that the media size constructor was using
    incorrect argument order, thus creating a media size with wring width.

3. Fixed and edge case where old print jobs and their docs can get stuck in
    the spooler. If the app did not write the requested pages we were not showing
    an error message, rather just finish the activity without canceling the print
    job and this print job is stuck in the spooler. Now we show an error message
    and the user may retry, cancel. If the user cancels the print job is also
    cancelled, thus no leftover in the spooler.

4. Fixed the background color of the print dialog to meet UX spec.

bug:11241800

Change-Id: I352440bc86aec824a805883fc9579d96a06d11e6

10 years agoMerge "Always re-evaluate kernel alarm setpoints when a new alarm is added" into...
Christopher Tate [Mon, 28 Oct 2013 18:16:27 +0000 (18:16 +0000)]
Merge "Always re-evaluate kernel alarm setpoints when a new alarm is added" into klp-dev

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 28 Oct 2013 17:45:56 +0000 (10:45 -0700)]
Import translations. DO NOT MERGE

Change-Id: I1ef363e676ff75e85aece9789cdb7c86b55281d3
Auto-generated-cl: translation import

10 years agoAlways re-evaluate kernel alarm setpoints when a new alarm is added
Christopher Tate [Sat, 26 Oct 2013 03:18:03 +0000 (20:18 -0700)]
Always re-evaluate kernel alarm setpoints when a new alarm is added

...even if the new one is later than some other existing alarms.

Bug 11392699

Change-Id: I80dccd76300acb4729f0337665b91e897a770571

10 years agoMerge "Do not show roaming icon for Videotron operator when access Canada network...
Vineeta Srivastava [Mon, 28 Oct 2013 16:48:53 +0000 (16:48 +0000)]
Merge "Do not show roaming icon for Videotron operator when access Canada network" into klp-dev

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 28 Oct 2013 16:47:23 +0000 (09:47 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ic80d15c427e2f67465a6c45ab08d0ffcb618ae62
Auto-generated-cl: translation import

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 28 Oct 2013 16:19:49 +0000 (09:19 -0700)]
Import translations. DO NOT MERGE

Change-Id: I74c7510762c6c2591784ea2997695449f8aa2e53
Auto-generated-cl: translation import

10 years agoMediaPlayer: MTP: update state only based on source events
Lajos Molnar [Mon, 28 Oct 2013 14:16:41 +0000 (07:16 -0700)]
MediaPlayer: MTP: update state only based on source events

State only depends on events from the MediaPlayer (this includes
the pseudo-event from MTP recovery mechanism.)

Change-Id: Idd62a773d2386ad6bfbfe417412c2e2ff09b3600
Signed-off-by: Lajos Molnar <lajos@google.com>
Bug: 11412881

10 years agoMerge "Use inotify to update DocumentsUI." into klp-dev
Jeff Sharkey [Mon, 28 Oct 2013 16:12:16 +0000 (16:12 +0000)]
Merge "Use inotify to update DocumentsUI." into klp-dev

10 years agoDo not show roaming icon for Videotron operator when access Canada network
Sungmin Choi [Thu, 17 Oct 2013 01:33:38 +0000 (18:33 -0700)]
Do not show roaming icon for Videotron operator when access Canada network

Bug: 11260638
Change-Id: I70b3c2c190707b41ca04110851b7c9581d1c196f

10 years agoMerge "Change order of operations so flag is not overwritten" into klp-dev
Craig Mautner [Mon, 28 Oct 2013 14:38:31 +0000 (14:38 +0000)]
Merge "Change order of operations so flag is not overwritten" into klp-dev

10 years agoUpdate QS settings icon, remove unused location icon.
John Spurlock [Mon, 28 Oct 2013 14:37:43 +0000 (10:37 -0400)]
Update QS settings icon, remove unused location icon.

Bug:11412369
Change-Id: Icdd34a1cffe438e5e9d3ffe268578abb57200525

10 years agoLoad wallpaper images on a bg thread
Michael Jurka [Mon, 28 Oct 2013 13:37:37 +0000 (14:37 +0100)]
Load wallpaper images on a bg thread

Bug: 11134758

10 years agoSpeculatively schedule input consumption
Michael Wright [Fri, 25 Oct 2013 21:50:36 +0000 (14:50 -0700)]
Speculatively schedule input consumption

With the new tuned vsync offset, vsyncs are likely to occur shortly
after the input is received, meaning we will empty the input queue,
and thus won't schedule input consumption until more input is
received. If an application then speculatively posts draw commands to
the main looper faster than 60 hz, it will eventually end up blocking
in eglSwapBuffers. Since we're blocking in eglSwapBuffers, we won't
even schedule consumption until after the current frame (8-16ms), and
it's entirely likely we won't actually get around to consuming input
until after the next frame (another 16 ms of latency). This means we
can often go 16-32ms without processing any input events, causing
very noticeable amounts of jank.

Rather than waiting for the next input event to schedule input
consumption, speculatively schedule it every frame as long as we've
consumed some motion batch during this frame.

Bug: 11398045
Change-Id: I25e46308e00e9f9de00a1d8906f6b0e0f2e845b4

10 years agoam 9e4514cd: am 4062ae2e: am 3ebe71cb: Update AS download page for v0.3.1
Siva Velusamy [Sat, 26 Oct 2013 01:42:42 +0000 (18:42 -0700)]
am 9e4514cd: am 4062ae2e: am 3ebe71cb: Update AS download page for v0.3.1

* commit '9e4514cd06592dc5cc81638699dc9d17065d42d2':
  Update AS download page for v0.3.1

10 years agoam 4062ae2e: am 3ebe71cb: Update AS download page for v0.3.1
Siva Velusamy [Sat, 26 Oct 2013 01:40:40 +0000 (18:40 -0700)]
am 4062ae2e: am 3ebe71cb: Update AS download page for v0.3.1

* commit '4062ae2ef958b009e8c2850ad249e45df1d476aa':
  Update AS download page for v0.3.1

10 years agoam 3ebe71cb: Update AS download page for v0.3.1
Siva Velusamy [Sat, 26 Oct 2013 01:37:35 +0000 (18:37 -0700)]
am 3ebe71cb: Update AS download page for v0.3.1

* commit '3ebe71cb933d99461dfb3702fb4977f966df3713':
  Update AS download page for v0.3.1

10 years agoUse inotify to update DocumentsUI.
Jeff Sharkey [Sat, 26 Oct 2013 00:12:49 +0000 (17:12 -0700)]
Use inotify to update DocumentsUI.

While user is actively looking at a directory, subscribe to inotify
events and notify of content changes to trigger requeries.  Reference
count the observers, since multiple cursors are regularly open during
requeries.

Fix leaking cursors on activity rotation; crazy loader ID generation
is no longer needed.

Bug: 10999396
Change-Id: Iddeb08a056fee80c93df8499874705bcd213a1e2

10 years agoMerge "Un-deprecate setInexactRepeating() and tweak docs" into klp-dev
Christopher Tate [Sat, 26 Oct 2013 00:42:01 +0000 (00:42 +0000)]
Merge "Un-deprecate setInexactRepeating() and tweak docs" into klp-dev

10 years agoUpdate AS download page for v0.3.1
Siva Velusamy [Sat, 26 Oct 2013 00:14:55 +0000 (17:14 -0700)]
Update AS download page for v0.3.1

Change-Id: Ie9ba2f69d4e1398dd566f1b2024843f88d250dda

10 years agoMerge "Extra to always show advanced devices." into klp-dev
Jeff Sharkey [Sat, 26 Oct 2013 00:24:04 +0000 (00:24 +0000)]
Merge "Extra to always show advanced devices." into klp-dev

10 years agoUn-deprecate setInexactRepeating() and tweak docs
Christopher Tate [Fri, 25 Oct 2013 23:14:38 +0000 (16:14 -0700)]
Un-deprecate setInexactRepeating() and tweak docs

Bug 10461371

Change-Id: Ic62a0e94c83c0c7b50e21a7bee19c3d92255d231

10 years agoFix issue #11391003: Allow dumpsys meminfo to be used with native processes
Dianne Hackborn [Fri, 25 Oct 2013 23:32:41 +0000 (16:32 -0700)]
Fix issue #11391003: Allow dumpsys meminfo to be used with native processes

Change-Id: I005e4dc763deafac95dc3aa6261c06d1808fdaff

10 years agoExtra to always show advanced devices.
Jeff Sharkey [Fri, 25 Oct 2013 23:30:54 +0000 (16:30 -0700)]
Extra to always show advanced devices.

Also always lower-case extension to extract MIME type correctly,
we may want to fix in MimeUtils at some point.

Bug: 11354402
Change-Id: I77d0c06a663cd0c4320c41553ff1980b6f9a7778

10 years agoMerge "Fix issue #11374840: adb shell am startservice not working any more" into...
Dianne Hackborn [Fri, 25 Oct 2013 22:30:35 +0000 (22:30 +0000)]
Merge "Fix issue #11374840: adb shell am startservice not working any more" into klp-dev

10 years agoMerge "Trace: add ALOGVs for easier debugging" into klp-dev
Igor Murashkin [Fri, 25 Oct 2013 22:11:06 +0000 (22:11 +0000)]
Merge "Trace: add ALOGVs for easier debugging" into klp-dev

10 years agoMerge "DOCS: document API 19+ Alarm Manager API and behaviors" into klp-dev
Christopher Tate [Fri, 25 Oct 2013 21:59:41 +0000 (21:59 +0000)]
Merge "DOCS: document API 19+ Alarm Manager API and behaviors" into klp-dev

10 years agoMerge "Add a method to set a list of uids for a wake lock" into klp-dev
Marco Nelissen [Fri, 25 Oct 2013 21:55:55 +0000 (21:55 +0000)]
Merge "Add a method to set a list of uids for a wake lock" into klp-dev

10 years agoFix issue #11374840: adb shell am startservice not working any more
Dianne Hackborn [Fri, 25 Oct 2013 21:34:18 +0000 (14:34 -0700)]
Fix issue #11374840: adb shell am startservice not working any more

The startService() and stopServie() calls had a redundant check for
the incoming user ID being valid, but with its own custom implementation
that doesn't match the normal handleIncomingUser flow.  In fact, for
both of these we are going to do handleIncomingUser anyway when we get
to retrieveServiceLocked(), so there was just no need for this.

Change-Id: I14409a03781a14a5f1a786aceb31dcc77efb062c

10 years agoDOCS: document API 19+ Alarm Manager API and behaviors
Christopher Tate [Fri, 25 Oct 2013 20:59:44 +0000 (13:59 -0700)]
DOCS: document API 19+ Alarm Manager API and behaviors

Bug 9941334

Change-Id: I65473bd62f7113c74ed6277d61db56c76441ff1b

10 years agoMerge "Update the documentaton of the android.print package." into klp-dev
Svetoslav Ganov [Fri, 25 Oct 2013 20:48:45 +0000 (20:48 +0000)]
Merge "Update the documentaton of the android.print package." into klp-dev

10 years agoMerge "Limit RemoteControlClient generation ID changes" into klp-dev
Jean-Michel Trivi [Fri, 25 Oct 2013 20:41:39 +0000 (20:41 +0000)]
Merge "Limit RemoteControlClient generation ID changes" into klp-dev

10 years agoMerge "Optimize system bar background drawable." into klp-dev
John Spurlock [Fri, 25 Oct 2013 20:33:35 +0000 (20:33 +0000)]
Merge "Optimize system bar background drawable." into klp-dev

10 years agoMerge "Reset our status bar window fade color on screen off." into klp-dev
John Spurlock [Fri, 25 Oct 2013 20:25:08 +0000 (20:25 +0000)]
Merge "Reset our status bar window fade color on screen off." into klp-dev

10 years agoMerge "Skip writing PFD status when comm is closed." into klp-dev
Jeff Sharkey [Fri, 25 Oct 2013 20:17:02 +0000 (20:17 +0000)]
Merge "Skip writing PFD status when comm is closed." into klp-dev

10 years agoMerge "Do not take screenshots when launching activities..." into klp-dev
Craig Mautner [Fri, 25 Oct 2013 20:09:20 +0000 (20:09 +0000)]
Merge "Do not take screenshots when launching activities..." into klp-dev

10 years agoMerge "Remove '?' icon in layout for "Forgot pattern" button" into klp-dev
Jim Miller [Fri, 25 Oct 2013 20:08:39 +0000 (20:08 +0000)]
Merge "Remove '?' icon in layout for "Forgot pattern" button" into klp-dev

10 years agoAdd a method to set a list of uids for a wake lock
Marco Nelissen [Wed, 16 Oct 2013 17:57:05 +0000 (10:57 -0700)]
Add a method to set a list of uids for a wake lock

Cherrypicked from master.

b/9464621

Change-Id: Ia6a9d36d55129ae87d3ec070fbf10dc02f4b6cb4

10 years agoMerge "Fix issue #11290095: Parcel change causing crashing in KLP..." into klp-dev
Dianne Hackborn [Fri, 25 Oct 2013 19:15:44 +0000 (19:15 +0000)]
Merge "Fix issue #11290095: Parcel change causing crashing in KLP..." into klp-dev

10 years agoChange order of operations so flag is not overwritten
Craig Mautner [Fri, 25 Oct 2013 18:54:37 +0000 (11:54 -0700)]
Change order of operations so flag is not overwritten

The effects of the flag, Intent.FLAG_ACTIVITY_TASK_ON_HOME was being
overwritten by the call immediately after it was set. Changing the
order of operations leaves the effect intact.

Fixes bug 11376962.

Change-Id: I27371e0efeb0c08d1e14514a9e3a63157f6d34d8

10 years agoSkip writing PFD status when comm is closed.
Jeff Sharkey [Fri, 25 Oct 2013 17:22:18 +0000 (10:22 -0700)]
Skip writing PFD status when comm is closed.

If the remote side of PFD has already written a status message, then
they've also closed their end of the comm FD, and we're going to
EPIPE if we try sending our own status.  So, skip writing status if
a remote status is present.

Only one end of the openFile() comm socket needs to be blocking,
otherwise detachFd() would end up blocking forever.

Bug: 11385467
Change-Id: I346d40cc1ca4a6683cec4c2d2b7db2b32ac94a55

10 years agoUpdate the documentaton of the android.print package.
Svetoslav Ganov [Fri, 25 Oct 2013 01:04:39 +0000 (18:04 -0700)]
Update the documentaton of the android.print package.

bug:10551786
bug:10551697
bug:10705082
bug:10741641
bug:11318976
bug:10550979
bug:10551761

Change-Id: I46ceb66a69b6d32d6b417356178f67f2e25e891a

10 years agoReset our status bar window fade color on screen off.
John Spurlock [Fri, 25 Oct 2013 18:25:09 +0000 (14:25 -0400)]
Reset our status bar window fade color on screen off.

Previously, turning the screen off with the panel expanded would
run one time through panelExpansionChanged, leaving the background
in an intermediate state.

This has probably been around for a while, only uncovered now
that we can see it (if the status bar is translucent).

Bug:11357145
Change-Id: I55b768696c8791f82265a61d2c0f665503ad8bb0

10 years agoMerge "Change yMax of Roboto fonts from 2146 to 2163" into klp-dev
Raph Levien [Fri, 25 Oct 2013 18:03:02 +0000 (18:03 +0000)]
Merge "Change yMax of Roboto fonts from 2146 to 2163" into klp-dev

10 years agoFix issue #11290095: Parcel change causing crashing in KLP...
Dianne Hackborn [Fri, 25 Oct 2013 17:41:50 +0000 (10:41 -0700)]
Fix issue #11290095: Parcel change causing crashing in KLP...

...when reading from empty byte[]

Better handling of empty bundles and parcels.

Change-Id: Ie9182e43a52b8f163e8fb20bd1d110e0832683e6

10 years agoMerge "Hide TransitionManager default transition methods" into klp-dev
Adam Powell [Fri, 25 Oct 2013 17:04:09 +0000 (17:04 +0000)]
Merge "Hide TransitionManager default transition methods" into klp-dev

10 years agoMerge "Enhance pin/puk support" into klp-dev
Wink Saville [Fri, 25 Oct 2013 16:40:55 +0000 (16:40 +0000)]
Merge "Enhance pin/puk support" into klp-dev

10 years agoDoc fix: update Displaying Bitmaps training class code snippet
Adam Koch [Fri, 25 Oct 2013 14:14:55 +0000 (10:14 -0400)]
Doc fix: update Displaying Bitmaps training class code snippet
Bug: 11372790

Change-Id: Ifb484b03ac4085eeccadb1602dace37690dc2d6b

10 years agoLimit RemoteControlClient generation ID changes
Jean-Michel Trivi [Wed, 23 Oct 2013 21:48:12 +0000 (14:48 -0700)]
Limit RemoteControlClient generation ID changes

At the beginning of each song, the Music app re-registers its
 media button event and requests audio focus, which causes
 the reevaluation of each corresponding stack of clients. Each
 reevaluation is accompanied by the incrementation of the
 RemoteControlClient generation ID, which causes RemoteController
 to issue a notification that the client has changed. The lockscreen
 correctly interprets this as a reason to dump the current
 RemoteControlClient data (including the artwork) because it will
 receive the new data if new one is available. This is what causes
 the "flashing" of the wallpaper on the lockscreen: for an instant,
 no client data is available.
The fix consists in not causing the client generation ID to be
 incremented when registrations don't cause any change in the
 RemoteControlClient stack. Even though Music re-registers everything,
 nothing has changed: it still is the current media button receiver,
 and it still has the same RemoteControlClient.

Bug 11307382

Change-Id: I4d2404b571e88aeedb0eca6bd19d39f7ec4fc8b1

10 years agoHide TransitionManager default transition methods
Adam Powell [Fri, 25 Oct 2013 01:54:33 +0000 (18:54 -0700)]
Hide TransitionManager default transition methods

Pending future API consideration.

Change-Id: Ia4b162392e1c96b485bc28781a199bc2979ec53f

10 years agoChange yMax of Roboto fonts from 2146 to 2163
Roozbeh Pournader [Fri, 25 Oct 2013 01:42:11 +0000 (18:42 -0700)]
Change yMax of Roboto fonts from 2146 to 2163

This is needed so that other UI fonts don't clip, since
they have been designed assuming that a yMax of at least
2163 is available to them.

The change is achieved by modifying an invisible tiny
square that already existed at the extrema of the the glyph
for U+FFFD REPLACEMENT CHARACTER that was already the
tallest glyph in the fonts.

Bug: 10699356
Change-Id: Ib03ea071b7a82066cacf2b3ae9769db0c449a479

10 years agoMerge "Missing LoudnessEnhancer constructor and UUID in public API" into klp-dev
Jean-Michel Trivi [Thu, 24 Oct 2013 23:42:12 +0000 (23:42 +0000)]
Merge "Missing LoudnessEnhancer constructor and UUID in public API" into klp-dev

10 years agoMerge "Fix bug in Scene's use of setTag" into klp-dev
Adam Powell [Thu, 24 Oct 2013 23:21:56 +0000 (23:21 +0000)]
Merge "Fix bug in Scene's use of setTag" into klp-dev

10 years agoMerge "Have the package manager write mimetype of preferred activities to xml." into...
Erin Dahlgren [Thu, 24 Oct 2013 23:21:16 +0000 (23:21 +0000)]
Merge "Have the package manager write mimetype of preferred activities to xml." into klp-dev

10 years agoDo not take screenshots when launching activities...
Craig Mautner [Thu, 24 Oct 2013 23:02:07 +0000 (16:02 -0700)]
Do not take screenshots when launching activities...

Unless they are in another task.

Fixes bug 11374158.

Change-Id: I961d4ce9520bc84a182806db2ccb072501c8357a

10 years agoFix bug in Scene's use of setTag
Adam Powell [Thu, 24 Oct 2013 22:58:53 +0000 (15:58 -0700)]
Fix bug in Scene's use of setTag

setTagInternal must be used for framework resource IDs.

Bug 11374402

Change-Id: If4d256dbf05055dac70796edd8d7b94bf65d947d

10 years agoMerge "Remove persisted stacks when app removed/cleared." into klp-dev
Jeff Sharkey [Thu, 24 Oct 2013 22:32:58 +0000 (22:32 +0000)]
Merge "Remove persisted stacks when app removed/cleared." into klp-dev

10 years agoHave the package manager write mimetype of preferred activities to xml.
Erin Dahlgren [Thu, 24 Oct 2013 22:13:39 +0000 (15:13 -0700)]
Have the package manager write mimetype of preferred activities to xml.

Issue: 11372979
Change-Id: I5ea4e94c978845426e2650946d0bba076d161c19

10 years agoMerge "Track window position with task position." into klp-dev
Craig Mautner [Thu, 24 Oct 2013 21:26:11 +0000 (21:26 +0000)]
Merge "Track window position with task position." into klp-dev

10 years agoMerge "Support different watchdog timeouts for different entities" into klp-dev
Christopher Tate [Thu, 24 Oct 2013 20:52:23 +0000 (20:52 +0000)]
Merge "Support different watchdog timeouts for different entities" into klp-dev

10 years agoTrack window position with task position.
Craig Mautner [Thu, 24 Oct 2013 19:47:07 +0000 (12:47 -0700)]
Track window position with task position.

Windows were previously ordered by TaskStack/ActivityStack order. This
change provides a data structure in DisplayContent that tracks task
movement. Previously Recents and Home activity windows were always
adjacent because they were on the same stack. With this change windows
from other activities can be placed between the two.

Fixes bug 11338594.

Change-Id: Ie34443ff22f330d015141d97db79370c54920d28

10 years agoMerge "Fix for ClassCastException in SystemSensorManager." into klp-dev
Aravind Akella [Thu, 24 Oct 2013 19:32:01 +0000 (19:32 +0000)]
Merge "Fix for ClassCastException in SystemSensorManager." into klp-dev

10 years agoMerge "Only simulate the first click if "Always use" button is available" into klp-dev
Amith Yamasani [Thu, 24 Oct 2013 19:21:12 +0000 (19:21 +0000)]
Merge "Only simulate the first click if "Always use" button is available" into klp-dev

10 years agoMerge "Long-press on GET_CONTENT app shows its details." into klp-dev
Jeff Sharkey [Thu, 24 Oct 2013 18:23:13 +0000 (18:23 +0000)]
Merge "Long-press on GET_CONTENT app shows its details." into klp-dev

10 years agoMerge "Show spinner while waiting for mutations." into klp-dev
Jeff Sharkey [Thu, 24 Oct 2013 18:23:11 +0000 (18:23 +0000)]
Merge "Show spinner while waiting for mutations." into klp-dev

10 years agoRemove persisted stacks when app removed/cleared.
Jeff Sharkey [Thu, 24 Oct 2013 17:44:03 +0000 (10:44 -0700)]
Remove persisted stacks when app removed/cleared.

When an app's data is cleared, or it's uninstalled, remove any
persisted stacks.

Bug: 11355566
Change-Id: I4e5cf0ec710591ad62f1ad52c2e358616631af41

10 years agoMerge "Disable time consuming debugging code." into klp-dev
Craig Mautner [Thu, 24 Oct 2013 17:57:24 +0000 (17:57 +0000)]
Merge "Disable time consuming debugging code." into klp-dev