OSDN Git Service

android-x86/frameworks-base.git
10 years agoam 978efc21: am feca78f7: Merge "Start adding IPC calls to retrieve proc stat data."
Dianne Hackborn [Thu, 5 Dec 2013 19:24:39 +0000 (19:24 +0000)]
am 978efc21: am feca78f7: Merge "Start adding IPC calls to retrieve proc stat data."

* commit '978efc2162560a2ad1f4b03e7ce361490121760f':

10 years agoam 2246e8c7: (-s ours) am b83f6223: (-s ours) Merge "Import translations. DO NOT...
Baligh Uddin [Thu, 5 Dec 2013 19:24:32 +0000 (19:24 +0000)]
am 2246e8c7: (-s ours) am b83f6223: (-s ours) Merge "Import translations. DO NOT MERGE"

* commit '2246e8c76b16d877131dee9b66eaca570c8c436f':

10 years agoam 45f2a494: (-s ours) am 85ba45dd: (-s ours) Merge "Import translations. DO NOT...
Baligh Uddin [Thu, 5 Dec 2013 19:24:22 +0000 (19:24 +0000)]
am 45f2a494: (-s ours) am 85ba45dd: (-s ours) Merge "Import translations. DO NOT MERGE"

* commit '45f2a4948fb0ec20491b50203d686cf9b5962d99':

10 years agoMerge "Eliminate StackBox." into klp-modular-dev
Craig Mautner [Wed, 4 Dec 2013 22:59:59 +0000 (22:59 +0000)]
Merge "Eliminate StackBox." into klp-modular-dev

10 years agoEliminate StackBox.
Craig Mautner [Mon, 2 Dec 2013 22:08:25 +0000 (14:08 -0800)]
Eliminate StackBox.

StackBox is too constraining. Adding size and position to TaskStacks
directly makes stack positioning and management more flexible and
prepares for ActivityView.

Change-Id: I6e3ce13f71593ee68e457f51ff23ae76ad04d4bc

10 years agoDO NOT MERGE : Move some system services to their own sub package.
Amith Yamasani [Wed, 6 Nov 2013 22:54:50 +0000 (14:54 -0800)]
DO NOT MERGE : Move some system services to their own sub package.

(Cherry pick from master)

As a next step they can be moved into separate directories to be
built as separate modules that may or may not be included in a
particular configuration.

Moves AppWidgetService, BackupManagerService, ClipboardService, DevicePolicyMS,
and WallpaperMS.

Change-Id: I33e48d070f38186819d3a1d7a4dc3984b75a9eda

10 years agoDO NOT MERGE: Don't freak out if SystemUiService isn't available
Amith Yamasani [Fri, 15 Nov 2013 03:24:44 +0000 (19:24 -0800)]
DO NOT MERGE: Don't freak out if SystemUiService isn't available

Reducing dependencies on system services

Change-Id: I301f1e6c9bbe30b43303c7bf9899387b9029e4ab

10 years agoDO NOT MERGE: Remove obsolete "headless" support
Mike Lockwood [Fri, 15 Nov 2013 19:01:47 +0000 (11:01 -0800)]
DO NOT MERGE: Remove obsolete "headless" support

Change-Id: Idd5146087af33117440450de8d8fe1287c068455

10 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 25 Nov 2013 17:42:45 +0000 (09:42 -0800)]
Import translations. DO NOT MERGE

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

10 years agoStop wifi display discovery when no longer needed.
Jeff Brown [Fri, 22 Nov 2013 00:42:03 +0000 (16:42 -0800)]
Stop wifi display discovery when no longer needed.

Keep track of how many clients are requesting scans and scan
continuously until all of them are gone then explicitly terminate the
scan instead of letting it time out as before.

Suspend wifi display scans while connecting or connected to a remote
display.  This is handled by both the display manager and media router
since neither has complete information about what is happening.
Much of this code will no longer be needed once wifi display support
is integrated directly into the media router service.

Ensure that we don't attempt to scan or connect to wifi displays
while the wifi display feature is off.

Infer when a connection attempt fails and unselect the wifi display
route automatically so it doesn't appear to be connecting forever.

Fix issues around correctly canceling and retrying connection attempts.
Often we would cancel but not retry.

