OSDN Git Service

android-x86/frameworks-base.git
10 years agoMerge "Clear accessibility focus when view becomes invisible" into klp-dev
Alan Viverette [Wed, 9 Oct 2013 20:25:14 +0000 (20:25 +0000)]
Merge "Clear accessibility focus when view becomes invisible" into klp-dev

10 years agoMerge "deblue notification dividers" into klp-dev
Mindy DelliCarpini [Wed, 9 Oct 2013 20:14:14 +0000 (20:14 +0000)]
Merge "deblue notification dividers" into klp-dev

10 years agoMerge "Camera2: Properly copy over user tag when cloning requests" into klp-dev
Eino-Ville Talvala [Wed, 9 Oct 2013 19:44:33 +0000 (19:44 +0000)]
Merge "Camera2: Properly copy over user tag when cloning requests" into klp-dev

10 years agoMerge "Fix issue #11087316: Can't run dumpsys procstats on user builds in some cases...
Dianne Hackborn [Wed, 9 Oct 2013 19:15:35 +0000 (19:15 +0000)]
Merge "Fix issue #11087316: Can't run dumpsys procstats on user builds in some cases!" into klp-dev

10 years agoFix issue #11087316: Can't run dumpsys procstats on user builds in some cases!
Dianne Hackborn [Wed, 9 Oct 2013 19:14:11 +0000 (12:14 -0700)]
Fix issue #11087316: Can't run dumpsys procstats on user builds in some cases!

Once we pass the dump perm check, we are safe.

Change-Id: I58f483573874ca9f8f914fb94137f8a2afafaf25

10 years agoMerge "Remove overly tight constraint on drawn Keyguard." into klp-dev
Craig Mautner [Wed, 9 Oct 2013 19:10:44 +0000 (19:10 +0000)]
Merge "Remove overly tight constraint on drawn Keyguard." into klp-dev

10 years agoMerge "Introduce View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY." into klp-dev
John Spurlock [Wed, 9 Oct 2013 18:27:52 +0000 (18:27 +0000)]
Merge "Introduce View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY." into klp-dev

10 years agoMerge "Add missing locking when updating the accessibility node info cache." into...
Svetoslav [Wed, 9 Oct 2013 17:55:15 +0000 (17:55 +0000)]
Merge "Add missing locking when updating the accessibility node info cache." into klp-dev

10 years agoMerge "Install providers enabled after app started." into klp-dev
Jeff Sharkey [Wed, 9 Oct 2013 17:45:11 +0000 (17:45 +0000)]
Merge "Install providers enabled after app started." into klp-dev

10 years agoMerge "Allow killed task to remove itself" into klp-dev
Adam Lesinski [Wed, 9 Oct 2013 17:36:57 +0000 (17:36 +0000)]
Merge "Allow killed task to remove itself" into klp-dev

10 years agoIntroduce View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY.
John Spurlock [Wed, 9 Oct 2013 16:35:52 +0000 (12:35 -0400)]
Introduce View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY.

The existing View.SYSTEM_UI_FLAG_IMMERSIVE flag will be somewhat
redefined.  Swiping will clear the flags, revealing the normal bars.

The new View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY flag will enable
hideybars - the auto-hiding, semi-transparent bar mode.

Bug:11062108
Change-Id: Ibf8be9072f0075953baa4580cd976e7562d44455

10 years agoMerge "Grab Activity reference before leaving fragment." into klp-dev
Jeff Sharkey [Wed, 9 Oct 2013 07:26:10 +0000 (07:26 +0000)]
Merge "Grab Activity reference before leaving fragment." into klp-dev

10 years agoRemove overly tight constraint on drawn Keyguard.
Craig Mautner [Wed, 9 Oct 2013 00:26:08 +0000 (17:26 -0700)]
Remove overly tight constraint on drawn Keyguard.

The requirement that a window that is invisible will not be drawn is
incorrect. In particular the test fails before a surface has even been
added (mHasSurface == false) or shown (mPolicyVisibility == false).
This was causing the screen to turn on before Keyguard had been drawn
and exposing surfaces that would have normally remained hidden.

Also, don't pass null into KeyguardServiceDelegate.onShown() or we
will immediately turn the screen on before Keyguard is drawn.

Fixes bug 11062635.

