OSDN Git Service

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

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

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

10 years agoMerge "Fix transparent -> translucent reference in private docs." into klp-dev
John Spurlock [Mon, 7 Oct 2013 17:05:00 +0000 (17:05 +0000)]
Merge "Fix transparent -> translucent reference in private docs." into klp-dev

10 years agoMerge "Update qs asset outlines." into klp-dev
John Spurlock [Mon, 7 Oct 2013 17:04:39 +0000 (17:04 +0000)]
Merge "Update qs asset outlines." into klp-dev

10 years agoMerge "Also rely on enabled notification listeners for RemoteController registration...
Jean-Michel Trivi [Mon, 7 Oct 2013 17:04:20 +0000 (17:04 +0000)]
Merge "Also rely on enabled notification listeners for RemoteController registration" into klp-dev

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

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

10 years agoUpdate qs asset outlines.
John Spurlock [Mon, 7 Oct 2013 16:39:18 +0000 (12:39 -0400)]
Update qs asset outlines.

Bug:10641374
Change-Id: Id4748cf72b4c8c3c59797fc4880926cb4fe57b74

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

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

10 years agoFix transparent -> translucent reference in private docs.
John Spurlock [Mon, 7 Oct 2013 16:25:09 +0000 (12:25 -0400)]
Fix transparent -> translucent reference in private docs.

Bug:10781433
Change-Id: I9e71b38df3909c367c80a9a589d28f703d1c9936

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

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

10 years agoCamera2: add metadata override
Zhijun He [Wed, 2 Oct 2013 18:39:43 +0000 (11:39 -0700)]
Camera2: add metadata override

There are interface difference between managed and native side for some
metadata, like Face and JPEG format. we need override them when they are set/get
between native and managed sides.

Also fix some issues in the CameraMetadataTest.

Bug: 10406212

Change-Id: Ibd8be0415968445e711b3ea89f45e1edfa193ee2

10 years agoThe undefined media sizes for both orientations not properly constructed.
Svetoslav Ganov [Mon, 7 Oct 2013 02:44:14 +0000 (19:44 -0700)]
The undefined media sizes for both orientations not properly constructed.

We have constants for an app to specify an undefined media size in portrait
and such in landscape. The constants for these media sizes had the width and
height dimesions swapped.

bug:11099831

Change-Id: Ic09227c3a03429fc5a4a157abc15fea87d3ad8be

10 years agoMerge "Transparent system ui flags -> Translucent WM flags." into klp-dev
John Spurlock [Mon, 7 Oct 2013 02:13:49 +0000 (02:13 +0000)]
Merge "Transparent system ui flags -> Translucent WM flags." into klp-dev

10 years agoMerge "Polish print dialog accessibility." into klp-dev
Svetoslav Ganov [Mon, 7 Oct 2013 01:27:40 +0000 (01:27 +0000)]
Merge "Polish print dialog accessibility." into klp-dev

10 years agoMerge "Update all printers activity's empty state and avoid selected printer flicker...
Svetoslav Ganov [Mon, 7 Oct 2013 01:27:27 +0000 (01:27 +0000)]
Merge "Update all printers activity's empty state and avoid selected printer flicker." into klp-dev

10 years agoMerge "Update the empty state for the "all printers activity"" into klp-dev
Svetoslav Ganov [Mon, 7 Oct 2013 01:27:01 +0000 (01:27 +0000)]
Merge "Update the empty state for the "all printers activity"" into klp-dev

10 years agoMerge "Update the "add print service" dialog as per UX spec." into klp-dev
Svetoslav Ganov [Mon, 7 Oct 2013 01:26:31 +0000 (01:26 +0000)]
Merge "Update the "add print service" dialog as per UX spec." into klp-dev

10 years agoam 458430d8: (-s ours) am 5ab9af41: am f76b5383: DO NOT MERGE Un-deprecate getDhcpInfo
Robert Greenwalt [Mon, 7 Oct 2013 00:11:00 +0000 (17:11 -0700)]
am 458430d8: (-s ours) am 5ab9af41: am f76b5383: DO NOT MERGE Un-deprecate getDhcpInfo