Improved connection reliability somewhat.  It seems that discovery must
already be in progress in order for a connection attempt to succeed.

Ensure QuickSettings uses exactly the same logic as the MediaRouteButton
to determine when the remote display tile should be made visible.

Bug: 11717053
Change-Id: I18afc977b0e8c26204b8c96adaa79f05225f7b6e

10 years agoFix issue #11790471: Crash removed home buttons and notification bar/shade
Dianne Hackborn [Thu, 21 Nov 2013 20:50:01 +0000 (12:50 -0800)]
Fix issue #11790471: Crash removed home buttons and notification bar/shade

Whoops persistent processes are, well, persistent.  Don't remove
services from them.  We'll be keeping that process record around.

Change-Id: I29e9fb6f704efdf0caad5e0307a7adbb416eed3b

10 years agoMerge "Revert "PreferenceFragment showing the breadcrumb when not needed."" into...
Svetoslav Ganov [Thu, 21 Nov 2013 20:12:12 +0000 (20:12 +0000)]
Merge "Revert "PreferenceFragment showing the breadcrumb when not needed."" into klp-dev

10 years agoMerge "Revert "PreferencesFragment showing the breadcrumb area in single pane mode...
Svetoslav Ganov [Thu, 21 Nov 2013 20:12:02 +0000 (20:12 +0000)]
Merge "Revert "PreferencesFragment showing the breadcrumb area in single pane mode."" into klp-dev

10 years agoRevert "PreferenceFragment showing the breadcrumb when not needed."
Svetoslav Ganov [Thu, 21 Nov 2013 19:36:22 +0000 (19:36 +0000)]
Revert "PreferenceFragment showing the breadcrumb when not needed."

This reverts commit 7db97b0a29c613afb78c2734bf2504324a71963d.

Change-Id: Iefe9807fd75baf04e61ec59b508e438320c80fe3

10 years agoRevert "PreferencesFragment showing the breadcrumb area in single pane mode."
Svetoslav Ganov [Thu, 21 Nov 2013 19:33:53 +0000 (19:33 +0000)]
Revert "PreferencesFragment showing the breadcrumb area in single pane mode."

This reverts commit 2b8795a9db2d494c38d34fd113a9153880a555c0.

Change-Id: If8dcc7190cbe66af09945d8b23a3e1d8fd791b1d

10 years agoImport translations. DO NOT MERGE
Geoff Mendal [Thu, 21 Nov 2013 18:42:03 +0000 (10:42 -0800)]
Import translations. DO NOT MERGE

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

10 years agoMake action bar media router icons blue again.
Jeff Brown [Wed, 20 Nov 2013 23:27:14 +0000 (15:27 -0800)]
Make action bar media router icons blue again.

This partially reverts commit e7ae644522f692c204d0233f91e77c7841bdfe53.

Bug: 11790271
Change-Id: Ib83dbede4472ba08bcf79bf9009d690278841723

10 years agoMerge "Only scan for wifi display when there is no active connections" into klp-dev
Chong Zhang [Wed, 20 Nov 2013 22:24:20 +0000 (22:24 +0000)]
Merge "Only scan for wifi display when there is no active connections" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Wed, 20 Nov 2013 21:08:31 +0000 (21:08 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 20 Nov 2013 17:50:34 +0000 (09:50 -0800)]
Import translations. DO NOT MERGE

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

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 20 Nov 2013 17:17:20 +0000 (09:17 -0800)]
Import translations. DO NOT MERGE

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

10 years agoOnly scan for wifi display when there is no active connections
Chong Zhang [Wed, 20 Nov 2013 03:13:22 +0000 (19:13 -0800)]
Only scan for wifi display when there is no active connections

Bug: 11717053
Change-Id: I4ab73f6517fbfb8fcc131b89d0e934380dcf69e0

10 years agoHarden against transiently unavailable backup transports
Christopher Tate [Mon, 18 Nov 2013 22:20:36 +0000 (14:20 -0800)]
Harden against transiently unavailable backup transports

The init & clear operations are particularly important to ensure
delivery when at all possible, so we retry those periodically
if the transport is unavailable when we first attempt them.

Now with 100% less build break.

Bug 11716868

Change-Id: I2af4e93788068cfac97c0a48d3568c561eefa23d

