OSDN Git Service

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

10 years agoMerge "Fix NPE at PrintSpooler in Japanese environment." into klp-dev
Svetoslav Ganov [Wed, 13 Nov 2013 22:19:56 +0000 (22:19 +0000)]
Merge "Fix NPE at PrintSpooler in Japanese environment." into klp-dev

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 13 Nov 2013 21:39:45 +0000 (13:39 -0800)]
Import translations. DO NOT MERGE

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

10 years agoSmall DocumentsProvider doc improvements.
Jeff Sharkey [Wed, 13 Nov 2013 21:31:09 +0000 (13:31 -0800)]
Small DocumentsProvider doc improvements.

Bug: 11670294
Change-Id: I5fb91c7665fc2a4531059ef9f2de0972ebabe1ea

10 years agoMerge "Update the PrintDocumentAdapter docs." into klp-dev
Svetoslav [Wed, 13 Nov 2013 21:30:57 +0000 (21:30 +0000)]
Merge "Update the PrintDocumentAdapter docs." into klp-dev

10 years agoKeyguard isn't visible if it hasn't been drawn.
Craig Mautner [Wed, 13 Nov 2013 21:09:35 +0000 (13:09 -0800)]
Keyguard isn't visible if it hasn't been drawn.

Reduces jank in multiuser lock from QuickSettings. The launcher and
wallpaper were being hidden as soon as the surface for the keyguard
was created. Now they are not hidden until the keyguard has been
drawn. This still leaves a short time where there is a black screen
but it is considerably shorter than it was. Comparable to jb now.

Fixes bug 11046339.

Change-Id: I349d95dba72da27e5c05a7a64c95a2774d17a34e

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

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

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

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

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 13 Nov 2013 19:54:28 +0000 (11:54 -0800)]
Import translations. DO NOT MERGE

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

10 years agoFix NPE at PrintSpooler in Japanese environment.
Keiji Ariyama [Wed, 13 Nov 2013 12:28:47 +0000 (21:28 +0900)]
Fix NPE at PrintSpooler in Japanese environment.

MediaSize ID have to be upper cases.

Change-Id: I84af01dbd185df210b5ebb1de282a4091e06df05
Related-issue: https://code.google.com/p/android/issues/detail?id=61984

10 years agoMerge "Support preferred activities with zero or one scheme in the filter" into klp-dev
Christopher Tate [Wed, 13 Nov 2013 19:33:46 +0000 (19:33 +0000)]
Merge "Support preferred activities with zero or one scheme in the filter" into klp-dev

10 years agoMerge "Bespoke, handcrafted, artisanal assist affordance assets." into klp-dev
Daniel Sandler [Wed, 13 Nov 2013 19:32:42 +0000 (19:32 +0000)]
Merge "Bespoke, handcrafted, artisanal assist affordance assets." into klp-dev

10 years agoMerge "DessertCase fixes:" into klp-dev
Daniel Sandler [Wed, 13 Nov 2013 19:32:27 +0000 (19:32 +0000)]
Merge "DessertCase fixes:" into klp-dev

10 years agoMerge "Switch DeadZone to Slog." into klp-dev
Daniel Sandler [Wed, 13 Nov 2013 19:32:24 +0000 (19:32 +0000)]
Merge "Switch DeadZone to Slog." into klp-dev

10 years agoMerge "Get rid of a race in NsdService in stopResolveService and getAddrInfo" into...
John Huang [Wed, 13 Nov 2013 19:13:59 +0000 (19:13 +0000)]
Merge "Get rid of a race in NsdService in stopResolveService and getAddrInfo" into klp-dev

10 years agoReplace keyboard sounds with latest (softer) design
Glenn Kasten [Tue, 12 Nov 2013 22:58:37 +0000 (14:58 -0800)]
Replace keyboard sounds with latest (softer) design

Make AudioPackage8 (N7 v1) and AudioPackage9 (N10) more like
AudioPackage12_48 (N5).

Bug: 11158758
Change-Id: I55052218f62159fd90efb21be19e19509eb11afe

10 years agoMerge "Finalize assets for screen casting." into klp-dev
Jeff Brown [Wed, 13 Nov 2013 16:51:53 +0000 (16:51 +0000)]
Merge "Finalize assets for screen casting." into klp-dev

10 years agoMerge "Ensure wallpaper hint is at least as large as the display." into klp-dev
John Spurlock [Wed, 13 Nov 2013 16:41:43 +0000 (16:41 +0000)]
Merge "Ensure wallpaper hint is at least as large as the display." into klp-dev

10 years agoUpdate changed delegate method in Bitmap_Delegate. DO NOT MERGE
Deepanshu Gupta [Mon, 11 Nov 2013 14:14:11 +0000 (19:44 +0530)]
Update changed delegate method in Bitmap_Delegate. DO NOT MERGE