Change-Id: I964c7ef186d0a94678020b9c27ca6b79e5433350

10 years agoCamera2: Properly copy over user tag when cloning requests
Eino-Ville Talvala [Wed, 9 Oct 2013 02:34:29 +0000 (19:34 -0700)]
Camera2: Properly copy over user tag when cloning requests

Bug: 11141002
Change-Id: Icc5c4150a6796d705f5c6c3bd1322597fc986af2

10 years agoMerge "Fix captive portal detection on IPv6 networks." into klp-dev
Lorenzo Colitti [Wed, 9 Oct 2013 02:14:42 +0000 (02:14 +0000)]
Merge "Fix captive portal detection on IPv6 networks." into klp-dev

10 years agoAdd missing locking when updating the accessibility node info cache.
Svetoslav [Wed, 9 Oct 2013 01:31:54 +0000 (18:31 -0700)]
Add missing locking when updating the accessibility node info cache.

bug:10489954

Change-Id: Iccf55d074ea712566f441b9f6616a4c1fe847e0a

10 years agoGrab Activity reference before leaving fragment.
Jeff Sharkey [Wed, 9 Oct 2013 00:09:18 +0000 (17:09 -0700)]
Grab Activity reference before leaving fragment.

When creating a new directory, we spawn an AsyncTask and finish the
fragment.  This change keeps an Activity reference to report the
result back to.

Bug: 11137561
Change-Id: Icfccc5e50e8f53a50dced589e1564d64457e0ed0

10 years agoPreload DexCaches
Brian Carlstrom [Tue, 8 Oct 2013 00:47:37 +0000 (17:47 -0700)]
Preload DexCaches

Bug: 11045348
Change-Id: Id27333652d4b3b9ace6c1cdf0566bf39bf0084ed

10 years agoMerge "Fix NPE in CallerInfo.getCurrentCountryIso()." into klp-dev
Jake Hamby [Wed, 9 Oct 2013 00:03:34 +0000 (00:03 +0000)]
Merge "Fix NPE in CallerInfo.getCurrentCountryIso()." into klp-dev

10 years agoInstall providers enabled after app started.
Jeff Sharkey [Wed, 9 Oct 2013 00:01:30 +0000 (17:01 -0700)]
Install providers enabled after app started.

When an app has already been started, and a ContentProvider component
is enabled with DONT_KILL_APP, use the existing ProcessRecord to
install the provider.

Bug: 11118692
Change-Id: I990f18b337eb19768ee1db895f1e2eb982046cce

10 years agoFix NPE in CallerInfo.getCurrentCountryIso().
Jake Hamby [Tue, 8 Oct 2013 23:31:16 +0000 (16:31 -0700)]
Fix NPE in CallerInfo.getCurrentCountryIso().

Internal method CallerInfo.getCurrentCountryIso() can throw NPE
if the country detector's detectCountry() method returns null.
Add code to check that the Country is not null before calling
getCountryIso() on it. Change fallback logic to call
locale.getCountry() whenever countryIso was not assigned.

Bug: 10607906
Change-Id: I08fe3f4d942f67c37a2e6ff0b067fe32ad8a6fa5

10 years agoMerge "Make RemoteController weakly referenced by IRemoteControlDisplay" into klp-dev
Jean-Michel Trivi [Tue, 8 Oct 2013 23:31:04 +0000 (23:31 +0000)]
Merge "Make RemoteController weakly referenced by IRemoteControlDisplay" into klp-dev

10 years agoMerge "Fix default clock localization in keyguard." into klp-dev
Jim Miller [Tue, 8 Oct 2013 23:04:40 +0000 (23:04 +0000)]
Merge "Fix default clock localization in keyguard." into klp-dev

10 years agomerge in KFS78N (no-op)
Ed Heyl [Tue, 8 Oct 2013 22:59:56 +0000 (15:59 -0700)]
merge in KFS78N (no-op)

10 years agoMake RemoteController weakly referenced by IRemoteControlDisplay
Jean-Michel Trivi [Tue, 8 Oct 2013 22:42:31 +0000 (15:42 -0700)]
Make RemoteController weakly referenced by IRemoteControlDisplay