* commit '458430d823babdbe05a22e82b976c08d0e91f9c5':
  DO NOT MERGE Un-deprecate getDhcpInfo

10 years agoam 0e591c28: (-s ours) am 8098bfac: am dd8e315b: (-s ours) DO NOT MERGE Un-deprecate...
Robert Greenwalt [Mon, 7 Oct 2013 00:10:57 +0000 (17:10 -0700)]
am 0e591c28: (-s ours) am 8098bfac: am dd8e315b: (-s ours) DO NOT MERGE Un-deprecate getDhcpInfo

* commit '0e591c286ede084f5a01f9dc3569c51aa21a4e85':
  DO NOT MERGE Un-deprecate getDhcpInfo

10 years agoam 5ab9af41: am f76b5383: DO NOT MERGE Un-deprecate getDhcpInfo
Robert Greenwalt [Mon, 7 Oct 2013 00:03:59 +0000 (17:03 -0700)]
am 5ab9af41: am f76b5383: DO NOT MERGE Un-deprecate getDhcpInfo

* commit '5ab9af410e1ba572e8ac0577c2acb5324b65d66c':
  DO NOT MERGE Un-deprecate getDhcpInfo

10 years agoam 8098bfac: am dd8e315b: (-s ours) DO NOT MERGE Un-deprecate getDhcpInfo
Robert Greenwalt [Mon, 7 Oct 2013 00:03:56 +0000 (17:03 -0700)]
am 8098bfac: am dd8e315b: (-s ours) DO NOT MERGE Un-deprecate getDhcpInfo

* commit '8098bfac6a08d59697e308a524f96f69e482ecf7':
  DO NOT MERGE Un-deprecate getDhcpInfo

10 years agoMerge "Relax conditions for including windows behind dialogs" into klp-dev
Craig Mautner [Sun, 6 Oct 2013 21:29:34 +0000 (21:29 +0000)]
Merge "Relax conditions for including windows behind dialogs" into klp-dev

10 years agoMerge "Revert to jb-mr2 handling of app died." into klp-dev
Craig Mautner [Sun, 6 Oct 2013 21:29:05 +0000 (21:29 +0000)]
Merge "Revert to jb-mr2 handling of app died." into klp-dev

10 years agoMerge "Make sure to maintain privilege when downgrading bundled apps" into klp-dev
Christopher Tate [Sun, 6 Oct 2013 21:26:19 +0000 (21:26 +0000)]
Merge "Make sure to maintain privilege when downgrading bundled apps" into klp-dev

10 years agoMerge "Fix issue #11050678: Large memory leak in ActivityStack" into klp-dev
Dianne Hackborn [Sun, 6 Oct 2013 20:28:47 +0000 (20:28 +0000)]
Merge "Fix issue #11050678: Large memory leak in ActivityStack" into klp-dev

10 years agoMerge "Fix issue #11086275: Thumbnail only created once for top activity" into klp-dev
Dianne Hackborn [Sun, 6 Oct 2013 20:28:07 +0000 (20:28 +0000)]
Merge "Fix issue #11086275: Thumbnail only created once for top activity" into klp-dev

10 years agoTransparent system ui flags -> Translucent WM flags.
John Spurlock [Thu, 3 Oct 2013 15:38:39 +0000 (11:38 -0400)]
Transparent system ui flags -> Translucent WM flags.

Migrate View.SYSTEM_UI_FLAG_TRANSPARENT_(STATUS/NAVIGATION) to
WindowManager.LayoutParams.FLAG_TRANSLUCENT_(STATUS|NAVIGATION).

Add associated public attrs for both new window flags:
  windowTranslucentStatus
  windowTranslucentNavigation

Introduce convenient four new themes that set translucent decor:
  Theme.Holo.NoActionBar.TranslucentDecor
  Theme.Holo.Light.NoActionBar.TranslucentDecor
  Theme.DeviceDefault.NoActionBar.TranslucentDecor
  Theme.DeviceDefault.Light.NoActionBar.TranslucentDecor

