OSDN Git Service

android-x86/frameworks-base.git
9 years agoSkip over directories when iterating tombstones
Patrick Tjin [Wed, 1 Oct 2014 17:13:44 +0000 (10:13 -0700)]
Skip over directories when iterating tombstones

Bug: 17380601
Change-Id: Idb6e559a89c7438751bd7a52375b9789454e0334

9 years agoMerge "Doze: Route volume keys to music only while pulsing." into lmp-dev
John Spurlock [Wed, 1 Oct 2014 20:17:34 +0000 (20:17 +0000)]
Merge "Doze: Route volume keys to music only while pulsing." into lmp-dev

9 years agoMerge "Ensure that we don't show excluded tasks when we are not in that task (Bug...
Winson Chung [Wed, 1 Oct 2014 20:03:18 +0000 (20:03 +0000)]
Merge "Ensure that we don't show excluded tasks when we are not in that task (Bug 17657618) - Fix regression with launching an affiliated task due to clipping changes (Bug 17755902) - Tweaking previous changes to home transition - Disable the debug mode option" into lmp-dev

9 years agoMerge "Frameworks/base: Update to preloaded-classes" into lmp-dev
Andreas Gampe [Wed, 1 Oct 2014 19:46:08 +0000 (19:46 +0000)]
Merge "Frameworks/base: Update to preloaded-classes" into lmp-dev

9 years agoDoze: Route volume keys to music only while pulsing.
John Spurlock [Wed, 1 Oct 2014 19:32:22 +0000 (15:32 -0400)]
Doze: Route volume keys to music only while pulsing.

Avoid waking up the device on hw vol key presses during a doze
pulse.  Instead, behave as if the screen was off for these keys,
namely forwarding them over to the session manager.

Bug:17672775
Change-Id: I566b93f0bdea79253ac3eca41d3876b271c61306

9 years agoMerge "Re-allow suppressing onDetachedFromWindow" into lmp-dev
John Reck [Wed, 1 Oct 2014 19:11:02 +0000 (19:11 +0000)]
Merge "Re-allow suppressing onDetachedFromWindow" into lmp-dev

9 years agoMerge "Revert "Fix issue with using locally defined attrs in a shared lib"" into...
Adam Powell [Wed, 1 Oct 2014 18:31:55 +0000 (18:31 +0000)]
Merge "Revert "Fix issue with using locally defined attrs in a shared lib"" into lmp-dev

9 years agoMerge "Remove WebView DRP Setting from Developer Settings" into lmp-dev
Hui Shu [Wed, 1 Oct 2014 18:28:56 +0000 (18:28 +0000)]
Merge "Remove WebView DRP Setting from Developer Settings" into lmp-dev

9 years agoRevert "Fix issue with using locally defined attrs in a shared lib"
Adam Powell [Wed, 1 Oct 2014 18:11:18 +0000 (18:11 +0000)]
Revert "Fix issue with using locally defined attrs in a shared lib"

This reverts commit 5069dd69898bd0d9c69ba2bbd37239ec8d1c9dc6.

The reverted commit caused issues loading resources supplied by static libraries.

Bug 17748356

Change-Id: I860a4f31451ee7c03c02974826472a67226b029f

9 years agoam d1ba4c13: am ae3bd63b: am a1572ffc: Merge "Doc update: Update preprod (staging...
kmccormick [Wed, 1 Oct 2014 17:55:43 +0000 (17:55 +0000)]
am d1ba4c13: am ae3bd63b: am a1572ffc: Merge "Doc update: Update preprod (staging) instructions." into klp-modular-docs

* commit 'd1ba4c13d0928d10c467bd7fd5992186925e1a5a':
  Doc update: Update preprod (staging) instructions.

9 years agoMerge "Refine implementation of GSM conferences (1/3)" into lmp-dev
Ihab Awad [Wed, 1 Oct 2014 17:50:48 +0000 (17:50 +0000)]
Merge "Refine implementation of GSM conferences (1/3)" into lmp-dev

9 years agoMerge "Don't clear visible-behind activity if it is top" into lmp-dev
Craig Mautner [Wed, 1 Oct 2014 17:48:12 +0000 (17:48 +0000)]
Merge "Don't clear visible-behind activity if it is top" into lmp-dev

9 years agoEnsure that we don't show excluded tasks when we are not in that task (Bug 17657618)
Winson Chung [Mon, 29 Sep 2014 20:16:05 +0000 (13:16 -0700)]
Ensure that we don't show excluded tasks when we are not in that task (Bug 17657618)
- Fix regression with launching an affiliated task due to clipping changes (Bug 17755902)
- Tweaking previous changes to home transition
- Disable the debug mode option