10 years agoMerge "Fix incorrent page range parsing when custom print options used." into klp-dev
Dave Langemak [Tue, 19 Nov 2013 16:33:22 +0000 (16:33 +0000)]
Merge "Fix incorrent page range parsing when custom print options used." into klp-dev

10 years agoMerge "Notify apps when insets change." into klp-dev
Craig Mautner [Tue, 19 Nov 2013 16:31:59 +0000 (16:31 +0000)]
Merge "Notify apps when insets change." into klp-dev

10 years agoMerge "Mask OOBE when filtering recent documents." into klp-dev
Jeff Sharkey [Tue, 19 Nov 2013 08:08:12 +0000 (08:08 +0000)]
Merge "Mask OOBE when filtering recent documents." into klp-dev

10 years agoMerge "Trying to unbreak build..." into klp-dev
Sascha Prueter [Tue, 19 Nov 2013 07:23:34 +0000 (07:23 +0000)]
Merge "Trying to unbreak build..." into klp-dev

10 years agoTrying to unbreak build...
Sascha Prueter [Tue, 19 Nov 2013 06:51:21 +0000 (06:51 +0000)]
Trying to unbreak build...

Revert "Harden against transiently unavailable backup transports"

This reverts commit 8f98252afea3fd0e68693635ec21b6004a52fa69.

Change-Id: I3aabb80f1a5932d530bce6b82d4b30c6cd1cdd5a

10 years agoMerge "Harden against transiently unavailable backup transports" into klp-dev
Christopher Tate [Tue, 19 Nov 2013 02:41:54 +0000 (02:41 +0000)]
Merge "Harden against transiently unavailable backup transports" into klp-dev

10 years agoMask OOBE when filtering recent documents.
Jeff Sharkey [Tue, 19 Nov 2013 01:41:33 +0000 (17:41 -0800)]
Mask OOBE when filtering recent documents.

There is a data ownership issue related to recent documents Cursors,
and the loader and UI threads can end up traversing the same Cursor
at runtime.  This change masks OOBE crashes caused by this race until
we have time to fix cleanly.

Bug: 11736668
Change-Id: I2039a5edcf341fcaedacc2f08bde96fc5a271782

10 years agoNotify apps when insets change.
Craig Mautner [Mon, 18 Nov 2013 20:59:05 +0000 (12:59 -0800)]
Notify apps when insets change.

Activities that handle their own configuration get layout when hidden
and the configuration changes but not when the content insets change
if they are hidden. They need to get a fresh layout for both
situations.

Fixes bug 11544694.

Change-Id: Iff3a9adb72ea7dfc3e5cd38e1b9cd7cf2006f8f5

10 years agoMerge "Update ICU_Delegate methods. DO NOT MERGE" into klp-dev
Deepanshu Gupta [Tue, 19 Nov 2013 00:19:01 +0000 (00:19 +0000)]
Merge "Update ICU_Delegate methods. DO NOT MERGE" into klp-dev

10 years agoHarden against transiently unavailable backup transports
Christopher Tate [Mon, 18 Nov 2013 22:20:36 +0000 (14:20 -0800)]
Harden against transiently unavailable backup transports

The init & clear operations are particularly important to ensure
delivery when at all possible, so we retry those periodically
if the transport is unavailable when we first attempt them.

Bug 11716868

Change-Id: I4860fe3d4e99618b2cd194c83162bd7cbd5a83a9

10 years agoMerge "Do not hold direct ref BatteryStatsImpl$Uid$Proc" into klp-dev
Adam Lesinski [Mon, 18 Nov 2013 21:26:32 +0000 (21:26 +0000)]
Merge "Do not hold direct ref BatteryStatsImpl$Uid$Proc" into klp-dev

10 years agoMerge "Use scaled display size in wallpaper constraint." into klp-dev
John Spurlock [Mon, 18 Nov 2013 20:49:16 +0000 (20:49 +0000)]
Merge "Use scaled display size in wallpaper constraint." into klp-dev

10 years agoDo not hold direct ref BatteryStatsImpl$Uid$Proc
Adam Lesinski [Mon, 18 Nov 2013 20:23:26 +0000 (12:23 -0800)]
Do not hold direct ref BatteryStatsImpl$Uid$Proc

