OSDN Git Service

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

10 years agoIgnore certain WindowManager flags when touch exploration is enabled
Alan Viverette [Mon, 7 Oct 2013 22:10:29 +0000 (15:10 -0700)]
Ignore certain WindowManager flags when touch exploration is enabled

Specifically, ignore any flags that alter the visibility of the navigation
bar and transparency.

BUG: 11082573
Change-Id: I17264dc55a1c6c3cb9b9cf92d5121799cecee5b8

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 7 Oct 2013 22:11:44 +0000 (15:11 -0700)]
Import translations. DO NOT MERGE

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

10 years agoMerge "Camera2: fix Face class java doc build break" into klp-dev
Zhijun He [Mon, 7 Oct 2013 21:53:27 +0000 (21:53 +0000)]
Merge "Camera2: fix Face class java doc build break" into klp-dev

10 years agoMerge "Add <intent-filter> support to <provider>." into klp-dev
Jeff Sharkey [Mon, 7 Oct 2013 21:41:45 +0000 (21:41 +0000)]
Merge "Add <intent-filter> support to <provider>." into klp-dev

10 years agoFix issue #11113111: `dumpsys activity service` is broken
Dianne Hackborn [Mon, 7 Oct 2013 21:32:00 +0000 (14:32 -0700)]
Fix issue #11113111: `dumpsys activity service` is broken

Change-Id: Ie02d27b377c562085ef7eb5dea144ce2f382c11d

10 years agoMerge "When launched into empty recents, show drawer." into klp-dev
Jeff Sharkey [Mon, 7 Oct 2013 21:36:24 +0000 (21:36 +0000)]
Merge "When launched into empty recents, show drawer." into klp-dev

10 years agoCamera2: fix Face class java doc build break
Zhijun He [Mon, 7 Oct 2013 21:35:57 +0000 (14:35 -0700)]
Camera2: fix Face class java doc build break

Bug: 10406212
Change-Id: Ida4da1ee3f67e176e04d07f569e153d671fa9e40

10 years agoDo not attempt to decode NULL SkData.
Leon Scroggins III [Mon, 7 Oct 2013 20:32:14 +0000 (16:32 -0400)]
Do not attempt to decode  NULL SkData.

NewFromFD fails if mmap fails. In that case, it returns a NULL
SkData. SkMemoryStream handles NULL input by calling SkData::NewEmpty,
which is not threadsafe. If the SkMemoryStream were to get some
busted SkData, its call to read might fail. Sidestep this problem
by not creating the SkMemoryStream if the SkData is NULL, skipping
the call to SkData::NewEmpty.

BUG:11028218
Change-Id: Id70299bef1c85ffb5d17102fdb5ea071b0bee68a

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 7 Oct 2013 21:27:42 +0000 (14:27 -0700)]
Import translations. DO NOT MERGE

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

10 years agoAdd <intent-filter> support to <provider>.
Jeff Sharkey [Mon, 7 Oct 2013 17:16:12 +0000 (10:16 -0700)]
Add <intent-filter> support to <provider>.

For the new documents work, we're only interested in the subset of
ContentProviders that actually implement DocumentsContract.  Instead
of returning all providers, add <intent-filter> support to make it
easier to limit the set of returned ProviderInfo.

Define a well-known action for DocumentsProviders, and start using it
when querying for roots.  Continue supporting the old <meta-data>
approach until all apps have been updated.

Bug: 8599233
Change-Id: I05f049bba21311f5421738002f99ee214447c909

10 years agoMerge "Camera2: Fire all callbacks" into klp-dev
Eino-Ville Talvala [Mon, 7 Oct 2013 21:10:40 +0000 (21:10 +0000)]
Merge "Camera2: Fire all callbacks" into klp-dev

10 years agoWhen launched into empty recents, show drawer.
Jeff Sharkey [Mon, 7 Oct 2013 21:08:17 +0000 (14:08 -0700)]
When launched into empty recents, show drawer.

Pull out drawer to give users more context about meaningful places
to navigate to.  Also fix bug where restored roots weren't being
highlighted.

Bug: 10852518
Change-Id: Id294f6923477ca4dc505c4b0a21a5bdf8b722cf4

10 years agoPreserve fill type in Path.reset().
Mike Klein [Wed, 2 Oct 2013 14:37:49 +0000 (10:37 -0400)]
Preserve fill type in Path.reset().

Bug: 10838355
Change-Id: I7bdecb945fc35dfed02d37745678ae7bda906628

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Mon, 7 Oct 2013 21:00:53 +0000 (14:00 -0700)]
Import translations. DO NOT MERGE

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

10 years agoShow no_sim icon when no SIM card is available.
Michael Wright [Mon, 7 Oct 2013 20:50:32 +0000 (13:50 -0700)]
Show no_sim icon when no SIM card is available.

Bug: 10958943
Change-Id: I1fcd961ddab45e316d726b90fdbbc176e6e7d737

10 years agoMerge "Camera2: add metadata override" into klp-dev
Rachad Alao [Mon, 7 Oct 2013 20:40:21 +0000 (20:40 +0000)]
Merge "Camera2: add metadata override" into klp-dev

10 years agoMerge "Ellipsize titles in middle, otherwise end." into klp-dev
Jeff Sharkey [Mon, 7 Oct 2013 20:17:54 +0000 (20:17 +0000)]
Merge "Ellipsize titles in middle, otherwise end." into klp-dev

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

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

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

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

10 years agoCamera2: Fire all callbacks
Eino-Ville Talvala [Thu, 3 Oct 2013 18:15:21 +0000 (11:15 -0700)]
Camera2: Fire all callbacks

 - Allow configureOutputs to be called when device is
   actively working, and document what happens then.
 - At the managed level, trigger proper sequence of callbacks for
   device state changes, for all the callbacks that are not yet
   managed by the camera service.
 - Restructure CameraManager.openDevice to have the device itself fire the
   initial callbacks.
 - Make CameraDevice.configureOutputs(null) work.
 - Make CameraDeviec.configureOutputs(identical surfaces) work.
 - Ensure proper checking for camera closed state.

Bug: 10360518
Change-Id: I9db348ee9c5ce4d3fe02fd34e779acc85cba68dc

10 years agoEllipsize titles in middle, otherwise end.
Jeff Sharkey [Mon, 7 Oct 2013 18:39:07 +0000 (11:39 -0700)]
Ellipsize titles in middle, otherwise end.

Long document titles can include distinguishing details at the end
of the title, so ellipsize in the middle.  All other details ellipsize
at the end.

Bug: 11081420
Change-Id: I2c266ebc594d2ad383033b435acb8adb5fb823bc