9 years agoRe-allow suppressing onDetachedFromWindow
John Reck [Wed, 1 Oct 2014 17:38:07 +0000 (10:38 -0700)]
Re-allow suppressing onDetachedFromWindow

Bug: 17578553

Games seem to be doing this to prevent destruction of their
GL contexts, and they assume it works even if it doesn't. However,
GLSurfaceView is clunky here, so while the app is doing something
questionable we don't really offer a better way. For now revert
back to kitkat behavior.

Change-Id: Icfa9e496279b9cfa47f9bc7f6848d9313caed0d5

9 years agoam ae3bd63b: am a1572ffc: Merge "Doc update: Update preprod (staging) instructions...
kmccormick [Wed, 1 Oct 2014 17:25:38 +0000 (17:25 +0000)]
am ae3bd63b: am a1572ffc: Merge "Doc update: Update preprod (staging) instructions." into klp-modular-docs

* commit 'ae3bd63bc5ef8106a0d1c2ac15d872517bded5c3':
  Doc update: Update preprod (staging) instructions.

9 years agoDon't clear visible-behind activity if it is top
Craig Mautner [Wed, 1 Oct 2014 16:38:40 +0000 (09:38 -0700)]
Don't clear visible-behind activity if it is top

Previously if an activity requested to keep running behind
translucent activities (Activity.requestVisibleBehind()) and then
converted itself to opaque (Activity.convertFromTranslucent()), we
would clear the visible-behind activity. This change tests to see
if the top activity is the visible-behind activity and does not
clear it in that case.

This change also clears the visible-behind activity whenever it
comes back to the front. That forces the activity to call
requestVisibleBehind() each time it is resumed.

Fixes bug 17648436.

Change-Id: Id0fc4d7e2a2b907675305d98bad1b08cb610919e

9 years agoam a1572ffc: Merge "Doc update: Update preprod (staging) instructions." into klp...
kmccormick [Wed, 1 Oct 2014 17:08:13 +0000 (17:08 +0000)]
am a1572ffc: Merge "Doc update: Update preprod (staging) instructions." into klp-modular-docs

* commit 'a1572ffc6b8df1f0da637fdb93b949322fcb3637':
  Doc update: Update preprod (staging) instructions.

9 years agoMerge "Doc update: Update preprod (staging) instructions." into klp-modular-docs
kmccormick [Wed, 1 Oct 2014 17:02:25 +0000 (17:02 +0000)]
Merge "Doc update: Update preprod (staging) instructions." into klp-modular-docs