In the RemoteController implementation, the inner class that
 implements the IRemoteControlDisplay interface must have a weak
 link to the RemoteController instance with which it is associated,
 as MediaFocusControl and RemoteControlClient hold a strong
 reference to this binder object in a different remote process.
 Without a weak reference, any object referencing RemoteController
 couldn't be independently garbage collected without a garbage
 collection in the remote process.

Bug 8209392

Change-Id: I29e4274c45249b3cb0d3d89417c69e8fe8f62fc4

10 years agoAllow killed task to remove itself
Adam Lesinski [Tue, 8 Oct 2013 22:41:18 +0000 (15:41 -0700)]
Allow killed task to remove itself

When killing a task from the recents UI, the activities in
the task would be scheduled for destruction, and the task would
be forcefully removed from the ActivityStack, destroying the
ActivityStack in the process if this was the last task. Since the
ActivityStack was removed, any activities calling back to report
their onDestroy was called (or any timeouts that trigger if
activities fail to do this) would be dropped and certain cleanup
routines would not be called.

Tasks and their ActivityStacks are removed automatically when the
activities within them are removed, so this manual removal was
preventing the cleanup routines from running.

bug:10920157
Change-Id: Ied9d4f8fea761a373a9a80a0dfe810590ab411d8

10 years agomerge in KQS81M
Ed Heyl [Tue, 8 Oct 2013 22:40:08 +0000 (15:40 -0700)]
merge in KQS81M

10 years agoMerge "Close context menu dialogs if the menu becomes empty" into klp-dev
Adam Powell [Tue, 8 Oct 2013 22:32:53 +0000 (22:32 +0000)]
Merge "Close context menu dialogs if the menu becomes empty" into klp-dev

10 years agoMerge "Revert "Show no_sim icon when no SIM card is available."" into klp-dev
Dan Sandler [Tue, 8 Oct 2013 22:32:44 +0000 (22:32 +0000)]
Merge "Revert "Show no_sim icon when no SIM card is available."" into klp-dev

10 years agoFix default clock localization in keyguard.
Jim Miller [Tue, 8 Oct 2013 22:32:09 +0000 (15:32 -0700)]
Fix default clock localization in keyguard.

Uses new DateFormat.getBestDateTimePattern() to get localized format
string.

Fixes bug 11120830

Change-Id: If49a95ac4f222da7d16523c99476c5895326d71e

10 years agoRevert "Show no_sim icon when no SIM card is available."
Dan Sandler [Tue, 8 Oct 2013 22:28:18 +0000 (22:28 +0000)]
Revert "Show no_sim icon when no SIM card is available."

It doesn't look good in the combo RSSI layout, and while we could make
it look better by adding some padding (like the airplane icon), we haven't
had a no_sim icon since ICS and people are pretty much OK with it.

This reverts commit 2eeacc02a252607e7c2fd1a00c60d8aa567694cc.

Bug: 11127588
Change-Id: Ibefd6096171588fcab1e3c5174abda9758cc5f6d

10 years agoClose context menu dialogs if the menu becomes empty
Adam Powell [Tue, 8 Oct 2013 22:20:29 +0000 (15:20 -0700)]
Close context menu dialogs if the menu becomes empty

If a view triggers showContextMenu while a context menu is already
shown but contributes no items to the menu the menu dialog would
become empty. Simply close the dialog if this happens.

Bug 11063885

Change-Id: I9e7c96073318c94eda5f1e1c4beb596b3d9da781

10 years agoMerge "Fix a crash in the select printers activity." into klp-dev
Svetoslav [Tue, 8 Oct 2013 21:28:12 +0000 (21:28 +0000)]
Merge "Fix a crash in the select printers activity." into klp-dev

10 years agoMerge "Wallpaper cropper should inherit translucent theme" into klp-dev
Michael Jurka [Tue, 8 Oct 2013 21:27:13 +0000 (21:27 +0000)]
Merge "Wallpaper cropper should inherit translucent theme" into klp-dev

10 years agoClear accessibility focus when view becomes invisible
Alan Viverette [Tue, 8 Oct 2013 21:25:42 +0000 (14:25 -0700)]
Clear accessibility focus when view becomes invisible

BUG: 10912882
Change-Id: I8c7c6906fcf7688ecdfac6649464f088dd812c41