Issue: https://code.google.com/p/android/issues/detail?id=60167
Change-Id: I3e1d6b9d52ca899889ba758b0ea91bd742cf5005

10 years agoFinalize assets for screen casting.
Jeff Brown [Wed, 13 Nov 2013 08:45:18 +0000 (00:45 -0800)]
Finalize assets for screen casting.

Extend wifi display connection timeout.

Show a notification while connecting to wifi display.

Ensure that remote display providers are really trusted before
connecting to them.

Bug: 11257292
Change-Id: Iad0caaa30d7946df818bc75ade071f2e377f8a53

10 years agoFix the docs build
Jean Chalard [Wed, 13 Nov 2013 06:20:38 +0000 (15:20 +0900)]
Fix the docs build

Change-Id: I05f1f39aaa9d72201a7fd06377799246039cd505

10 years agoMerge "Improve documentation for InputType and EditorInfo." into klp-dev
Jean Chalard [Wed, 13 Nov 2013 05:19:34 +0000 (05:19 +0000)]
Merge "Improve documentation for InputType and EditorInfo." into klp-dev

10 years agomerge in klp-mr1-release history after reset to klp-dev
The Android Automerger [Wed, 13 Nov 2013 04:00:43 +0000 (20:00 -0800)]
merge in klp-mr1-release history after reset to klp-dev

10 years agoEnable fast camera transition when launched from navbar
Jim Miller [Wed, 13 Nov 2013 03:52:12 +0000 (19:52 -0800)]
Enable fast camera transition when launched from navbar

This reduces the camera transition timeout to 0 if launched
from the navigation bar.  The transition cannot be aborted once
launched.

Change-Id: I7c376fbb90fd51cd301ef49fbd3411370bc2e4b5

10 years agoDessertCase fixes:
Daniel Sandler [Wed, 13 Nov 2013 02:50:18 +0000 (21:50 -0500)]
DessertCase fixes:

- No more crashing on first launch of the easter egg
- Use IMMERSIVE_STICKY to avoid getting stuck with bars

Bug: 11319125
Change-Id: I4522feb36c29be8446715ba67d454a2012d181ca

10 years agoReduce camera launch time by about 250ms.
Jim Miller [Wed, 13 Nov 2013 02:14:26 +0000 (18:14 -0800)]
Reduce camera launch time by about 250ms.

This reduces the amount of time available to the user to cancel
launching the camera in order to improve average launch time.

It also increases the threshhold for flings and motions to prevent
unintentional launches which are costly in terms of falsing.

Fixes bug b/11657355

Change-Id: I852abbe3ce8ddddcb65f3a48a2f8111d20126189

10 years agoBespoke, handcrafted, artisanal assist affordance assets.
Daniel Sandler [Wed, 13 Nov 2013 01:51:54 +0000 (20:51 -0500)]
Bespoke, handcrafted, artisanal assist affordance assets.

Bug: 11243771
Change-Id: I6eb320ca78ccafc435259d30df95582aa7e3c53c

10 years agoSwitch DeadZone to Slog.
Daniel Sandler [Wed, 13 Nov 2013 01:33:34 +0000 (20:33 -0500)]
Switch DeadZone to Slog.

Should help us identify stray clicks further back in time
thanks to the longer system log buffer.

Bug: 11273982
Change-Id: Ie2bf445622afff3dbc903adad6c0497954fa5fe0

10 years agomerge in klp-mr1-release history after reset to klp-dev
The Android Automerger [Wed, 13 Nov 2013 01:24:36 +0000 (17:24 -0800)]
merge in klp-mr1-release history after reset to klp-dev

10 years agoFix an action bar accessibility regression
Adam Powell [Wed, 13 Nov 2013 00:20:46 +0000 (16:20 -0800)]
Fix an action bar accessibility regression

A previous fix introduced a problem with building content descriptions
for accessibility of the home/up button in one code path while setting
display options flags. Correct the issue and also refresh content
descriptions immediately when setting related attributes one at a
time.

Bug 11542264

Change-Id: I40d07036d1026e8e40c77c47ac377c82edd827b4

10 years agoUpdate the PrintDocumentAdapter docs.
Svetoslav [Wed, 13 Nov 2013 00:20:55 +0000 (16:20 -0800)]
Update the PrintDocumentAdapter docs.

This change adds some clarification when a cancellation will be
requested during a layout or write. It also clarifies from which
thread the layout and write callbacks can be invoked.

Change-Id: Id20ff04c6fca8315849ed4a6c329da1b12bb6836

10 years agoMerge "Relayout windows that handle their own config change." into klp-dev
Craig Mautner [Tue, 12 Nov 2013 23:56:21 +0000 (23:56 +0000)]
Merge "Relayout windows that handle their own config change." into klp-dev