Update PhoneWindowManager mechanism to plumb these values back to
SystemUI to drive bar mode state.

The new translucent flags come from the top fullscreen window, not
the focused window, so translucency does not change when opening
dialogs.

Imply some window-level system-ui visibility if one or both of these
new flags are present, specifically:
  FLAG_TRANSLUCENT_STATUS implies LAYOUT_STABLE, LAYOUT_FULLSCREEN
  FLAG_TRANSLUCENT_NAVIGATION implies LAYOUT STABLE, LAYOUT_HIDE_NAV

Rename all associated variable & resource names to use the term
translucent instead of transparent. (Retain the term semi-transparent
for the transient bar style).

Recents activity allowed to inherit translucent decor state via the
new PRIVATE_FLAG_INHERIT_TRANSLUCENT_DECOR.  Compensating changes
to use the full screen area more appropriately.

Update keyguard to use new WM flags.

Update docs and various api artifacts.

Sanity-check fixes:
 - Toasts and alerts given stable layout.
 - Suppress nu-gradient when in transient (hidey) mode.
 - New translucent flags use top-fullscreen window, dialogs don't clear.

Bug:10674960
Bug:11062108
Bug:10987178
Bug:10786445
Bug:10781433
Change-Id: If667a55bea4cf5e008549524b9899197fab55ebe

10 years agoMerge "Fix resource-loading code for TransitionSet" into klp-dev
Chet Haase [Sun, 6 Oct 2013 19:35:15 +0000 (19:35 +0000)]
Merge "Fix resource-loading code for TransitionSet" into klp-dev

10 years agoRelax conditions for including windows behind dialogs
Craig Mautner [Sun, 6 Oct 2013 19:24:56 +0000 (12:24 -0700)]
Relax conditions for including windows behind dialogs

When a dialog has been minimized to recents the windows behind it
won't be visible. Yet we were requiring them to be visible in order to
be included in the ones being restored. This left the background
windows invisible on resume and showed home behind floating dialogs
instead of the activity that launched the dialogs.

Fixes bug 11067724.

Change-Id: Icadd7ec8fe7c73b52982b6ff5b5d98b8fb8476b0

10 years agoFix resource-loading code for TransitionSet
Chet Haase [Sun, 6 Oct 2013 19:10:12 +0000 (12:10 -0700)]
Fix resource-loading code for TransitionSet

The inflation code in TransitionInflater was using the wrong
tag ("set") for TransitionSet. This fix corrects that problem
(changing it to "transitionSet") and documents the correct
tag in the TransitionSet javadocs.

Issue #11085279 Transitions: transition sets loaded from resources don't work

Change-Id: I8aaea9f31bbe368cffcca63d4eb6a5ec06c3ce7b

10 years agoMerge "Evaluate task on top of home when task is brought to front." into klp-dev
Craig Mautner [Sun, 6 Oct 2013 17:44:38 +0000 (17:44 +0000)]
Merge "Evaluate task on top of home when task is brought to front." into klp-dev

10 years agoMerge "Resume user where they left off." into klp-dev
Craig Mautner [Sun, 6 Oct 2013 17:44:17 +0000 (17:44 +0000)]
Merge "Resume user where they left off." into klp-dev

10 years agoRevert to jb-mr2 handling of app died.
Craig Mautner [Sat, 5 Oct 2013 07:03:53 +0000 (00:03 -0700)]
Revert to jb-mr2 handling of app died.

Trying to span all potential stacks looking for apps was too complex
and error-prone. Extending the jb-mr2 method across multiple stacks.

Fixes bug 11080696.

Change-Id: I6391ceae4ad6a0955a409c3fb27472219fd5bf6b

10 years agoMerge "Notify that ASEC containers are being unmounted during upgrades" into klp-dev
Christopher Tate [Sun, 6 Oct 2013 17:23:15 +0000 (17:23 +0000)]
Merge "Notify that ASEC containers are being unmounted during upgrades" into klp-dev