BatteryStatsImpl can reset its collected data, including
removing a BatteryStatsImpl$Uid$Proc object. If a ProcessRecord
has a direct reference, then the battery stats for a process
will be recorded in an old Proc object and prevent GC, causing
a memory leak.

bug:11087238
Change-Id: I19a9cd9d8361c10446a8ebdd5c0860b56c442209

10 years agoUse scaled display size in wallpaper constraint.
John Spurlock [Mon, 18 Nov 2013 19:14:49 +0000 (14:14 -0500)]
Use scaled display size in wallpaper constraint.

Bug:11596190
Change-Id: Icc81beeea2e71144c2e5330b047e4781a23d7449

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Mon, 18 Nov 2013 18:51:24 +0000 (18:51 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Mon, 18 Nov 2013 18:51:00 +0000 (18:51 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Fix NPE in ConnectivityService" into klp-dev
Robert Greenwalt [Mon, 18 Nov 2013 18:27:23 +0000 (18:27 +0000)]
Merge "Fix NPE in ConnectivityService" into klp-dev

10 years agoUpdate ICU_Delegate methods. DO NOT MERGE
Deepanshu Gupta [Wed, 13 Nov 2013 13:39:17 +0000 (19:09 +0530)]
Update ICU_Delegate methods. DO NOT MERGE

Bug: 11435966
Change-Id: Ib8ed2011fe62b2496795075b33b9ca7d5907b87a

10 years agoMerge "Add libphonenumber to layoutlib.jar. DO NOT MERGE" into klp-dev
Deepanshu Gupta [Mon, 18 Nov 2013 18:08:09 +0000 (18:08 +0000)]
Merge "Add libphonenumber to layoutlib.jar. DO NOT MERGE" into klp-dev

10 years agoMerge "Fix NPE in layoutlib. DO NOT MERGE" into klp-dev
Deepanshu Gupta [Mon, 18 Nov 2013 18:07:55 +0000 (18:07 +0000)]
Merge "Fix NPE in layoutlib. DO NOT MERGE" into klp-dev

10 years agoFix NPE in ConnectivityService
Robert Greenwalt [Mon, 18 Nov 2013 17:43:59 +0000 (09:43 -0800)]
Fix NPE in ConnectivityService

bug:11727708
Change-Id: Ia8ca9d1e23f021feaf4b772ec38d1d0e89b0cd2a

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 18 Nov 2013 17:22:29 +0000 (09:22 -0800)]
Import translations. DO NOT MERGE

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

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 18 Nov 2013 16:49:48 +0000 (08:49 -0800)]
Import translations. DO NOT MERGE

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

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 18 Nov 2013 00:30:52 +0000 (16:30 -0800)]
Import translations. DO NOT MERGE

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

10 years agoFix incorrent page range parsing when custom print options used.
Svetoslav Ganov [Sat, 16 Nov 2013 05:42:12 +0000 (21:42 -0800)]
Fix incorrent page range parsing when custom print options used.

We have APIs for a print service to declare an activity with custom
print options. In this activity the service can add custom properties
as well as change the standard ones such as pages to print. The ranges
of selected pages from the custom activity was incorrectly parsed
resulting in an off by one error in what is shown to the user and as a
result getting an exception when trying to print.

bug:11719051

Change-Id: Id04c94608178895f1d47381a63133f0eba7645e1

10 years agoMerge "Restore jankless transition keyguard-to-wallpaper" into klp-dev
Craig Mautner [Fri, 15 Nov 2013 23:13:47 +0000 (23:13 +0000)]
Merge "Restore jankless transition keyguard-to-wallpaper" into klp-dev

10 years agoRestore jankless transition keyguard-to-wallpaper
Craig Mautner [Fri, 15 Nov 2013 22:15:43 +0000 (14:15 -0800)]
Restore jankless transition keyguard-to-wallpaper

There is still a flash of black when going to a non-wallpaper activity
from keyguard. This is not a regression from jb-mr2 and any fixes to
clean it up are too risky at this late date.

Fixes (partially) bug 11570753.

Change-Id: I17aaae4ab8be570f7e28276a7b8ac4b8685e7551

10 years agoMerge "Add config_restartRadioAfterProvisioning" into klp-dev
Wink Saville [Fri, 15 Nov 2013 19:35:05 +0000 (19:35 +0000)]
Merge "Add config_restartRadioAfterProvisioning" into klp-dev