10 years agoMerge "Tweak status bar gradient." into klp-dev
John Spurlock [Tue, 8 Oct 2013 21:25:11 +0000 (21:25 +0000)]
Merge "Tweak status bar gradient." into klp-dev

10 years agoTweak status bar gradient.
John Spurlock [Tue, 8 Oct 2013 21:22:56 +0000 (17:22 -0400)]
Tweak status bar gradient.

Bug:10967264
Change-Id: I803420ba332934398b4878644e3a168bd99701ad

10 years agoMerge "Add secondary external storage support." into klp-dev
Jeff Sharkey [Tue, 8 Oct 2013 21:05:35 +0000 (21:05 +0000)]
Merge "Add secondary external storage support." into klp-dev

10 years agoMerge "Wrong argument: handleUnstableProviderDiedLocked" into klp-dev
Dianne Hackborn [Tue, 8 Oct 2013 20:29:47 +0000 (20:29 +0000)]
Merge "Wrong argument: handleUnstableProviderDiedLocked" into klp-dev

10 years agoMerge "Fix HIDE_DESCENDANTS accessibility importance mode" into klp-dev
Alan Viverette [Tue, 8 Oct 2013 20:14:20 +0000 (20:14 +0000)]
Merge "Fix HIDE_DESCENDANTS accessibility importance mode" into klp-dev

10 years agoMerge "Don't wake users up with low battery sounds." into klp-dev
Daniel Sandler [Tue, 8 Oct 2013 20:03:06 +0000 (20:03 +0000)]
Merge "Don't wake users up with low battery sounds." into klp-dev

10 years agoMerge "Out with the sliders, in with the cog." into klp-dev
Daniel Sandler [Tue, 8 Oct 2013 20:02:48 +0000 (20:02 +0000)]
Merge "Out with the sliders, in with the cog." into klp-dev

10 years agoAdd secondary external storage support.
Jeff Sharkey [Mon, 7 Oct 2013 23:49:47 +0000 (16:49 -0700)]
Add secondary external storage support.

When SECONDARY_STORAGE is defined by the hardware configuration,
include those paths in the new getExternalCacheDirs() and
getExternalFilesDirs() APIs.  Give secondary volumes valid state
until vold reports back.

Bug: 1033012810330229
Change-Id: Ifa55bfda47fd7c750f462dd26c98792ad462ab91

10 years agoWallpaper cropper should inherit translucent theme
Michael Jurka [Tue, 8 Oct 2013 00:50:51 +0000 (17:50 -0700)]
Wallpaper cropper should inherit translucent theme

Change-Id: Icd13130d6250759c71ef016f62d10d7359cf067e

10 years agoWrong argument: handleUnstableProviderDiedLocked
You Kim [Mon, 30 Sep 2013 15:13:26 +0000 (00:13 +0900)]
Wrong argument: handleUnstableProviderDiedLocked

mProvider is HashMap<ProviderKey, ProviderClientRecord>. String
is not correct object for KEY. Complete removal using iterator.

Bug: 11086495

Change-Id: I51e4576544ef02ede6f96938689dd4e43ec6eb4f

10 years agoFix a crash in the select printers activity.
Svetoslav [Tue, 8 Oct 2013 18:25:32 +0000 (11:25 -0700)]
Fix a crash in the select printers activity.

 When the search view is attached and detached we announce that
 for accessibility. The trouble is that if the activity is being
 torn down we are trying to access resources from a fragment that
 is detached and the qcrash occurs. This change does not try to
 access resources if the activity is finishing and also we do not
 load resource strings if accessibility is not enabled.

bug:11127814

Change-Id: I4a47a8ed3b6a13544cf17b4395560246a33f0e2d

10 years agoMerge "Disable dragging the challenge area when there are no widgets" into klp-dev
Jim Miller [Tue, 8 Oct 2013 18:38:26 +0000 (18:38 +0000)]
Merge "Disable dragging the challenge area when there are no widgets" into klp-dev

10 years agoMerge "Translucent sysui flags affect layout." into klp-dev
John Spurlock [Tue, 8 Oct 2013 18:34:57 +0000 (18:34 +0000)]
Merge "Translucent sysui flags affect layout." into klp-dev

10 years agoDon't wake users up with low battery sounds.
Daniel Sandler [Mon, 23 Sep 2013 20:05:57 +0000 (16:05 -0400)]
Don't wake users up with low battery sounds.