10 years agoGet rid of a race in NsdService in stopResolveService and getAddrInfo
Vinit Deshapnde [Tue, 12 Nov 2013 23:36:37 +0000 (15:36 -0800)]
Get rid of a race in NsdService in stopResolveService and getAddrInfo

Both requests are made using same id; and there is a chance that
stopResolve() is not fully completed when getAddrInfo() is issued. That
results getAddrInfo() failure, because both are using same requestId.

This change fixes this problem by creating a new unique id to call
getAddrInfo() with.

Bug: 11597153
Change-Id: I56bd78740e8a40bd31c52705dc797486aff53a50

10 years agoMerge "Fix inconsistency in reporting device admin active state." into klp-dev
Amith Yamasani [Tue, 12 Nov 2013 22:47:55 +0000 (22:47 +0000)]
Merge "Fix inconsistency in reporting device admin active state." into klp-dev

10 years agoRelayout windows that handle their own config change.
Craig Mautner [Tue, 12 Nov 2013 22:02:52 +0000 (14:02 -0800)]
Relayout windows that handle their own config change.

If a window claims to handle its own configuration change then we
won't destroy and recreate its window on a configuration change.
Normally that recreation triggers the first layout following
orientation change because mHaveFrame is false. Windows that handle
their own configuration changes never got a relayout pass following a
change in orientation.

This change passes the configuration changes that an application
handles into the AppWindowToken. If the app says it handles
orientation or screen size changes then a relayout will occur when the
configuration has changed.

Fixes bug 11647107.

Change-Id: Ie8d49fd050442ebbdcf0b805087894e3a2fc4be9

10 years agoSupport preferred activities with zero or one scheme in the filter
Christopher Tate [Tue, 12 Nov 2013 01:43:43 +0000 (17:43 -0800)]
Support preferred activities with zero or one scheme in the filter

Also use the existing full PreferredActivity match machinery instead
of the existing direct comparison now that the intent filters can
be more flexible.

Bug 11482259

Change-Id: Icb649ca60ecfbdb9ee3c256ee512d3f3f989e05f

10 years agoMerge "Add event logging for tasks and stacks." into klp-dev
Craig Mautner [Tue, 12 Nov 2013 19:15:23 +0000 (19:15 +0000)]
Merge "Add event logging for tasks and stacks." into klp-dev

10 years agoMerge "Fix bug #11586041 Regression: text truncation in Clock" into klp-dev
Fabrice Di Meglio [Tue, 12 Nov 2013 19:03:48 +0000 (19:03 +0000)]
Merge "Fix bug #11586041 Regression: text truncation in Clock" into klp-dev

10 years agoMerge "Make AudioPackage11 (N7 v2) more like AudioPackage12_48 (N5)" into klp-dev
Glenn Kasten [Tue, 12 Nov 2013 18:40:42 +0000 (18:40 +0000)]
Merge "Make AudioPackage11 (N7 v2) more like AudioPackage12_48 (N5)" into klp-dev

10 years agoMerge "Camera2: Add support for partial result metadata quirk" into klp-dev
Eino-Ville Talvala [Tue, 12 Nov 2013 18:27:06 +0000 (18:27 +0000)]
Merge "Camera2: Add support for partial result metadata quirk" into klp-dev

10 years agoAdd event logging for tasks and stacks.
Craig Mautner [Tue, 12 Nov 2013 16:31:15 +0000 (08:31 -0800)]
Add event logging for tasks and stacks.

Also remove crufty write-only DisplayContent.mStackHistory.

Change-Id: I62b2b53dc02377c5d0d3b79df70b1990eed87d23

10 years agoEnsure wallpaper hint is at least as large as the display.
John Spurlock [Mon, 4 Nov 2013 18:48:38 +0000 (13:48 -0500)]
Ensure wallpaper hint is at least as large as the display.

Bug:11332853
Bug:11606952
Change-Id: I1840d7b723015c379da8eab7e22aa478d56adeb3

10 years agoMerge "UI tweaks." into klp-dev
Jeff Brown [Tue, 12 Nov 2013 05:57:48 +0000 (05:57 +0000)]
Merge "UI tweaks." into klp-dev

10 years agoUI tweaks.
Jeff Brown [Tue, 12 Nov 2013 01:55:08 +0000 (17:55 -0800)]
UI tweaks.

Hide disabled routes from the chooser.

Fix layout of chooser dialog when the settings button is visible and
the list is very long to prevent truncation of the settings button.

Fix an issue when we fake the route connecting status when a route
is selected.  The route changed notification needs to be propagated
to apps.  Fake it better.

Immediately disconnect from a route when the connection is lost or
a connection attempt fails.  Added a few new test displays for this
case.

Bug: 11257292
Change-Id: I360ab5dc937ad60d97592eab54b19f034519645e