10 years agoAdd config_restartRadioAfterProvisioning
Wink Saville [Fri, 15 Nov 2013 16:27:53 +0000 (08:27 -0800)]
Add config_restartRadioAfterProvisioning

Bug: 11673637
Change-Id: Ie758a303fd751d204fd6baa60217e88df6376aae

10 years agoMerge "Disallow applications from initiating cast screen." into klp-dev
Jeff Brown [Fri, 15 Nov 2013 08:35:50 +0000 (08:35 +0000)]
Merge "Disallow applications from initiating cast screen." into klp-dev

10 years agoDisallow applications from initiating cast screen.
Jeff Brown [Fri, 15 Nov 2013 02:16:08 +0000 (18:16 -0800)]
Disallow applications from initiating cast screen.

Only allow the system ui and settings to connect to a remote display.
To do this, we essentially hide the remote displays from applications
by using the ROUTE_TYPE_REMOTE_DISPLAY then add permission checks
around the operations that connect to them.

As a bonus, this may actually save power on devices since applications
that use MediaRouter will not longer be performing discover on
remote display routes at all.

Bug: 11257292
Change-Id: I9ea8c568df4df5a0f0cf3d0f11b39c87e2110795

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 15 Nov 2013 06:32:08 +0000 (22:32 -0800)]
Import translations. DO NOT MERGE

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

10 years agoMerge "Created print jobs should not be persisted until they are queued." into klp-dev
Svetoslav [Fri, 15 Nov 2013 06:23:32 +0000 (06:23 +0000)]
Merge "Created print jobs should not be persisted until they are queued." into klp-dev

10 years agoCancel double tap mode on action_up
Mindy Pereira [Fri, 15 Nov 2013 01:01:25 +0000 (17:01 -0800)]
Cancel double tap mode on action_up

fixes b/11592408 Dragging immediately after double touch turns gesture into double touch drag

Change-Id: I3e7926a4f6f9ab4951f380bd004499c78b3bda69

10 years agoMerge "Handle backup transport registration dynamically" into klp-dev
Christopher Tate [Fri, 15 Nov 2013 02:34:37 +0000 (02:34 +0000)]
Merge "Handle backup transport registration dynamically" into klp-dev

10 years agoMerge "Don't show external presentation until keyguard actually shows" into klp-dev
Jim Miller [Fri, 15 Nov 2013 02:18:08 +0000 (02:18 +0000)]
Merge "Don't show external presentation until keyguard actually shows" into klp-dev

10 years agoHandle backup transport registration dynamically
Christopher Tate [Fri, 15 Nov 2013 02:10:35 +0000 (18:10 -0800)]
Handle backup transport registration dynamically

Bug 11369873

Change-Id: I9bbdcc21ce25159c6645690123b5d03c553b0ddc

10 years agoCreated print jobs should not be persisted until they are queued.
Svetoslav [Fri, 15 Nov 2013 01:59:14 +0000 (17:59 -0800)]
Created print jobs should not be persisted until they are queued.

Print jobs in a created state should not be persisted. However,
if a print service sets the tag to a print job that is queued,
we were persisting even print jobs in a created state. This
change adds a simple check while persisting to avoid storing
created print jobs.

bug:11696785

Change-Id: Idf28f3634b91fd5bf345f376114af4ed478ed3c6

10 years agoMerge "Update cast screen strings." into klp-dev
Jeff Brown [Fri, 15 Nov 2013 01:28:58 +0000 (01:28 +0000)]
Merge "Update cast screen strings." into klp-dev

10 years agoMerge "Avoid skipping animated status bar icon frames." into klp-dev
John Spurlock [Fri, 15 Nov 2013 01:11:51 +0000 (01:11 +0000)]
Merge "Avoid skipping animated status bar icon frames." into klp-dev

10 years agoDon't show external presentation until keyguard actually shows
Jim Miller [Fri, 15 Nov 2013 00:47:26 +0000 (16:47 -0800)]
Don't show external presentation until keyguard actually shows

The previous code was looking for just the display to turn off.
It should wait until keyguard is actually shown before enabling
the external presentations.

Fix for bug 11694904