Battery sounds will always play when the screen is on, and
then for Settings.Global.LOW_BATTERY_SOUND_TIMEOUT
milliseconds after the screen goes off. After that, low
battery alerts will be pushed out the airlock until the
screen comes back on again.

If battery sounds are suppressed via this mechanism you'll
see a log line like:

V/PowerUI ( 3161): screen off too long (5779ms, limit
5000ms): not waking up the user with low battery sound

The default value of LOW_BATTERY_SOUND_TIMEOUT is a settings
provider resource: R.integer.def_low_battery_sound_timeout.

Bug: 10487557
Change-Id: Iddd42038aa630631dc8f1833f20fcc5a0c646681

10 years agoOut with the sliders, in with the cog.
Daniel Sandler [Tue, 8 Oct 2013 17:27:33 +0000 (13:27 -0400)]
Out with the sliders, in with the cog.

Bug: 11103061
Change-Id: I58895c426f76f81148e4b0b08115c85f40debf6a

10 years agoMerge "Clean up unused resources" into klp-dev
Chris Craik [Tue, 8 Oct 2013 17:26:59 +0000 (17:26 +0000)]
Merge "Clean up unused resources" into klp-dev

10 years agoMerge "Hide Experimental WebView from dev settings DO NOT MERGE" into klp-dev
Torne (Richard Coles) [Tue, 8 Oct 2013 17:17:06 +0000 (17:17 +0000)]
Merge "Hide Experimental WebView from dev settings DO NOT MERGE" into klp-dev

10 years agoMerge "Fix typo in drawable xml" into klp-dev
Adam Powell [Tue, 8 Oct 2013 17:15:39 +0000 (17:15 +0000)]
Merge "Fix typo in drawable xml" into klp-dev

10 years agoFix typo in drawable xml
Adam Powell [Tue, 8 Oct 2013 17:10:40 +0000 (10:10 -0700)]
Fix typo in drawable xml

Bug 11130411

Change-Id: I76e1f5f684b17a4fa9e3e7064f7ab66029171c70

10 years agoHide Experimental WebView from dev settings DO NOT MERGE
Jonathan Dixon [Thu, 12 Sep 2013 00:55:15 +0000 (17:55 -0700)]
Hide Experimental WebView from dev settings DO NOT MERGE

Bug 10427705

The persist.webview system property is no longer needed, so removed too.

Change-Id: I8f02736469464b52636f3d59ec8537d11766d39f

10 years agodeblue notification dividers
Ari Sachter-Zeltzer [Tue, 8 Oct 2013 00:22:18 +0000 (17:22 -0700)]
deblue notification dividers

Change-Id: I6530b7c777c1ef793033d2333f229e9e06f0db70

10 years agoTranslucent sysui flags affect layout.
John Spurlock [Tue, 8 Oct 2013 16:54:35 +0000 (12:54 -0400)]
Translucent sysui flags affect layout.

Recently removed when they went private, but that was wrong:
they still affect layout.

Bug:11128955
Change-Id: Ic94230732a6b2ff3dcaa79b03e181a4e46585902

10 years agoMerge "Don't crop top-most windows at rest." into klp-dev
John Spurlock [Tue, 8 Oct 2013 16:36:49 +0000 (16:36 +0000)]
Merge "Don't crop top-most windows at rest." into klp-dev

10 years agoMerge "Show unavailable printers disabled and grayed out." into klp-dev
Svetoslav Ganov [Tue, 8 Oct 2013 16:34:58 +0000 (16:34 +0000)]
Merge "Show unavailable printers disabled and grayed out." into klp-dev

10 years agoMerge "Do not do a layout and write while a cancellation is in progress." into klp-dev
Svetoslav Ganov [Tue, 8 Oct 2013 16:34:27 +0000 (16:34 +0000)]
Merge "Do not do a layout and write while a cancellation is in progress." into klp-dev

10 years agoMerge "Make the print dialog floating." into klp-dev
Svetoslav Ganov [Tue, 8 Oct 2013 16:32:52 +0000 (16:32 +0000)]
Merge "Make the print dialog floating." into klp-dev

10 years agoShow unavailable printers disabled and grayed out.
Svetoslav Ganov [Tue, 8 Oct 2013 05:17:30 +0000 (22:17 -0700)]
Show unavailable printers disabled and grayed out.