10 years agoImprove documentation for InputType and EditorInfo.
Jean Chalard [Mon, 11 Nov 2013 08:47:51 +0000 (17:47 +0900)]
Improve documentation for InputType and EditorInfo.

Bug: 11245912
Change-Id: Ie92ba20079461f7f0e30d969ba3692fec3a3b97f

10 years agoMerge "PreferencesFragment showing the breadcrumb area in single pane mode." into...
Svetoslav [Tue, 12 Nov 2013 04:01:16 +0000 (04:01 +0000)]
Merge "PreferencesFragment showing the breadcrumb area in single pane mode." into klp-dev

10 years agoPreferencesFragment showing the breadcrumb area in single pane mode.
Svetoslav [Tue, 12 Nov 2013 02:20:25 +0000 (18:20 -0800)]
PreferencesFragment showing the breadcrumb area in single pane mode.

If the PreferenceActivity is running in a single pane mode we are
not showing the headers and the breadcrumb area. However, when this
activity is restarted and has a saved state to restore we are trying
to use headers even in a single pane mode. As a result the breadcrumb
area is shown and the content is shifted to the bottom with an empty
space at the top. This change ignores the saved headers from the
saved instance state in a single pane mode. Note that in such a case
these headers are null anyway as we do not use them.

bug:11242762

Change-Id: I2828bc82762695d9c93fb4ca43933598a9b12b87

10 years agoMerge "Work on issue #11634365: Leaking restarting services" into klp-dev
Dianne Hackborn [Tue, 12 Nov 2013 01:36:10 +0000 (01:36 +0000)]
Merge "Work on issue #11634365: Leaking restarting services" into klp-dev

10 years agoMerge "Disallow transient status bar on the keyguard." into klp-dev
John Spurlock [Tue, 12 Nov 2013 01:28:40 +0000 (01:28 +0000)]
Merge "Disallow transient status bar on the keyguard." into klp-dev

10 years agoWork on issue #11634365: Leaking restarting services
Dianne Hackborn [Tue, 12 Nov 2013 01:25:37 +0000 (17:25 -0800)]
Work on issue #11634365: Leaking restarting services

Tighten up some flows to try to avoid any chance of leaving
a restarting service on the list, add a log to the only remaining
place I could find that we could get in to trouble for some
reason.

Change-Id: Iffb9be9d97deefc6cf0c5790eedfeb6e4e8a36bc

10 years agoFix bug #11586041 Regression: text truncation in Clock
Fabrice Di Meglio [Fri, 8 Nov 2013 22:54:04 +0000 (14:54 -0800)]
Fix bug #11586041 Regression: text truncation in Clock

Background padding should be used only and only if
- no padding is already defined into a layout file
- an explicit call to setBackground() / setBackgroundDrawable() has been done

Change-Id: I0a732c61b898e006ee86377bcbe7691740d68111

10 years agoDelegate existence of account check to Authenticator.
Jatin Lodhia [Thu, 7 Nov 2013 08:14:25 +0000 (00:14 -0800)]
Delegate existence of account check to Authenticator.

Current AccountManager code for getAuthToken checks if the account
in the request exists. If the account does not exist then it throws
an exception which leads to a runtime exception being thrown by
AccountManager in the client. In perticular, Checkin client code
hits this issue when accounts are deleted by user. As the exception
is thrown from the getAuthToken method call and is a RuntimeException
it is not caught by the client. Futhermore, Checkin runs in one of the
important processes and this exception makes the process crash.

This cl, does the following:
1) Delegates the account exists check to Authentictor which in turn
would cause an AuthenticatorException which is a checked exception.
2) Replaces some of the runtime exceptions thrown by AccountManagerService
with calling AccountManagerResponse.onError() which causes more graceful
failure on the client.
3) Correctly passes on the error returned by Authenticator to
AccountManager. Earlier if Authenticator returned an error code to
the AccountManager, it ignored the error and returned null token to the
client which was incorrect.

Bug: 10856295
Change-Id: Ie250fec601d46f6dfecd74677b478bfd4e9dcfad

10 years agoMerge "Fix Tethys asset" into klp-dev
Jean-Michel Trivi [Mon, 11 Nov 2013 23:44:27 +0000 (23:44 +0000)]
Merge "Fix Tethys asset" into klp-dev

10 years agoMerge "Give storage provider access to secondary devices." into klp-dev
Jeff Sharkey [Mon, 11 Nov 2013 23:16:38 +0000 (23:16 +0000)]
Merge "Give storage provider access to secondary devices." into klp-dev

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

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

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

10 years agoGive storage provider access to secondary devices.
Jeff Sharkey [Mon, 11 Nov 2013 22:36:33 +0000 (14:36 -0800)]
Give storage provider access to secondary devices.

Bug: 11411460
Change-Id: I3827ed5b859a68c60742a27917459e8df2c276bb