9 years agoMerge "Adapting translation length for a string in a dialog" into lmp-dev
Selim Cinek [Wed, 1 Oct 2014 16:43:05 +0000 (16:43 +0000)]
Merge "Adapting translation length for a string in a dialog" into lmp-dev

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Wed, 1 Oct 2014 16:35:12 +0000 (16:35 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

9 years agoZen: Fix new event category check.
John Spurlock [Wed, 1 Oct 2014 13:19:43 +0000 (09:19 -0400)]
Zen: Fix new event category check.

Allow events through if configured, and use a switch
for separating mode-specific logic.

Bug:17580878
Change-Id: Id7b5d8b50173015d6a78568ed0a90e0bccf98549

9 years agoAdapting translation length for a string in a dialog
Selim Cinek [Tue, 30 Sep 2014 17:47:33 +0000 (19:47 +0200)]
Adapting translation length for a string in a dialog

Bug: 17344905
Change-Id: Id95bdfea30c8ffd86a44cfa259cf5417abb09528

9 years agoMerge "Set Build.CPU_ABI{2} from SUPPORTED_{32,64}_BIT_ABIS" into lmp-dev
Narayan Kamath [Wed, 1 Oct 2014 09:53:32 +0000 (09:53 +0000)]
Merge "Set Build.CPU_ABI{2} from SUPPORTED_{32,64}_BIT_ABIS" into lmp-dev

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Wed, 1 Oct 2014 04:25:41 +0000 (04:25 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

9 years agoMerge "Use VMRuntime.isBootClassPathOnDisk" into lmp-dev
Brian Carlstrom [Wed, 1 Oct 2014 04:21:25 +0000 (04:21 +0000)]
Merge "Use VMRuntime.isBootClassPathOnDisk" into lmp-dev

9 years agoam e906b38b: am 781c988a: am ae7b5dc4: Merge "docs: ADT beginner text fix" into klp...
Ricardo Cervera [Wed, 1 Oct 2014 03:15:45 +0000 (03:15 +0000)]
am e906b38b: am 781c988a: am ae7b5dc4: Merge "docs: ADT beginner text fix" into klp-modular-docs

* commit 'e906b38b7e692d05cf57ce12aabcb103a9a8b775':
  docs: ADT beginner text fix

9 years agoam 781c988a: am ae7b5dc4: Merge "docs: ADT beginner text fix" into klp-modular-docs
Ricardo Cervera [Wed, 1 Oct 2014 03:08:30 +0000 (03:08 +0000)]
am 781c988a: am ae7b5dc4: Merge "docs: ADT beginner text fix" into klp-modular-docs

* commit '781c988a767eabf9b1b03b4a74f21e3b687902b6':
  docs: ADT beginner text fix

9 years agoam ae7b5dc4: Merge "docs: ADT beginner text fix" into klp-modular-docs
Ricardo Cervera [Wed, 1 Oct 2014 02:57:29 +0000 (02:57 +0000)]
am ae7b5dc4: Merge "docs: ADT beginner text fix" into klp-modular-docs

* commit 'ae7b5dc49381e76c82cda928cc37a6a8b529da25':
  docs: ADT beginner text fix

9 years agoMerge "Reduce latency from doze to screen on." into lmp-dev
Jeff Brown [Wed, 1 Oct 2014 02:31:30 +0000 (02:31 +0000)]
Merge "Reduce latency from doze to screen on." into lmp-dev

9 years agoMerge "docs: ADT beginner text fix" into klp-modular-docs
Ricardo Cervera [Wed, 1 Oct 2014 02:07:14 +0000 (02:07 +0000)]
Merge "docs: ADT beginner text fix" into klp-modular-docs

9 years agoMerge "Update java doc for content rating systems" into lmp-dev
Sungsoo Lim [Wed, 1 Oct 2014 01:46:25 +0000 (01:46 +0000)]
Merge "Update java doc for content rating systems" into lmp-dev

9 years agoMerge "Make sure cancel is called on tear down." into lmp-dev
Jerome Poichet [Wed, 1 Oct 2014 01:22:41 +0000 (01:22 +0000)]
Merge "Make sure cancel is called on tear down." into lmp-dev

9 years agoMerge "Maybe fix issue #17700474: manta: high occurrence of device booted..." into...
Dianne Hackborn [Wed, 1 Oct 2014 01:16:14 +0000 (01:16 +0000)]
Merge "Maybe fix issue #17700474: manta: high occurrence of device booted..." into lmp-dev

9 years agoMaybe fix issue #17700474: manta: high occurrence of device booted...
Dianne Hackborn [Tue, 30 Sep 2014 21:31:42 +0000 (14:31 -0700)]
Maybe fix issue #17700474: manta: high occurrence of device booted...

...but dev.bootcomplete flag is not set

Rework things to address a few issues I found:

- When the activity goes idle, the way we were handling finishing the
  boot there was calling finishBooting() with the lock held, but it
  shouldn't.  We now dispatch that and turning on the screen together
  in a separate message.

- Make sure we don't try to start the home activity until we have
  reached the point of the system being ready and mBooting being set.
  This ensures we don't do any work prematurely.

Change-Id: If30c1f287af73bc2164e7aadbe98022ae42cc5e7

9 years agoReduce latency from doze to screen on.
Jeff Brown [Tue, 30 Sep 2014 21:42:27 +0000 (14:42 -0700)]
Reduce latency from doze to screen on.

Don't wait for the brightness ramp to complete before reporting
display ready.  Keep track of whether we have any unfinished
brightness changes and take care to grab a wakelock to ensure
they are eventually applied.

Ideally we would rewrite the whole state machine to more carefully
coordinate screen state and brightness changes but that's too
risky for now.

The pixel fairies are having a bad day.

Bug: 17718416

(cherry picked from commit 875f80c2732a3fbe652a6e8fc14031041f791308)

Change-Id: I7a2d8ba4591a12b773653d3dbf86c7db016f967e

9 years agoMake sure cancel is called on tear down.
Jerome Poichet [Wed, 1 Oct 2014 00:54:03 +0000 (17:54 -0700)]
Make sure cancel is called on tear down.

- Make sure cancel is called when consumer of SpeechRecognizer calls
  destroy.
- If consumer goes away, make sure to call cancel as well.

b/17584947 Pressing mic button in Music hoses audio

Change-Id: Ibe1198b37fe6167493a8694f9089d970f1eb07de

9 years agoMerge "Roaming blacklist" into lmp-dev
Amit Mahajan [Wed, 1 Oct 2014 00:44:01 +0000 (00:44 +0000)]
Merge "Roaming blacklist" into lmp-dev

9 years agoUpdate java doc for content rating systems
Sungsoo Lim [Fri, 19 Sep 2014 04:49:25 +0000 (13:49 +0900)]
Update java doc for content rating systems

- DVB and ISDB ratings are added.
- Remove rating systems whose countries uses DVB and ISDB.
- Updated java doc for AR, AU, and BR.

Bug: 17494772
Change-Id: Ia2a63c7914148b42078decb8de1ae45baefb010d

9 years agoMerge "Fix issue with using locally defined attrs in a shared lib" into lmp-dev
Adam Lesinski [Wed, 1 Oct 2014 00:39:56 +0000 (00:39 +0000)]
Merge "Fix issue with using locally defined attrs in a shared lib" into lmp-dev

9 years agoRoaming blacklist
w19976 [Tue, 30 Sep 2014 00:44:11 +0000 (17:44 -0700)]
Roaming blacklist

Bug: 17684236
Change-Id: I3e4a293ed8ae134d77fe3ce0c0cfa3b6012500a8

9 years agoMerge "Add activated text colors, update Material preference header" into lmp-dev
Alan Viverette [Wed, 1 Oct 2014 00:35:01 +0000 (00:35 +0000)]
Merge "Add activated text colors, update Material preference header" into lmp-dev

9 years agoMerge "Remove baked-in shadow insets from Material dialog minHeight" into lmp-dev
Alan Viverette [Wed, 1 Oct 2014 00:32:38 +0000 (00:32 +0000)]
Merge "Remove baked-in shadow insets from Material dialog minHeight" into lmp-dev

9 years agoRemove baked-in shadow insets from Material dialog minHeight
Alan Viverette [Wed, 1 Oct 2014 00:07:25 +0000 (17:07 -0700)]
Remove baked-in shadow insets from Material dialog minHeight

We don't bake in shadows anymore, so this was making the minimum
content area way too tall.

BUG: 17700338
Change-Id: I728693654a6dc1c8d75a258746409b61639dccfc

9 years agoMerge "Show one name if both plmn and spn are equal" into lmp-dev
Vineeta Srivastava [Wed, 1 Oct 2014 00:03:32 +0000 (00:03 +0000)]
Merge "Show one name if both plmn and spn are equal" into lmp-dev

9 years agoMerge "Correct MTU size for Bell" into lmp-dev
Vineeta Srivastava [Wed, 1 Oct 2014 00:00:01 +0000 (00:00 +0000)]
Merge "Correct MTU size for Bell" into lmp-dev

9 years agoRemove WebView DRP Setting from Developer Settings
Hui Shu [Tue, 30 Sep 2014 23:52:41 +0000 (16:52 -0700)]
Remove WebView DRP Setting from Developer Settings

BUG: 17730990
Change-Id: Ic4fde9affb2f887329d6b3d2dbe8945959c016d8

9 years agoUse VMRuntime.isBootClassPathOnDisk
Brian Carlstrom [Mon, 29 Sep 2014 20:44:04 +0000 (13:44 -0700)]
Use VMRuntime.isBootClassPathOnDisk

Bug: 17679443
Change-Id: If53c236058a7237d735c2344a715cf0a36301f9b

9 years agoRefine implementation of GSM conferences (1/3)
Ihab Awad [Tue, 30 Sep 2014 16:17:03 +0000 (09:17 -0700)]
Refine implementation of GSM conferences (1/3)

Bug: 17684223
Change-Id: I05d05b594803ea2c1da4247111b70ad5f870ac46

9 years agoMerge "Camera2 Legacy: Set a default thumbnail size" into lmp-dev
Eino-Ville Talvala [Tue, 30 Sep 2014 23:44:58 +0000 (23:44 +0000)]
Merge "Camera2 Legacy: Set a default thumbnail size" into lmp-dev

9 years agoShow one name if both plmn and spn are equal
Sungmin Choi [Mon, 29 Sep 2014 06:21:15 +0000 (15:21 +0900)]
Show one name if both plmn and spn are equal

If both plmn and SPN are SKTelecom, lockscreen is shown as SKTelecom-SKTelecom.
In this case, it would be better to show only SKTelecom.

Bug: 17702041
Change-Id: I268455b037752cf21a3247be7809283f50b72c27

9 years agoMerge "Invalid accessibility state if UI test process crashes in a bad time." into...
Svetoslav [Tue, 30 Sep 2014 23:33:55 +0000 (23:33 +0000)]
Merge "Invalid accessibility state if UI test process crashes in a bad time." into lmp-dev

9 years agoCorrect MTU size for Bell
Gordon Gao [Tue, 23 Sep 2014 22:13:14 +0000 (15:13 -0700)]
Correct MTU size for Bell

Bug: 17627179
Change-Id: I4740326b0211ca34b82267ebe953f2930f4e3690

9 years agoFix issue with using locally defined attrs in a shared lib
Adam Lesinski [Tue, 30 Sep 2014 23:06:58 +0000 (16:06 -0700)]
Fix issue with using locally defined attrs in a shared lib

The attribute name resource IDs were never fixed up with
the runtime package ID so we weren't finding attributes
whenever the runtime package ID was different than the build
time one, which happened to be when a shared lib referenced itself
(0x00 vs 0x02).

Bug:17666947
Change-Id: Icf3e874bcea0e27eebe42d60fbed626a34bf9266

9 years agoFixing build (Bug 17381033)
Winson Chung [Tue, 30 Sep 2014 23:17:12 +0000 (16:17 -0700)]
Fixing build (Bug 17381033)

Change-Id: I95a7c8167f82a4fe982bdc9588d5fbaf5a627d0b

9 years agoInvalid accessibility state if UI test process crashes in a bad time.
Svetoslav [Tue, 30 Sep 2014 23:03:20 +0000 (16:03 -0700)]
Invalid accessibility state if UI test process crashes in a bad time.

We allow a fake accessibility service to connect to the system for UI
automation. If the process hosting the fake service dies right after
registering it, the accessibility layer ends up in a bad state and
subsequent attempts to connect UI automation service fail.

bug:17725904

Change-Id: Idad288eab41bbdd486d95e1e5803220640653fb7

9 years agoMerge "Fixing an issue with leaking starting windows. (Bug 17657878)" into lmp-dev
Winson Chung [Tue, 30 Sep 2014 22:48:42 +0000 (22:48 +0000)]
Merge "Fixing an issue with leaking starting windows. (Bug 17657878)" into lmp-dev

9 years agoMerge "Call Surface.release() for starting windows" into lmp-dev
Craig Mautner [Tue, 30 Sep 2014 22:47:03 +0000 (22:47 +0000)]
Merge "Call Surface.release() for starting windows" into lmp-dev

9 years agoFixing an issue with leaking starting windows. (Bug 17657878)
Winson Chung [Tue, 30 Sep 2014 22:04:02 +0000 (15:04 -0700)]
Fixing an issue with leaking starting windows. (Bug 17657878)

In some cases, when starting an animation while another starting window is visible,
the starting window is never scheduled to be removed.  In that case, we try and
schedule the closing app starting window to be removed when we are starting the
transition to a new activity.  This also partially addresses issues related to
leaking windows in b/17381033.

Change-Id: Id26525cd71380852f109ec2f55a4a60db5086ded

9 years agoMerge "Inset the non-overlay contextual action bar without a status guard" into lmp-dev
Adam Powell [Tue, 30 Sep 2014 22:17:00 +0000 (22:17 +0000)]
Merge "Inset the non-overlay contextual action bar without a status guard" into lmp-dev

9 years agodocs: ADT beginner text fix
Ricardo Cervera [Tue, 30 Sep 2014 22:07:16 +0000 (15:07 -0700)]
docs: ADT beginner text fix

Change-Id: I03cc08d5a4f12137a573c23d1ee07e048225c8f5

9 years agoMerge "Implement missing visibility management for FrameLayout foreground" into lmp-dev
Alan Viverette [Tue, 30 Sep 2014 22:06:02 +0000 (22:06 +0000)]
Merge "Implement missing visibility management for FrameLayout foreground" into lmp-dev

9 years agoMerge "Correct the documentation for VectorDrawable" into lmp-dev
ztenghui [Tue, 30 Sep 2014 22:05:59 +0000 (22:05 +0000)]
Merge "Correct the documentation for VectorDrawable" into lmp-dev

9 years agoMerge "camera2: Use valid dimensions for RGBA8888 gralloc buffers." into lmp-dev
Ruben Brunk [Tue, 30 Sep 2014 22:05:47 +0000 (22:05 +0000)]
Merge "camera2: Use valid dimensions for RGBA8888 gralloc buffers." into lmp-dev

9 years agoCall Surface.release() for starting windows
Craig Mautner [Thu, 25 Sep 2014 21:49:26 +0000 (14:49 -0700)]
Call Surface.release() for starting windows

If the window maanger received BinderDied for a starting window
before activity manager then it would null
AppWindowToken.startingWindow and not go through the
PhoneWindowManager.removeStartingWindow call later. That meant that
Surface.release() was never called from
ViewRootImpl.dispatchDetachedFromWindow(). Which in turn meant that
graphics memory was being leaked.

This change notifies the PhoneWindowManager to go through the
removeStartingWindow path when the starting window gets removed for
any reason.

This change also ensures that scheduleRemoveStartingWindow is
always called with the window manager lock held.

Fixes bug 17381033.

Change-Id: Ic6860d0e1410c9bb5053d85ae21a08b11f573b6d

9 years agoCorrect the documentation for VectorDrawable
ztenghui [Mon, 29 Sep 2014 20:19:00 +0000 (13:19 -0700)]
Correct the documentation for VectorDrawable

We missed the alpha for the vector drawable root level in the documentation.
And the animation target can be vector drawable itself for the alpha value,
which is more than path and group object.

b/17696183

Change-Id: Ic9d441fbdf411dad92718ae5adbc6655fe708453

9 years agoAdd activated text colors, update Material preference header
Alan Viverette [Tue, 30 Sep 2014 21:43:32 +0000 (14:43 -0700)]
Add activated text colors, update Material preference header

Addresses contrast issues when using activated background.

BUG: 17521147
Change-Id: Ia242c6d7bd0c1b5ca545a81fe515f15320b14d67

9 years agoImplement missing visibility management for FrameLayout foreground
Alan Viverette [Tue, 30 Sep 2014 21:27:58 +0000 (14:27 -0700)]
Implement missing visibility management for FrameLayout foreground

BUG: 15350931
Change-Id: I16900d0d95051489852385d682e7b5aa4adad327

9 years agoMerge "Clear ident when obtaining provider across users." into lmp-dev
Jeff Sharkey [Tue, 30 Sep 2014 21:10:47 +0000 (21:10 +0000)]
Merge "Clear ident when obtaining provider across users." into lmp-dev

9 years agoClear ident when obtaining provider across users.
Jeff Sharkey [Tue, 30 Sep 2014 20:55:39 +0000 (13:55 -0700)]
Clear ident when obtaining provider across users.

When calling getContentProvider() across user boundaries, and
creating the provider for the first time, we need to clear caller
identity.  (We could have torn down the provider while the system
was under memory pressure.)

Bug: 17409650
Change-Id: I67713a03e5f7106f5e8fcf33fe3fdae81ce644ec

9 years agocamera2: Use valid dimensions for RGBA8888 gralloc buffers.
Ruben Brunk [Tue, 30 Sep 2014 10:42:13 +0000 (03:42 -0700)]
camera2: Use valid dimensions for RGBA8888 gralloc buffers.

Bug: 17675571

- All of the mistakes were made.  Unmake them.

Change-Id: I23ff7a553347d4d9588c728219f4bf0604ba2e38

9 years agoInset the non-overlay contextual action bar without a status guard
Adam Powell [Tue, 30 Sep 2014 20:21:12 +0000 (13:21 -0700)]
Inset the non-overlay contextual action bar without a status guard

When the status guard is not available, (e.g. when the window is not
drawing system bars) do not consume the insets when an action mode is
active.

Bug 17691453

Change-Id: I459622eaf161a96152fb9ac5f60bb9508aa4de89

9 years agoMerge "More work on issue #17656716: Unhandled exception in Window Manager" into...
Dianne Hackborn [Tue, 30 Sep 2014 20:18:47 +0000 (20:18 +0000)]
Merge "More work on issue #17656716: Unhandled exception in Window Manager" into lmp-dev

9 years agoMerge "Use default encryption password if an accessibility service is enabled." into...
Svetoslav [Tue, 30 Sep 2014 20:01:03 +0000 (20:01 +0000)]
Merge "Use default encryption password if an accessibility service is enabled." into lmp-dev

9 years agoUse default encryption password if an accessibility service is enabled.
Svetoslav [Tue, 30 Sep 2014 01:16:20 +0000 (18:16 -0700)]
Use default encryption password if an accessibility service is enabled.

When device is encrypted the user has to authenticate in order to decrypt
the data partition which is required for running accessibility services
and Text-To-Speech. In order to address this issue we are falling back
to use the default password if there is an enabled accessibility service
and the user has secure lock. This will enable the user to authenticate
when accessibility layer is completely functional.

bug:17671790

Change-Id: Iafffe7bcd234008cf91ffb5011b21b803dca227a

9 years agoMerge "Update for bug #17521147 Settings activity looks terrible on Volantis" into...
Fabrice Di Meglio [Tue, 30 Sep 2014 19:46:13 +0000 (19:46 +0000)]
Merge "Update for bug #17521147 Settings activity looks terrible on Volantis" into lmp-dev

9 years agoDoc update: Update preprod (staging) instructions.
kmccormick [Wed, 24 Sep 2014 00:08:33 +0000 (17:08 -0700)]
Doc update: Update preprod (staging) instructions.

Fix for:

b/17525318

Change-Id: Id93bd3e6e1fd5f203733121e3148cec8b24ab374

9 years agoMerge "Fixing regression with black task bar background. (Bug 17584337)" into lmp-dev
Winson Chung [Tue, 30 Sep 2014 19:16:21 +0000 (19:16 +0000)]
Merge "Fixing regression with black task bar background. (Bug 17584337)" into lmp-dev

9 years agoMerge "Add a returns clause to the matchesInterruptionFilter javadoc." into lmp-dev
Chris Wren [Tue, 30 Sep 2014 18:51:27 +0000 (18:51 +0000)]
Merge "Add a returns clause to the matchesInterruptionFilter javadoc." into lmp-dev

9 years agoMerge "Update the documentation on EXTRA_PEOPLE." into lmp-dev
Chris Wren [Tue, 30 Sep 2014 18:50:04 +0000 (18:50 +0000)]
Merge "Update the documentation on EXTRA_PEOPLE." into lmp-dev

9 years agoMake CaptivePortalLogin app exit if underlying Network disconnects.
Paul Jensen [Fri, 26 Sep 2014 19:19:17 +0000 (15:19 -0400)]
Make CaptivePortalLogin app exit if underlying Network disconnects.

The app is no longer useful if the underlying Network has disconnected
and could get in the way of another signing into another Network.

bug:17672087
Change-Id: I26e820444640975e7fd4dd73244f4d4f4b40cb5e

9 years agoMore work on issue #17656716: Unhandled exception in Window Manager
Dianne Hackborn [Tue, 30 Sep 2014 18:28:18 +0000 (11:28 -0700)]
More work on issue #17656716: Unhandled exception in Window Manager

Drop down the limit on when we log, since under normal operation we
will never get more than a few K of data due to strict mode.

Try to clean up the code paths coming in and out of binder IPCs to
plug any places where we could disrupt the gather flag of a thread,
causing it to keep gathering stack crawls (which is the thing that
is causing our strict mode data to become so large).

Change-Id: I9a46512283d33e863c429840b465855d1fabb74e

9 years agoCamera2 Legacy: Set a default thumbnail size
Eino-Ville Talvala [Tue, 30 Sep 2014 00:01:04 +0000 (17:01 -0700)]
Camera2 Legacy: Set a default thumbnail size

Generally, JPEGs are better with thumbnails, and the default parameters
typically set a basic thumbnail size. In legacy, include a default size in the
templates.

This also works around issues with some devices not producing valid images with no
thumbnail.

Bug: 17724701
Change-Id: I2ad1449fc8c6d1fdec609af55f53db7491abbb92

9 years agoAdd a returns clause to the matchesInterruptionFilter javadoc.
Chris Wren [Tue, 30 Sep 2014 17:05:14 +0000 (13:05 -0400)]
Add a returns clause to the matchesInterruptionFilter javadoc.

Bug: 17641219
Change-Id: I4f1949902bf872823389f3db8e694e370e113295

9 years agoMerge "Adds the ability to start a user in background" into lmp-dev
Alexandra Gherghina [Tue, 30 Sep 2014 17:00:13 +0000 (17:00 +0000)]
Merge "Adds the ability to start a user in background" into lmp-dev

9 years agoMerge "Fix issue #17705755: Battery stats resets at incorrect times" into lmp-dev
Dianne Hackborn [Tue, 30 Sep 2014 16:45:25 +0000 (16:45 +0000)]
Merge "Fix issue #17705755: Battery stats resets at incorrect times" into lmp-dev

9 years agoMerge "Fixing crash in Recents due to late onBootCompleted call (Bug 17572254)" into...
Winson Chung [Tue, 30 Sep 2014 16:39:42 +0000 (16:39 +0000)]
Merge "Fixing crash in Recents due to late onBootCompleted call (Bug 17572254)" into lmp-dev

9 years agoMerge "Don't play hint animations when dozing" into lmp-dev
John Spurlock [Tue, 30 Sep 2014 16:35:25 +0000 (16:35 +0000)]
Merge "Don't play hint animations when dozing" into lmp-dev

9 years agoUpdate the documentation on EXTRA_PEOPLE.
Chris Wren [Mon, 29 Sep 2014 21:19:27 +0000 (17:19 -0400)]
Update the documentation on EXTRA_PEOPLE.

Include the supported formats with links to ContactsContract documentation.

Bug: 15283556
Change-Id: Ic48b0a9ad1be61f0fa119b1d0e9d6aac5e5bea27

9 years agoDon't play hint animations when dozing
Jorim Jaggi [Tue, 30 Sep 2014 15:38:19 +0000 (17:38 +0200)]
Don't play hint animations when dozing

Bug: 17718416
Change-Id: I2c27b4ea479ee46612eb5284a2c872d03dc52ab0

9 years agoMerge "Pull roaming from mServiceState for consistency" into lmp-dev
Jason Monk [Tue, 30 Sep 2014 15:30:10 +0000 (15:30 +0000)]
Merge "Pull roaming from mServiceState for consistency" into lmp-dev

9 years agoMerge "Clear preordered list after use." into lmp-dev
George Mount [Tue, 30 Sep 2014 14:58:20 +0000 (14:58 +0000)]
Merge "Clear preordered list after use." into lmp-dev

9 years agoDoze: Log screenOnFromTouch when flinging.
John Spurlock [Tue, 30 Sep 2014 13:56:05 +0000 (09:56 -0400)]
Doze: Log screenOnFromTouch when flinging.

Bug: 17350239
Bug: 17496795
Change-Id: I4a8e26c2fc05cf4396e9c8cb58e81b4f95c531e6

9 years agoPull roaming from mServiceState for consistency
Jason Monk [Tue, 30 Sep 2014 13:29:34 +0000 (09:29 -0400)]
Pull roaming from mServiceState for consistency

Also consolidate roaming logic while here, to make it easier to
maintain.

Bug: 17514906
Bug: 17619763
Change-Id: I8efabdecc26722ff6ac70d715f3befaae989abdc

9 years agoSet Build.CPU_ABI{2} from SUPPORTED_{32,64}_BIT_ABIS
Narayan Kamath [Tue, 30 Sep 2014 12:20:57 +0000 (13:20 +0100)]
Set Build.CPU_ABI{2} from SUPPORTED_{32,64}_BIT_ABIS

32 bit processes will always see values from SUPPORTED_32_BIT_ABIS
and 64 bit processes will always see values from SUPPORTED_64_BIT_ABIS.

bug: 17367265
Change-Id: I9996034c190f9213986b9b1a4ee0e38eca91c7ad

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 30 Sep 2014 11:00:07 +0000 (04:00 -0700)]
Import translations. DO NOT MERGE

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

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 30 Sep 2014 07:52:27 +0000 (00:52 -0700)]
Import translations. DO NOT MERGE

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