1. If a printer is not available it has to disabled and grayed out.

2. Cancle a print job if the app does not provide the requested pages.

3. Fix current printer selection flicker when the print dialog is
   showing up. Often the current printer is initially set to the user's
   favorite and then it is changed back to the PDF one.

bug:10983508

Change-Id: I8d53eb992cf1c92675ec09f61b2ec272b962fa68

10 years agoDon't crop top-most windows at rest.
John Spurlock [Tue, 8 Oct 2013 14:08:32 +0000 (10:08 -0400)]
Don't crop top-most windows at rest.

They can affect the system decor state, cropping to their
current requested state is too aggressive.

Bug:11079003
Change-Id: Ifec576d41cdefd1b851463d4b12311f1a8e27b3d

10 years agoMerge "Remove remaining (unused) sysui asset in classic blue." into klp-dev
John Spurlock [Tue, 8 Oct 2013 14:38:34 +0000 (14:38 +0000)]
Merge "Remove remaining (unused) sysui asset in classic blue." into klp-dev

10 years agoRemove remaining (unused) sysui asset in classic blue.
John Spurlock [Tue, 8 Oct 2013 14:10:25 +0000 (10:10 -0400)]
Remove remaining (unused) sysui asset in classic blue.

Bug: 10918599
Change-Id: I417b32f30dae4211a492120e35716da434a6474b

10 years agoMerge "Turn debugging off prior to ship." into klp-dev
John Spurlock [Tue, 8 Oct 2013 13:56:31 +0000 (13:56 +0000)]
Merge "Turn debugging off prior to ship." into klp-dev

10 years agoTurn debugging off prior to ship.
John Spurlock [Tue, 8 Oct 2013 13:36:50 +0000 (09:36 -0400)]
Turn debugging off prior to ship.

Bug:10488453
Change-Id: I37680c6b0c24f00f4fe3926ee97d2a14edb1ced7

10 years agoMerge "Do not attempt to decode NULL SkData." into klp-dev
Leon Scroggins III [Tue, 8 Oct 2013 13:33:04 +0000 (13:33 +0000)]
Merge "Do not attempt to decode  NULL SkData." into klp-dev

10 years agoFix captive portal detection on IPv6 networks.
Lorenzo Colitti [Tue, 8 Oct 2013 01:41:25 +0000 (10:41 +0900)]
Fix captive portal detection on IPv6 networks.