Change-Id: Iebf3aa04fc094cd4e5c8f56bc771aca1e5921d04

10 years agoUpdate cast screen strings.
Jeff Brown [Fri, 15 Nov 2013 00:03:36 +0000 (16:03 -0800)]
Update cast screen strings.

Bug: 11257292
Change-Id: Ia66152985bafcdd8ec88a3145623536a2b439b78

10 years agoAvoid skipping animated status bar icon frames.
John Spurlock [Thu, 14 Nov 2013 22:40:02 +0000 (17:40 -0500)]
Avoid skipping animated status bar icon frames.

By avoiding a known issue in AnimationDrawable.

Bug:11694594
Change-Id: I87540728118833f29fc7b64a5c853bc26fd19d73

10 years agoMerge "Don't show keyguard until the device has been provisioned." into klp-dev
Jim Miller [Thu, 14 Nov 2013 23:34:32 +0000 (23:34 +0000)]
Merge "Don't show keyguard until the device has been provisioned." into klp-dev

10 years agoMerge "Ensure recipient can be launched before attempting broadcast delivery" into...
Christopher Tate [Thu, 14 Nov 2013 22:59:20 +0000 (22:59 +0000)]
Merge "Ensure recipient can be launched before attempting broadcast delivery" into klp-dev

10 years agoMerge "Maybe fix issue #11634365: Leaking restarting services" into klp-dev
Dianne Hackborn [Thu, 14 Nov 2013 22:56:14 +0000 (22:56 +0000)]
Merge "Maybe fix issue #11634365: Leaking restarting services" into klp-dev

10 years agoMaybe fix issue #11634365: Leaking restarting services
Dianne Hackborn [Thu, 14 Nov 2013 22:32:17 +0000 (14:32 -0800)]
Maybe fix issue #11634365: Leaking restarting services

It looks like we could add services to the restart list because
they end up left in the process's list of running services after
they have been removed from the main activity list, and we can
trip up on them there when the app is being force stopped.

Change-Id: I79805b67fcf5b593430dc5c856c97927e1a54a57

10 years agoDon't show keyguard until the device has been provisioned.
Jim Miller [Thu, 14 Nov 2013 22:15:02 +0000 (14:15 -0800)]
Don't show keyguard until the device has been provisioned.

This fixes a bug where we'd show keyguard on top of setup.

Fixes bug 11689756

Change-Id: I38ecdafc00fc34fdd79e3ac517042a1e5eea93de

10 years agoMerge "Fix RemoteController update in RemoteControlClient registration" into klp-dev
Jean-Michel Trivi [Thu, 14 Nov 2013 21:32:41 +0000 (21:32 +0000)]
Merge "Fix RemoteController update in RemoteControlClient registration" into klp-dev

10 years agoEnsure recipient can be launched before attempting broadcast delivery
Christopher Tate [Thu, 14 Nov 2013 01:42:28 +0000 (17:42 -0800)]
Ensure recipient can be launched before attempting broadcast delivery

User removal or eviction inherently races with broadcast delivery.  This
patch introduces a latest-possible recheck of the availbility of the
target application before attempting to send it a broadcast.

Once the process has actually been spun up the system is essentially
committed to presenting it as a running application, and there is no
later check of the availability of the app: the failure mode for
continuing to attempt delivery is a crash *in the app process*,
and is user-visible.

We now check the app+userid existence of the intended recipient
just prior to committing to launch its process for receipt, and
if it is no longer available we simply skip that receiver and
continue normally.

Bug 11652784
Bug 11272019
Bug 8263020

Change-Id: Ib19ba2af493250890db7371c1a9f853772db1af0

10 years agoMerge "Fix am argument ordering documentation." into klp-dev
Jeff Sharkey [Thu, 14 Nov 2013 19:01:06 +0000 (19:01 +0000)]
Merge "Fix am argument ordering documentation." into klp-dev

10 years agoFix am argument ordering documentation.
Jeff Sharkey [Thu, 14 Nov 2013 18:03:32 +0000 (10:03 -0800)]
Fix am argument ordering documentation.

Bug: 11690520
Change-Id: I84b10a6eb6e6404212ab9737e7cee1f1ad4d5309