10 years agoMake sure to maintain privilege when downgrading bundled apps
Christopher Tate [Sat, 5 Oct 2013 02:40:09 +0000 (19:40 -0700)]
Make sure to maintain privilege when downgrading bundled apps

When reparsing because the data-volume update has been removed, be sure
to apply privilege when the bundled fallback APK should be allowed it.

Bug 10958159

Change-Id: Ibad52a5644606b27f4ebc5d5d7c1a671283b0752

10 years agoPolish print dialog accessibility.
Svetoslav Ganov [Sun, 6 Oct 2013 02:55:49 +0000 (19:55 -0700)]
Polish print dialog accessibility.

bug:10983508

Change-Id: I7391e06b661caac18d04ae279639ff447701f151

10 years agoUpdate all printers activity's empty state and avoid selected printer flicker.
Svetoslav Ganov [Sun, 6 Oct 2013 01:52:06 +0000 (18:52 -0700)]
Update all printers activity's empty state and avoid selected printer flicker.

1. Updated the empty state of the all printers activity to show no printers message
   if the user is searching and there are no matches and a searching for printers
   message if the user is not filtering the printers list.

2. Adding the fake PDF printer after the historical printers are loaded to avoid the case
   where we select the PDF printer and immediately after that the most used printer is
   selected resulting in an undesirable UI flicker.

3. Fixed a bug where if the most used printer which is initially considered unavailable
   is reported by the print service as available but the UI is not properly updated
   leaving the user in no way to click on the print button.

bug: 10983508

Change-Id: I60fdb7761332850fd5b9ffc0cb572a6213024dba

10 years agoFix bug where pebble app triggers accessibility mode in navbar camera
Jim Miller [Sun, 6 Oct 2013 02:01:00 +0000 (19:01 -0700)]
Fix bug where pebble app triggers accessibility mode in navbar camera

Apparently the Pebble application uses accessibility.  This was
triggering the navbar to resort to accessibility mode for launching
the camera.  The fix is to also require touch exploration to be
enabled.

Fixes bug 11061505

Change-Id: I2245bd37eef9e68911862ce86147b1343816f1a4

10 years agoUpdate the empty state for the "all printers activity"
Svetoslav Ganov [Sat, 5 Oct 2013 19:58:17 +0000 (12:58 -0700)]
Update the empty state for the "all printers activity"

The empty state is now showing searching for printers hint if
the user is not searching, otherwise the empty state's hint is
a searching for printers message.

bug:10983508

Change-Id: I3df79c167546998c8055d9ff85efa8b460a15e48

10 years agoUpdate the "add print service" dialog as per UX spec.
Svetoslav Ganov [Sat, 5 Oct 2013 18:46:48 +0000 (11:46 -0700)]
Update the "add print service" dialog as per UX spec.

The dialog button is now the last item in the adapter if the
search for print service settings is not empty and resolves
to an intent.

bug:10983508

Change-Id: I348e1ede1097d6f3b78c72e871bf3097b99004b6

10 years agoFix issue #11086275: Thumbnail only created once for top activity
Dianne Hackborn [Sat, 5 Oct 2013 00:26:37 +0000 (17:26 -0700)]
Fix issue #11086275: Thumbnail only created once for top activity

If the last screenshot activity is resumed, we need to always capture
a new screenshot, because it can change at any time.

On the other hand, never create a thumbnail for tasks that have set
themselves to not show on the recent tasks lists, since we have no
use for them.

Change-Id: I38523afc966c125da93339e0100da950119cdf99

10 years agoResume user where they left off.
Craig Mautner [Fri, 4 Oct 2013 22:03:13 +0000 (15:03 -0700)]
Resume user where they left off.

Remember which stack was in front when the user changes. Restore that
stack when the user changes back. Remove user state when user is
deleted.

Fixes bug 11068986.

Change-Id: I18dfbc35a0c2e21e7a4024227cbfc5ba1208b3a3

10 years agoEvaluate task on top of home when task is brought to front.
Craig Mautner [Sat, 5 Oct 2013 03:11:26 +0000 (20:11 -0700)]
Evaluate task on top of home when task is brought to front.