Currently the captive portal check URL is generated by
concatenating scheme, "://", IP address, and port. This breaks
for IPv6 because IPv6 addresses in URLs must be enclosed in
square brackets (e.g., http://2001:db8::1/generate_204 is
invalid; should he http://[2001:db8::1]/generate_204 instead).
The resulting MalformedURLException causes isMobileOk to report
that there is no captive portal, even if there is one.

Fortunately the three-arg URL constructor already knows how to
construct URLs with IPv6 addresses. Use that instead of
generating the URL ourselves.

Bug: 10801896
Change-Id: I02605ef62f493a34f25bb405ef02b111543a76fd

10 years agoDisable dragging the challenge area when there are no widgets
Jim Miller [Tue, 8 Oct 2013 02:20:56 +0000 (19:20 -0700)]
Disable dragging the challenge area when there are no widgets

Fixes bug 10784855

Change-Id: Id1d752eb4bdc64a9d09fd478087d16dc17682c77

10 years agoMerge "Update search asset with new new new asset." into klp-dev
Jim Miller [Tue, 8 Oct 2013 01:52:12 +0000 (01:52 +0000)]
Merge "Update search asset with new new new asset." into klp-dev

10 years agoUpdate search asset with new new new asset.
Jim Miller [Tue, 8 Oct 2013 01:40:43 +0000 (18:40 -0700)]
Update search asset with new new new asset.

Fixes bug 11102853

Change-Id: Icab95409e0b641858e301157ad3f56542bb6d4f8

10 years agoFix HIDE_DESCENDANTS accessibility importance mode
Alan Viverette [Tue, 8 Oct 2013 01:28:45 +0000 (18:28 -0700)]
Fix HIDE_DESCENDANTS accessibility importance mode

Ensures accessibility framework is notified when subtree visibility
changes as a result of hiding descendants. Fixes collision between
HAS_TRANSIENT_STATE flag and IMPORTANT_FOR_ACCESSIBILITY mask.

BUG: 11087525
Change-Id: I92dba27350970a09e76b5a878c7604ea06cae197

10 years agoMake the print dialog floating.
Svetoslav Ganov [Tue, 8 Oct 2013 01:21:53 +0000 (18:21 -0700)]
Make the print dialog floating.

The print dialog was full-screen which was not really needed and was
causing the dialog to jump instead of animate up/down when the IME
shows/hides.

bug:11116648

Change-Id: Ifb46fd80a90948270a1fa9c875258b8d0cdfc111

10 years agoMerge "Provide example actions in AccessibilityEvent.setAction() docs" into klp-dev
Alan Viverette [Tue, 8 Oct 2013 01:09:00 +0000 (01:09 +0000)]
Merge "Provide example actions in AccessibilityEvent.setAction() docs" into klp-dev

10 years agoMerge "Disable camera and search from some security screens." into klp-dev
Jim Miller [Tue, 8 Oct 2013 00:49:23 +0000 (00:49 +0000)]
Merge "Disable camera and search from some security screens." into klp-dev

10 years agoMerge "Ignore certain WindowManager flags when touch exploration is enabled" into...
Alan Viverette [Tue, 8 Oct 2013 00:47:22 +0000 (00:47 +0000)]
Merge "Ignore certain WindowManager flags when touch exploration is enabled" into klp-dev

10 years agoMerge "Update RemoteController info when enabling/disabling it" into klp-dev
Jean-Michel Trivi [Tue, 8 Oct 2013 00:45:54 +0000 (00:45 +0000)]
Merge "Update RemoteController info when enabling/disabling it" into klp-dev

10 years agoMerge "Fix crash in built-in wallpaper cropper" into klp-dev
Michael Jurka [Tue, 8 Oct 2013 00:18:02 +0000 (00:18 +0000)]
Merge "Fix crash in built-in wallpaper cropper" into klp-dev

10 years agoMerge "Yet more debugging for 10858941." into klp-dev
Craig Mautner [Tue, 8 Oct 2013 00:16:41 +0000 (00:16 +0000)]
Merge "Yet more debugging for 10858941." into klp-dev

10 years agoDisable camera and search from some security screens.
Jim Miller [Tue, 8 Oct 2013 00:12:27 +0000 (17:12 -0700)]
Disable camera and search from some security screens.

This disables showing the camera and search buttons in the
navbar while SIM, PUK and Account security screens are showing.

Fixes bug 10991981

Change-Id: Ic64adc079685948f8c1114dbdefa42a671948350

10 years agoDo not do a layout and write while a cancellation is in progress.
Svetoslav Ganov [Mon, 7 Oct 2013 21:31:18 +0000 (14:31 -0700)]
Do not do a layout and write while a cancellation is in progress.

While printing the app gets callbacks to do a layout and a write. Since
these operations can take a very long time they are implemented in a async
fashion. For example, if there is a layout request while we are still doing
a layout, we ask the application to cancel the previous layout. The problem
was that we were not waiting for the cancellation result before calling
the subsequent layout. Hence, the app ends up having to do two layouts at
the same time which breaks the printing contract. Same for write.

bug:11118426

Change-Id: If7b191c44387d88d5cec195d1785a47f986965ba

10 years agoUpdate RemoteController info when enabling/disabling it
Jean-Michel Trivi [Tue, 8 Oct 2013 00:10:08 +0000 (17:10 -0700)]
Update RemoteController info when enabling/disabling it

When a RemoteController listener is disabled: send its listener
 "blank" information (no artist, "stopped state"...)
When a RemoteController listener is enabled: have the current
 RemoteControlClient send the current information.

Bug 8209392

Change-Id: I375bf3c42a425ada94c61453b51669d7e819dde4

10 years agoMerge "Show no_sim icon when no SIM card is available." into klp-dev
Michael Wright [Tue, 8 Oct 2013 00:10:04 +0000 (00:10 +0000)]
Merge "Show no_sim icon when no SIM card is available." into klp-dev

10 years agoFix crash in built-in wallpaper cropper
Michael Jurka [Tue, 8 Oct 2013 00:03:30 +0000 (17:03 -0700)]
Fix crash in built-in wallpaper cropper

Also, sync to latest version of WallpaperCropActivity

Bug: 10950237

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Tue, 8 Oct 2013 00:01:45 +0000 (00:01 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoYet more debugging for 10858941.
Craig Mautner [Tue, 8 Oct 2013 00:01:41 +0000 (17:01 -0700)]
Yet more debugging for 10858941.

Change-Id: I258957044cb1a8331124f6abbe53428429c33355

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Tue, 8 Oct 2013 00:01:33 +0000 (00:01 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Tue, 8 Oct 2013 00:01:14 +0000 (00:01 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Don't backup/restore ringer mode" into klp-dev
Amith Yamasani [Mon, 7 Oct 2013 23:57:36 +0000 (23:57 +0000)]
Merge "Don't backup/restore ringer mode" into klp-dev

10 years agoMerge "camera2: describe non-full hw level optional tag entries" into klp-dev
Alex Ray [Mon, 7 Oct 2013 23:25:24 +0000 (23:25 +0000)]
Merge "camera2: describe non-full hw level optional tag entries" into klp-dev

10 years agoUse SCREEN Xfermode for keyguard badges; update SeekBar
Adam Powell [Mon, 7 Oct 2013 19:58:42 +0000 (12:58 -0700)]
Use SCREEN Xfermode for keyguard badges; update SeekBar

Plumb through the necessary API features through Drawables and
ImageView but leave it hidden for now pending future API review and
plumbing through the rest of the framework Drawable implementations.

Update SeekBar assets used for keyguard transport control.

Set selected status directly instead of finding views by id.

Bug 10531608
Bug 10784913

Change-Id: Ia38bd04ad1bc26e9e6da1dda8a374c9ba3ceccb3

10 years agoMerge "Disable keyguard text marquee when the display turns off." into klp-dev
Jim Miller [Mon, 7 Oct 2013 23:06:21 +0000 (23:06 +0000)]
Merge "Disable keyguard text marquee when the display turns off." into klp-dev

10 years agoMerge "AAPT emits error for res with no 'default' product" into klp-dev
Adam Lesinski [Mon, 7 Oct 2013 22:57:38 +0000 (22:57 +0000)]
Merge "AAPT emits error for res with no 'default' product" into klp-dev

10 years agoDisable keyguard text marquee when the display turns off.
Jim Miller [Mon, 7 Oct 2013 21:59:53 +0000 (14:59 -0700)]
Disable keyguard text marquee when the display turns off.

Fixes bug 11116666

Change-Id: Id9abb9d0531bcf4c5da7014ed4b9b202652b3754

10 years agoMerge "camera2: Workaround for null FACE_DETECT_MODE crashing" into klp-dev
Igor Murashkin [Mon, 7 Oct 2013 22:38:36 +0000 (22:38 +0000)]
Merge "camera2: Workaround for null FACE_DETECT_MODE crashing" into klp-dev

10 years agoMerge "Fix issue #11113111: `dumpsys activity service` is broken" into klp-dev
Dianne Hackborn [Mon, 7 Oct 2013 22:30:34 +0000 (22:30 +0000)]
Merge "Fix issue #11113111: `dumpsys activity service` is broken" into klp-dev

10 years agocamera2: Workaround for null FACE_DETECT_MODE crashing
Igor Murashkin [Mon, 7 Oct 2013 22:22:55 +0000 (15:22 -0700)]
camera2: Workaround for null FACE_DETECT_MODE crashing

Bug: 11118679
Change-Id: Id9b055744f6a2f502857b4cc0c5badb46b44a1f8

10 years agoDon't backup/restore ringer mode
Amith Yamasani [Fri, 4 Oct 2013 23:38:20 +0000 (16:38 -0700)]
Don't backup/restore ringer mode

Backing it up might result in restoring a new device to a silent,
or vibrate-only state, which is not a good out-of-box experience.

Bug: 11025824
Change-Id: I5b63fd3da012ffc4253338aae31527302a2d276a

10 years agoMerge "The undefined media sizes for both orientations not properly constructed....
Svetoslav Ganov [Mon, 7 Oct 2013 22:21:52 +0000 (22:21 +0000)]
Merge "The undefined media sizes for both orientations not properly constructed." into klp-dev