10 years agoMerge "SyncManager now returns copy on getCurrentSyncs()" into klp-dev
Matthew Williams [Thu, 14 Nov 2013 17:18:58 +0000 (17:18 +0000)]
Merge "SyncManager now returns copy on getCurrentSyncs()" into klp-dev

10 years agoFix compatibility issue on InputMethodSubtype
Satoshi Kataoka [Thu, 14 Nov 2013 03:04:51 +0000 (12:04 +0900)]
Fix compatibility issue on InputMethodSubtype

Bug: 11032428
Change-Id: If722bbbfb69d00e1830007582d46a33319203eea

10 years agoFix RemoteController update in RemoteControlClient registration
Jean-Michel Trivi [Thu, 14 Nov 2013 03:59:19 +0000 (19:59 -0800)]
Fix RemoteController update in RemoteControlClient registration

A regression was introduced when trying to limit the number of
 internal synchronization generation IDs that caused RCC
 information to be shown only for applications that requested
 audio focus after media button receiver and RCC registration,
 (such as Play Music), not for applications that requested focus
 first (such as Play Movies).
The correct behavior is to always check and update the
 RemoteControllers (seen by MediaFocusControl as RCD interfaces)
 whenever a RemoteControlClient is registered (even if it's a
 re-registration) when it is associated when an entry at the top
 of the remote control stack.

Bug 11657655

Change-Id: I30716e2028f7f718a31e13401b191178735229ff

10 years agoReset padding flags when set programmatically or implicitly from background
Adam Powell [Thu, 14 Nov 2013 02:54:33 +0000 (18:54 -0800)]
Reset padding flags when set programmatically or implicitly from background

Bug 11673480

Change-Id: I4f33c7ae46e937302e625bf1f3260adb25843645

10 years agoSyncManager now returns copy on getCurrentSyncs()
Matthew Williams [Tue, 12 Nov 2013 22:41:02 +0000 (14:41 -0800)]
SyncManager now returns copy on getCurrentSyncs()

Bug:11559103
Added a new getCurrentSyncsCopy() that is public. The other version
is needed for internal SSE calls.

Change-Id: I0287f039a6f75abf04b65b85cb30f78353aeef4f

10 years agoMerge "Don't set up external displays from binder thread" into klp-dev
Jim Miller [Thu, 14 Nov 2013 01:47:32 +0000 (01:47 +0000)]
Merge "Don't set up external displays from binder thread" into klp-dev

10 years agoMerge "Avoid NPE and add a warning log if a printing app misbehaves." into klp-dev
Svetoslav [Thu, 14 Nov 2013 01:46:47 +0000 (01:46 +0000)]
Merge "Avoid NPE and add a warning log if a printing app misbehaves." into klp-dev

10 years agoMerge "Report keyguard as initially showing and secure until we know" into klp-dev
Jim Miller [Thu, 14 Nov 2013 01:45:51 +0000 (01:45 +0000)]
Merge "Report keyguard as initially showing and secure until we know" into klp-dev

10 years agoAvoid NPE and add a warning log if a printing app misbehaves.
Svetoslav [Thu, 14 Nov 2013 01:31:11 +0000 (17:31 -0800)]
Avoid NPE and add a warning log if a printing app misbehaves.

An app can print only from an activity. If the activity is finished
before printing completes we destroy the PrintDocumentAdapter. The
app may however invoke some of the print callbacks after destruction
resulting in a NPE. This change checks if the adapter is destroyed
and if so does not crash while printing a meaningful log error with
the mistake of the app developer.

bug:11675274

Change-Id: I66539cfbd7583f52cb863a84ef8e40856f92ceed

10 years agoMerge "Replace keyboard sounds with latest (softer) design" into klp-dev
Glenn Kasten [Thu, 14 Nov 2013 01:09:51 +0000 (01:09 +0000)]
Merge "Replace keyboard sounds with latest (softer) design" into klp-dev

10 years agoDon't set up external displays from binder thread
Jim Miller [Thu, 14 Nov 2013 00:44:39 +0000 (16:44 -0800)]
Don't set up external displays from binder thread

This fixes a bug where keyguard was attempting to set up
external presentation displays from the binder thread instead
of the UI thread.  Bad dog.

Fixes bug 11676486

Change-Id: Iadbe485691acc56a41b23219fe399f7eda40cb7c