Localize the point where it is determined whether a task should sit on
top of home or return to the task below it.

Fixes bug 11080913.

Change-Id: I79d1ea9722c867d6b550ddfcd1db35517a79cd90

10 years agoNotify that ASEC containers are being unmounted during upgrades
Christopher Tate [Fri, 4 Oct 2013 20:57:22 +0000 (13:57 -0700)]
Notify that ASEC containers are being unmounted during upgrades

When an apk is installed on ordinary unmountable media, a broadcast
is sent when the OS wants to unmount it so that interested parties
can cleanly close any files they have open to read that apk's
resources or similar.  We now send that broadcast when we are
about to unmount the ASEC fs container that holds a forward-locked
apk as well, so that e.g. Home knows to release the resources that
it was using for widget hosting or similar.

Bug 7703848

Change-Id: I71aefdb4086c7b73a128f89c15d192a2b92d09a8

10 years agoMerge "Print UI tweaks." into klp-dev
Svetoslav [Sat, 5 Oct 2013 01:00:33 +0000 (01:00 +0000)]
Merge "Print UI tweaks." into klp-dev

10 years agoMerge "reset mShapingPaint's SkTypeface before we use it" into klp-dev
Victoria Lease [Sat, 5 Oct 2013 00:55:52 +0000 (00:55 +0000)]
Merge "reset mShapingPaint's SkTypeface before we use it" into klp-dev

10 years agoAlso rely on enabled notification listeners for RemoteController registration
Jean-Michel Trivi [Sat, 28 Sep 2013 01:37:36 +0000 (18:37 -0700)]
Also rely on enabled notification listeners for RemoteController registration

Registration of a RemoteController may succeed only if:
 - the caller has the MEDIA_CONTENT_CONTROL permission,
 - or if the RemoteController.OnClientUpdateListener it
   registers if one of the enabled notification listeners.

For using the "enabled notification listener" functionality,
 the CL involved:
 - making OnClientUpdateListener an interface so a 3rd-party
   application may have its implementation extend
   NotificationListenerService, which is required for a
   listener to be enabled by the user.
 - add the concept of "enabled" status in an
   IRemoteControlDisplay, so a RemoteController (which
   encapsulates the IRemoteControlDisplay implementation)
   may be registered, but later temporarily disabled by
   the user, as a result of a user action in the security
   settings, or a user switch.
 - making MediaFocusControl, the component tied to
   AudioService, monitor changes in enabled notification
   listeners, and act upon enable/disable changes.

Bug 8209392

Change-Id: Ia8dfa2156c65668b2b0d4ae92048005912652d84

10 years agoPrint UI tweaks.
Svetoslav [Sat, 5 Oct 2013 00:27:33 +0000 (17:27 -0700)]
Print UI tweaks.

1. The refresh button in a print notification was using
   wrong asset.

2. If the page count is unknown, just not show the page
   count instead unknown.

bug:10983508

Change-Id: I15f1fcbff60fe1f30d37868864da41550bb14487

10 years agoreset mShapingPaint's SkTypeface before we use it
Victoria Lease [Sat, 5 Oct 2013 00:33:35 +0000 (17:33 -0700)]
reset mShapingPaint's SkTypeface before we use it

Harfbuzz works in TTF glyph-space, but most of Skia works in
fallback glyph-space. shapeFontRun() helpfully calculates the
baseGlyphCount needed to convert between the two, but leaves
mShapingPaint's SkTypeface set to the specific TTF being shaped
rather than the original SkTypeface that was requested. Needless
to say, this causes all manner of horrific malady when glyph
indices are calculated in one glyph-index-space and then applied
to another.

To fix this issue, I reset mShapingPaint's SkTypeface when done
with the Harfbuzz shaping operation so that the baseGlyphCount only
gets applied once.

Change-Id: Ia886f89d667634e15e5fc8d7af443c9d1ba89622

10 years agoMerge "Small print API tweaks" into klp-dev
Svetoslav [Fri, 4 Oct 2013 23:48:37 +0000 (23:48 +0000)]
Merge "Small print API tweaks" into klp-dev