9 years agoMerge "Fix deadlock caused by clearAllBackoffs in SSE" into lmp-dev
Matthew Williams [Tue, 30 Sep 2014 03:09:09 +0000 (03:09 +0000)]
Merge "Fix deadlock caused by clearAllBackoffs in SSE" into lmp-dev

9 years agoMerge "Update LegacyTypeTracker state before sending connect broadcasts." into lmp-dev
Lorenzo Colitti [Tue, 30 Sep 2014 03:05:47 +0000 (03:05 +0000)]
Merge "Update LegacyTypeTracker state before sending connect broadcasts." into lmp-dev

9 years agoUpdate for bug #17521147 Settings activity looks terrible on Volantis
Fabrice Di Meglio [Tue, 30 Sep 2014 02:03:12 +0000 (19:03 -0700)]
Update for bug #17521147 Settings activity looks terrible on Volantis

Per UX request:

- remove PreferenceHeader list divider
- make list item primary/secondary text using the correct themed list item
text appearance (so that they can be overridden)

Change-Id: Ie0cadf81914cf208434a342829a48b5a1df62141

9 years agoFix issue #17705755: Battery stats resets at incorrect times
Dianne Hackborn [Tue, 30 Sep 2014 01:31:22 +0000 (18:31 -0700)]
Fix issue #17705755: Battery stats resets at incorrect times

Revert back to (mostly) KK behavior, fix a problem where we were
collecting some data in an inconsistent state.

Change-Id: Ida3ca3fb734a9d7d61a90fd5044152e927c59e02