10 years agoMerge "Increase Reject threshold for disabling networks" into klp-dev
Vinit Deshapnde [Thu, 14 Nov 2013 00:36:54 +0000 (00:36 +0000)]
Merge "Increase Reject threshold for disabling networks" into klp-dev

10 years agoVideoView: expand documentation on state save/restore limitations
Lajos Molnar [Wed, 30 Oct 2013 21:04:10 +0000 (14:04 -0700)]
VideoView: expand documentation on state save/restore limitations

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

10 years agoMerge "Fix for the invalid Global Proxy Setting" into klp-dev
Robert Greenwalt [Thu, 14 Nov 2013 00:22:46 +0000 (00:22 +0000)]
Merge "Fix for the invalid Global Proxy Setting" into klp-dev

10 years agoMerge "Add null pointer check." into klp-dev
Craig Mautner [Thu, 14 Nov 2013 00:15:55 +0000 (00:15 +0000)]
Merge "Add null pointer check." into klp-dev

10 years agoFix for the invalid Global Proxy Setting
Raj Mamadgi [Mon, 11 Nov 2013 21:52:58 +0000 (13:52 -0800)]
Fix for the invalid Global Proxy Setting

Adding validation for Global Proxy setting before it is
being set.

Proxy is validated at the boot time also to make sure
the value set is valid.

Signed-off-by: Raj Mamadgi <rmamadgi@sta.samsung.com>
bug:11598568

Change-Id: Idff5ae81119d8143da096b5291ecbfbc5875cbd4

10 years agoIncrease Reject threshold for disabling networks
Vinit Deshapnde [Wed, 13 Nov 2013 23:48:11 +0000 (15:48 -0800)]
Increase Reject threshold for disabling networks

This change modifies a framework optimization. The framework optimization
disables a network when an access point repeatedly rejects requests
to associate with it. This change has some problems; one being that
it counts the rejects for all networks, and not for a specific network.
This incorrectly penalizes last networks at times; and since the current
threshold is 4 rejects, the probability of penalizing wrong networks
is high. This change ups that number to 16 to reduce that probability.

Bug: 11654725

Change-Id: I7150a9ccbb54bac44f2c2ba100fb6617ded33616

10 years agoReport keyguard as initially showing and secure until we know
Jim Miller [Wed, 13 Nov 2013 23:40:48 +0000 (15:40 -0800)]
Report keyguard as initially showing and secure until we know

This fixes a bug where an app calls KeyguardManager.isLocked()
before keyguard has had a chance to show.  The fix is to assume
keyguard is showing and secure until we know otherwise.

Fixes bug 11670159

Change-Id: Ifbe4cdf40e3b76d2069ecace940f85fa58f31187

10 years agomerge in release branch changes (no-op).
Ed Heyl [Wed, 13 Nov 2013 23:19:22 +0000 (15:19 -0800)]
merge in release branch changes (no-op).

10 years agoMerge "Keyguard isn't visible if it hasn't been drawn." into klp-dev
Craig Mautner [Wed, 13 Nov 2013 23:11:12 +0000 (23:11 +0000)]
Merge "Keyguard isn't visible if it hasn't been drawn." into klp-dev

10 years agoAdd null pointer check.
Craig Mautner [Wed, 13 Nov 2013 23:06:15 +0000 (15:06 -0800)]
Add null pointer check.

Fixes bug 11673948.

Change-Id: I60b590b9793ae1b8d5c3d343f4bb6cb40ba4a092

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Wed, 13 Nov 2013 22:39:40 +0000 (22:39 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Small DocumentsProvider doc improvements." into klp-dev
Jeff Sharkey [Wed, 13 Nov 2013 22:31:01 +0000 (22:31 +0000)]
Merge "Small DocumentsProvider doc improvements." into klp-dev

10 years agoMerge "Enable fast camera transition when launched from navbar" into klp-dev
Jim Miller [Wed, 13 Nov 2013 22:23:34 +0000 (22:23 +0000)]
Merge "Enable fast camera transition when launched from navbar" into klp-dev

10 years agoMerge "Reduce camera launch time by about 250ms." into klp-dev
Jim Miller [Wed, 13 Nov 2013 22:22:13 +0000 (22:22 +0000)]
Merge "Reduce camera launch time by about 250ms." into klp-dev