OSDN Git Service

android-x86/frameworks-base.git
9 years agoFixed mutate() for RippleDrawable, ASLD, AVD, fix applyTheme in VD
Alan Viverette [Fri, 26 Sep 2014 17:37:30 +0000 (10:37 -0700)]
Fixed mutate() for RippleDrawable, ASLD, AVD, fix applyTheme in VD

BUG: 17646144
Change-Id: I58c111d86224dc8f7f557073c0bcbc22ad74aa1b

9 years agoMerge "Using wrong virtual view id When prefetching accessibility nodes." into lmp-dev
Svetoslav [Fri, 26 Sep 2014 01:51:53 +0000 (01:51 +0000)]
Merge "Using wrong virtual view id When prefetching accessibility nodes." into lmp-dev

9 years agoUsing wrong virtual view id When prefetching accessibility nodes.
Svetoslav [Fri, 26 Sep 2014 01:46:22 +0000 (18:46 -0700)]
Using wrong virtual view id When prefetching accessibility nodes.

When getting an accessibility node info we also prefetch its predecessors,
siblings and descendants up to fifty. If a view has a node provider, i.e.
virtual descendants, and the id of the virtual descendant is not specified
we use a speacial constant to refer that the provider should create a node
for its hosting view. The bug was that we were not using the correct constant
when calling into the provider.

bug:17664111

Change-Id: I4f6b2333e1e7e3e2bb6b164c0752613417c60d16

9 years agoMerge "Shorten the zen supertoast visible duration." into lmp-dev
John Spurlock [Fri, 26 Sep 2014 01:44:02 +0000 (01:44 +0000)]
Merge "Shorten the zen supertoast visible duration." into lmp-dev

9 years agoMerge "Fix issue #17574819: Chrome browser process is killed..." into lmp-dev
Dianne Hackborn [Fri, 26 Sep 2014 01:41:53 +0000 (01:41 +0000)]
Merge "Fix issue #17574819: Chrome browser process is killed..." into lmp-dev

9 years agoMerge "bootanimation: allow animation to specify background color" into lmp-dev
Jesse Hall [Fri, 26 Sep 2014 01:38:03 +0000 (01:38 +0000)]
Merge "bootanimation: allow animation to specify background color" into lmp-dev

9 years agoFix issue #17574819: Chrome browser process is killed...
Dianne Hackborn [Fri, 26 Sep 2014 01:34:02 +0000 (18:34 -0700)]
Fix issue #17574819: Chrome browser process is killed...

...in background due to dying renderer process

Completely turn this off, for now.

Change-Id: I028eefc9b7e627d29569ef72d9ab940ac5960c7c

9 years agoMerge "Invalid active window if temporary disabling accessibility for test tools...
Svetoslav [Fri, 26 Sep 2014 01:28:35 +0000 (01:28 +0000)]
Merge "Invalid active window if temporary disabling accessibility for test tools." into lmp-dev

9 years agoMerge "Work on issue #17656716: Unhandled exception in Window Manager" into lmp-dev
Dianne Hackborn [Fri, 26 Sep 2014 01:15:01 +0000 (01:15 +0000)]
Merge "Work on issue #17656716: Unhandled exception in Window Manager" into lmp-dev

9 years agoMerge "Correctly advertise accessibility scrolling actions" into lmp-dev
Alan Viverette [Fri, 26 Sep 2014 01:13:12 +0000 (01:13 +0000)]
Merge "Correctly advertise accessibility scrolling actions" into lmp-dev

9 years agoMerge "Adding support for Cdma conference calling." into lmp-dev
Sailesh Nepal [Fri, 26 Sep 2014 00:56:09 +0000 (00:56 +0000)]
Merge "Adding support for Cdma conference calling." into lmp-dev

9 years agoMerge "AAPT: Fix issue with synthesized resource not actually showing up" into lmp-dev
Adam Lesinski [Fri, 26 Sep 2014 00:51:35 +0000 (00:51 +0000)]
Merge "AAPT: Fix issue with synthesized resource not actually showing up" into lmp-dev

9 years agoWork on issue #17656716: Unhandled exception in Window Manager
Dianne Hackborn [Fri, 26 Sep 2014 00:41:34 +0000 (17:41 -0700)]
Work on issue #17656716: Unhandled exception in Window Manager

Create descriptive errors when sending unreasonably large
parcels through IPC.

Change-Id: Ie93b5372a8ed87541db282876c4eeeae69a1e8bd

9 years agoShorten the zen supertoast visible duration.
John Spurlock [Fri, 26 Sep 2014 00:14:41 +0000 (20:14 -0400)]
Shorten the zen supertoast visible duration.

Bug:16215680
Change-Id: I7ac8e9637b7bf8eae55b0902c60ddc9d513f20a3

9 years agoMerge "Always show the name of the last used Home app in ResolverActivity" into lmp-dev
Adam Powell [Fri, 26 Sep 2014 00:07:30 +0000 (00:07 +0000)]
Merge "Always show the name of the last used Home app in ResolverActivity" into lmp-dev

9 years agoInvalid active window if temporary disabling accessibility for test tools.
Svetoslav [Thu, 25 Sep 2014 23:48:53 +0000 (16:48 -0700)]
Invalid active window if temporary disabling accessibility for test tools.

If accessibility is enabled and a test tool based on the accessibility APIs
connects to the system we suspend the current accessibility services while
the tool is running (to avoid inteference as the tool is such a service) and
after the tool disconnects we restore the accessibility state. The issue is
that when clearing the accessibility state we were also wrongly clearing the
active window. We are now careful to not clear the active window in such a
case.

It is also possible that the active window was never initilaized before the
tool is run so now it is lazily loaded such that if we do not know which one
it is, we get the one the has input focus. The definition of an active window
is the one that has input focus or the user is touching.

bug:17663432

Change-Id: I8868866a5126c590d3bddad099ababb97978227a

9 years agoAlways show the name of the last used Home app in ResolverActivity
Adam Powell [Thu, 25 Sep 2014 23:46:36 +0000 (16:46 -0700)]
Always show the name of the last used Home app in ResolverActivity

Bug 17629220

Change-Id: Ia1d0a188f8c0911e5b74b18ba44508a6e2139d0c

9 years agoMerge "Fix issue #17661444: Persistent service not automatically restarted" into...
Dianne Hackborn [Thu, 25 Sep 2014 23:53:13 +0000 (23:53 +0000)]
Merge "Fix issue #17661444: Persistent service not automatically restarted" into lmp-dev

9 years agoFix issue #17661444: Persistent service not automatically restarted
Dianne Hackborn [Thu, 25 Sep 2014 23:39:40 +0000 (16:39 -0700)]
Fix issue #17661444: Persistent service not automatically restarted

The code to recover when running processes are removed from the
LRU list turned up an existing problem where we would remove a
persistent process from the LRU list, making it more obvious.

Now it is fixed.

Change-Id: I94ccb924b3e5649b2819d3392b6f6c9c725dc903

9 years agobootanimation: allow animation to specify background color
Jesse Hall [Mon, 22 Sep 2014 17:51:09 +0000 (10:51 -0700)]
bootanimation: allow animation to specify background color

Some OEMs want to have a bootanimation (or parts of it) displayed on a
color other than black. They currently just use full-screen frames for
that, which wastes lots of memory and bandwidth. This change allows
each part of the animation to specify a background color that will be
applied outside of the frame images; if unspecified the background
will be black as it is now.

Bug: 16635599
Change-Id: Ibf008fc75c5aad891c86ba9e4ec0879b7a61b8bd

9 years agoMerge "Accessibility in bad state after using SDK tool uiautomatorviewer." into lmp-dev
Svetoslav [Thu, 25 Sep 2014 23:27:00 +0000 (23:27 +0000)]
Merge "Accessibility in bad state after using SDK tool uiautomatorviewer." into lmp-dev

9 years agoAccessibility in bad state after using SDK tool uiautomatorviewer.
Svetoslav [Thu, 25 Sep 2014 22:56:28 +0000 (15:56 -0700)]
Accessibility in bad state after using SDK tool uiautomatorviewer.

The UiAutormator tool is a part of the SDK. If it is run while
accessibility is enabled it stops all accessibility services
as it is an accessibility service itself to avoid interference
and when done restores back the accessibility state. The issue
was that the accessibility state is not restored leaving the
device in a bad state.

bug:17662770

Change-Id: I3c4f46fa05c76b874eeffdeb867ef433c3fedf2e

9 years agoMerge "Fix an incorrect behavior that failed AT&T privacy test." into lmp-dev
Tsuwei Chen [Thu, 25 Sep 2014 22:43:03 +0000 (22:43 +0000)]
Merge "Fix an incorrect behavior that failed AT&T privacy test." into lmp-dev

9 years agoMerge "Ensure that setting an empty password clears it" into lmp-dev
Adrian Roos [Thu, 25 Sep 2014 22:42:41 +0000 (22:42 +0000)]
Merge "Ensure that setting an empty password clears it" into lmp-dev

9 years agoMerge "Camera2 Legacy: Clear JPEG ids when reconfiguring." into lmp-dev
Eino-Ville Talvala [Thu, 25 Sep 2014 22:36:58 +0000 (22:36 +0000)]
Merge "Camera2 Legacy: Clear JPEG ids when reconfiguring." into lmp-dev

9 years agoMerge "Specify a device identifier for keyboard layout notification." into lmp-dev
Michael Wright [Thu, 25 Sep 2014 22:18:19 +0000 (22:18 +0000)]
Merge "Specify a device identifier for keyboard layout notification." into lmp-dev

9 years agoAdding support for Cdma conference calling.
mike dooley [Thu, 25 Sep 2014 21:49:21 +0000 (14:49 -0700)]
Adding support for Cdma conference calling.

Adding methods to merge and swap Cdma conference
calls from hangouts.

Bug: 17658943
Change-Id: I0ce472415e3455503223fc0dab5e1a8ee415cde9

9 years agoFix an incorrect behavior that failed AT&T privacy test.
Tsuwei Chen [Thu, 25 Sep 2014 21:33:08 +0000 (14:33 -0700)]
Fix an incorrect behavior that failed AT&T privacy test.

Bug: 17278951

Change-Id: I8b8bf4ed19af8738e7cef3553c8a06f7e27c7264

9 years agoCamera2 Legacy: Clear JPEG ids when reconfiguring.
Eino-Ville Talvala [Thu, 25 Sep 2014 19:52:20 +0000 (12:52 -0700)]
Camera2 Legacy: Clear JPEG ids when reconfiguring.

Otherwise, stale IDs for old streams will be left around, causing
JPEGs to be sent to the wrong consumers.

Bug: 17659125
Change-Id: I98e1a1d389147631bc80eaeb10d57f74a6256f32

9 years agoCamera2 legacy: Improve robustness to camera service crashes
Eino-Ville Talvala [Tue, 23 Sep 2014 23:37:31 +0000 (16:37 -0700)]
Camera2 legacy: Improve robustness to camera service crashes

When the camera service dies, the getParameters call is often the first
to fail, and on legacy mode, this frequently happens in a background thread.
Catch the runtime exceptions and convert to device errors, instead of killing
the process.

Bug: 17587496

Change-Id: I6757961e7c0387defd368a13cb7c343950602400

9 years agoMerge "Cut ripple background alpha in half" into lmp-dev
Alan Viverette [Thu, 25 Sep 2014 20:14:33 +0000 (20:14 +0000)]
Merge "Cut ripple background alpha in half" into lmp-dev

9 years agoMerge "Fix "Always apply window insets to action modes"" into lmp-dev
Alan Viverette [Thu, 25 Sep 2014 20:11:27 +0000 (20:11 +0000)]
Merge "Fix "Always apply window insets to action modes"" into lmp-dev

9 years agoMerge "Accessibility events may be fired even if no services observe them." into...
Svetoslav [Thu, 25 Sep 2014 20:06:19 +0000 (20:06 +0000)]
Merge "Accessibility events may be fired even if no services observe them." into lmp-dev

9 years agoCut ripple background alpha in half
Alan Viverette [Thu, 25 Sep 2014 20:06:03 +0000 (13:06 -0700)]
Cut ripple background alpha in half

Ripple alpha is supposed to be split evenly between the foreground
ripple layer and the background layer, but the background alpha wasn't
getting adjusted properly.

BUG: 17658817
Change-Id: I7af2f2ed38400a40d4a17da020363c7ae5c71a7b

9 years agoMerge "Allow longer translations in the notification actions." into lmp-dev
Chris Wren [Thu, 25 Sep 2014 19:50:32 +0000 (19:50 +0000)]
Merge "Allow longer translations in the notification actions." into lmp-dev

9 years agoCorrectly advertise accessibility scrolling actions
Alan Viverette [Thu, 25 Sep 2014 19:43:47 +0000 (12:43 -0700)]
Correctly advertise accessibility scrolling actions

Previously, we didn't take into account partially-visible views. This
extracts existing logic for determining whether the list can scroll
up or down and applies that when adding scrolling actions.

BUG: 17648502
Change-Id: I7ed9382e1645970ab098c210ad10f8a077da834b

9 years agoMerge "camera2: Fix null check in PictureCallback." into lmp-dev
Ruben Brunk [Thu, 25 Sep 2014 19:22:59 +0000 (19:22 +0000)]
Merge "camera2: Fix null check in PictureCallback." into lmp-dev

9 years agoMerge "Fix GPS icon not showing for secondary users" into lmp-dev
Amith Yamasani [Thu, 25 Sep 2014 19:18:23 +0000 (19:18 +0000)]
Merge "Fix GPS icon not showing for secondary users" into lmp-dev

9 years agoMerge "Supertoast when user changes zen mode." into lmp-dev
John Spurlock [Thu, 25 Sep 2014 19:08:39 +0000 (19:08 +0000)]
Merge "Supertoast when user changes zen mode." into lmp-dev

9 years agoSupertoast when user changes zen mode.
John Spurlock [Tue, 23 Sep 2014 18:59:51 +0000 (14:59 -0400)]
Supertoast when user changes zen mode.

If the user selects a new zen mode, display a quick toast
with the mode icon + text to aid in association.

Also fix a recent regression in the zen subhead alignment.

Bug:16215680
Bug:17641211
Change-Id: I4ead88d81be4d9c26459aed82c47b8c2fb32eafa

9 years agocamera2: Fix null check in PictureCallback.
Ruben Brunk [Thu, 25 Sep 2014 18:48:27 +0000 (11:48 -0700)]
camera2: Fix null check in PictureCallback.

Bug: 17636586
Change-Id: Ieddc106e14c97dc78405821e83e346d626127e2c

9 years agoMerge "Fix pause when setting pin/pattern/password" into lmp-dev
Paul Lawrence [Thu, 25 Sep 2014 18:33:53 +0000 (18:33 +0000)]
Merge "Fix pause when setting pin/pattern/password" into lmp-dev

9 years agoMerge "Ensure MediaBrowser state is set to connecting after a reconnect" into lmp-dev
RoboErik [Thu, 25 Sep 2014 18:28:49 +0000 (18:28 +0000)]
Merge "Ensure MediaBrowser state is set to connecting after a reconnect" into lmp-dev

9 years agoMerge "Allow null queues to be set in MediaSession" into lmp-dev
RoboErik [Thu, 25 Sep 2014 18:28:20 +0000 (18:28 +0000)]
Merge "Allow null queues to be set in MediaSession" into lmp-dev

9 years agoAllow longer translations in the notification actions.
Chris Wren [Thu, 25 Sep 2014 17:38:39 +0000 (13:38 -0400)]
Allow longer translations in the notification actions.

Bug: 17345743
Change-Id: Icd0588516cb568ea76e2766f54ba1a61a8f3d997

9 years agoMerge "Hide carrier app intents in Telephony (1/2)" into lmp-dev
Ye Wen [Thu, 25 Sep 2014 17:36:31 +0000 (17:36 +0000)]
Merge "Hide carrier app intents in Telephony (1/2)" into lmp-dev

9 years agoMerge "Hide CarrierPrivilege APIs in TelMgr." into lmp-dev
Junda Liu [Thu, 25 Sep 2014 17:36:09 +0000 (17:36 +0000)]
Merge "Hide CarrierPrivilege APIs in TelMgr." into lmp-dev

9 years agoFix pause when setting pin/pattern/password
Paul Lawrence [Thu, 25 Sep 2014 16:26:34 +0000 (09:26 -0700)]
Fix pause when setting pin/pattern/password

Move setting encryption pin/pattern/password into a separate thread

Bug: 17554587
Change-Id: Ifdf2ed5aa9ca08d68bb2ed08c8985203c24dcb9f

9 years agoHide CarrierPrivilege APIs in TelMgr.
Junda Liu [Wed, 24 Sep 2014 19:53:36 +0000 (12:53 -0700)]
Hide CarrierPrivilege APIs in TelMgr.

Per API council decision, we will polish and public in MR1.

Bug: b/17639966
Change-Id: Id009cd62b4d44dd17fe7a30e0f8037c6fb373c32

9 years agoMerge "getCurrentInterruptionFilter should return the filter value, not the hints...
Chris Wren [Thu, 25 Sep 2014 17:21:31 +0000 (17:21 +0000)]
Merge "getCurrentInterruptionFilter should return the filter value, not the hints." into lmp-dev

9 years agoMerge "Ignore badly formed ComponentNames when loading device_owner.xml" into lmp-dev
Kenny Guy [Thu, 25 Sep 2014 16:42:10 +0000 (16:42 +0000)]
Merge "Ignore badly formed ComponentNames when loading device_owner.xml" into lmp-dev

9 years agoHide carrier app intents in Telephony (1/2)
Ye Wen [Tue, 23 Sep 2014 17:24:57 +0000 (10:24 -0700)]
Hide carrier app intents in Telephony (1/2)

b/17608135

Change-Id: Ib42d40cf8aac98f62c7237fa450463ff7c1a0f47

9 years agoEnsure that setting an empty password clears it
Adrian Roos [Thu, 25 Sep 2014 16:07:13 +0000 (18:07 +0200)]
Ensure that setting an empty password clears it

Bug: 17496766
Change-Id: I7c29b632519247bc5675a05ef6cc90902fec8527

9 years agoIgnore badly formed ComponentNames when loading device_owner.xml
Kenny Guy [Thu, 25 Sep 2014 14:40:51 +0000 (15:40 +0100)]
Ignore badly formed ComponentNames when loading device_owner.xml

In the past we wrote out badly formed ComponentNames with no
class part. Loading these results in a null pointer exception
blocking boot.

Bug: 17652534
Change-Id: Iec592343425a23c7ada5f73cf30b8646d31eae81

9 years agoMissing null check
John Reck [Thu, 25 Sep 2014 15:33:05 +0000 (08:33 -0700)]
Missing null check

Bug: 17642023
Change-Id: I874b76e1e184a59dec714191d759c1045b7b9814

9 years agoMerge "NoMan: Add 3s timeout in matchesCallFilter()" into lmp-dev
Christoph Studer [Thu, 25 Sep 2014 10:53:46 +0000 (10:53 +0000)]
Merge "NoMan: Add 3s timeout in matchesCallFilter()" into lmp-dev

9 years agoAAPT: Fix issue with synthesized resource not actually showing up
Adam Lesinski [Thu, 25 Sep 2014 02:02:52 +0000 (19:02 -0700)]
AAPT: Fix issue with synthesized resource not actually showing up

AAPT keeps around a few pieces of state that are disjoint, so
simply adding to a collection won't add the resource to the final
flattened output. Instead, we create the resource from the top
and then copy over the values into the newly created resource.

Bug:17647890
Change-Id: I214263e84c18f9370c6e6a5aa53aa2d833fc842d

9 years agoAccessibility events may be fired even if no services observe them.
Svetoslav [Thu, 25 Sep 2014 00:55:49 +0000 (17:55 -0700)]
Accessibility events may be fired even if no services observe them.

If all accessibility services are disabled we turn off event firing
to avoid a lot of work for nothing. The logic to do that had a flaw
and was not turning event firing off in every case it should. We were
tuning event firing if it is on and no service is enabled but it
is possible that a package on the system image is disabled so the
service is enabled just not bound. Arguably we can remove the
serivice from the enabled list but it is technically on the device.
Note that we correctly handle the case of a package being removed.

bug:17332506

Change-Id: I6d6d9cb9cc271116a3d22ed9fd8d7f533dec9a0b

9 years agoFix "Always apply window insets to action modes"
Alan Viverette [Thu, 25 Sep 2014 00:55:52 +0000 (17:55 -0700)]
Fix "Always apply window insets to action modes"

BUG: 17628875
Change-Id: I03bf6cfd68d0ca2904b43e00f68d07d497ff9879

9 years agoFix GPS icon not showing for secondary users
Amith Yamasani [Thu, 25 Sep 2014 00:46:19 +0000 (17:46 -0700)]
Fix GPS icon not showing for secondary users

Watch for high power usage broadcasts from all users in the statusbar.

Bug: 17647654
Change-Id: I2c6c5a218d38438415a450cfa2f9328763af3f50

9 years agoMerge "MediaCodecList: fix findEncoderForFormat." into lmp-dev
Ronghua Wu [Thu, 25 Sep 2014 00:23:02 +0000 (00:23 +0000)]
Merge "MediaCodecList: fix findEncoderForFormat." into lmp-dev

9 years agoAdd config to control phone switch
Sukanya Rajkhowa [Mon, 15 Sep 2014 22:59:38 +0000 (15:59 -0700)]
Add config to control phone switch

When UNSOL_RADIO_TECH_CHANGED is received, PhoneProxy
calls updatePhoneObject to decide whether to do a phone
switch. This config determines whether to also do a
phone switch when VOICE_REGISTRATION_STATE changes. Default
value is true

Bug: 17394282
Change-Id: Iae6c35992b932923d74c405d443b1e7e98f750c8

9 years agoMerge "MediaCodec: revalidate cached queued input buffers if queue fails (2)" into...
Lajos Molnar [Thu, 25 Sep 2014 00:19:43 +0000 (00:19 +0000)]
Merge "MediaCodec: revalidate cached queued input buffers if queue fails (2)" into lmp-dev

9 years agoMediaCodecList: fix findEncoderForFormat.
Ronghua Wu [Wed, 24 Sep 2014 17:00:48 +0000 (10:00 -0700)]
MediaCodecList: fix findEncoderForFormat.

Bug: 17460057
Bug: 17637188
Change-Id: I618ff1a4dbbecf64786207ccb5208b0a67d80ddd

9 years agoMerge "Remove remanents of onConnectionCongested in framwork" into lmp-dev
Andre Eisenbach [Wed, 24 Sep 2014 23:57:01 +0000 (23:57 +0000)]
Merge "Remove remanents of onConnectionCongested in framwork" into lmp-dev

9 years agoMerge "Introduce config setting for scanning mac OUI" into lmp-dev
Vinit Deshpande [Wed, 24 Sep 2014 23:50:04 +0000 (23:50 +0000)]
Merge "Introduce config setting for scanning mac OUI" into lmp-dev

9 years agoMediaCodec: revalidate cached queued input buffers if queue fails (2)
Lajos Molnar [Wed, 24 Sep 2014 21:07:35 +0000 (14:07 -0700)]
MediaCodec: revalidate cached queued input buffers if queue fails (2)

Handle the other ways queueBuffer can fail.  Revalidate the buffers
properly, e.g. without clearing them.

Bug: 17630446
Change-Id: I22e0e89c2835eb6a461046a8cf3be03635088302

9 years agoMerge "MediaCodec: revalidate cached queued input buffers if queue fails" into lmp-dev
Lajos Molnar [Wed, 24 Sep 2014 23:40:55 +0000 (23:40 +0000)]
Merge "MediaCodec: revalidate cached queued input buffers if queue fails" into lmp-dev

9 years agoMerge "Include reason when wiping data." into lmp-dev
Jeff Sharkey [Wed, 24 Sep 2014 23:27:24 +0000 (23:27 +0000)]
Merge "Include reason when wiping data." into lmp-dev

9 years agoMerge "Add one more test and update old tests" into lmp-dev
ztenghui [Wed, 24 Sep 2014 23:07:32 +0000 (23:07 +0000)]
Merge "Add one more test and update old tests" into lmp-dev

9 years agoMerge "Fix AVD for CTS failure." into lmp-dev
ztenghui [Wed, 24 Sep 2014 23:07:17 +0000 (23:07 +0000)]
Merge "Fix AVD for CTS failure." into lmp-dev

9 years agoMerge "camera2: Hide JPEGs in RGBA gralloc buffers." into lmp-dev
Ruben Brunk [Wed, 24 Sep 2014 22:51:54 +0000 (22:51 +0000)]
Merge "camera2: Hide JPEGs in RGBA gralloc buffers." into lmp-dev

9 years agogetCurrentInterruptionFilter should return the filter value, not the hints.
Chris Wren [Wed, 24 Sep 2014 22:17:36 +0000 (18:17 -0400)]
getCurrentInterruptionFilter should return the filter value, not the hints.

Bug: 17641218
Change-Id: I4a6ff073c04a3d3624916293824faba40f6226aa

9 years agoRemove remanents of onConnectionCongested in framwork
Prerepa Viswanadham [Fri, 19 Sep 2014 17:57:54 +0000 (10:57 -0700)]
Remove remanents of onConnectionCongested in framwork

Bug:17289507
Change-Id: Ia28c39822141edd0e4dc3f623b8c2f280fc5f943

9 years agoam 2c1ef532: am 1968b919: am b8a60dad: Merge "docs: Update the staging app.yaml to...
Joe Fernandez [Wed, 24 Sep 2014 21:54:08 +0000 (21:54 +0000)]
am 2c1ef532: am 1968b919: am b8a60dad: Merge "docs: Update the staging app.yaml to be compatible with GAE 1.9.4 and higher" into klp-modular-docs

* commit '2c1ef5328cee7059b1ab0d8de849c2fa474f88dd':
  docs: Update the staging app.yaml to be compatible with GAE 1.9.4 and higher

9 years agoMerge "Clear the volume cache for all inactive state transitions" into lmp-dev
RoboErik [Wed, 24 Sep 2014 21:35:55 +0000 (21:35 +0000)]
Merge "Clear the volume cache for all inactive state transitions" into lmp-dev

9 years agoEnsure MediaBrowser state is set to connecting after a reconnect
RoboErik [Wed, 24 Sep 2014 21:24:42 +0000 (14:24 -0700)]
Ensure MediaBrowser state is set to connecting after a reconnect

When the binder had disconnected we were setting the state to suspended
and then not setting it back to connecting when we reconnected. This sets
the state correctly when we are trying to connect again.

bug:17593681
Change-Id: I3fe95fa23ba43ac2dc3692fd28309b2f8e5a3599

9 years agoAllow null queues to be set in MediaSession
RoboErik [Wed, 24 Sep 2014 16:46:57 +0000 (09:46 -0700)]
Allow null queues to be set in MediaSession

Also add some test code for it to OneMedia.

bug:17593962
Change-Id: I074e2bb0329d9a97f623e4309bb7dada157b8324

9 years agoMerge "Return masked location mode for managed profiles" into lmp-dev
Amith Yamasani [Wed, 24 Sep 2014 21:28:41 +0000 (21:28 +0000)]
Merge "Return masked location mode for managed profiles" into lmp-dev

9 years agoMediaCodec: revalidate cached queued input buffers if queue fails
Lajos Molnar [Wed, 24 Sep 2014 21:07:35 +0000 (14:07 -0700)]
MediaCodec: revalidate cached queued input buffers if queue fails

For legacy behavior (using getInputBuffers) input buffer needs to
be made valid if queue fails.  Otherwise, it becomes unusable,
and the buffer still belongs to the user.

In the new model, buffers obtained by getIn/OutputBuffer will
become invalid even if queue/release fails.

We do not do the same logic for output buffers, as these should
not be accessed even if releaseBuffer fails (which really should not
happen anyway unless codec is in bad state).

Bug: 17630446
Change-Id: Ica72a168d8aea97a0ee3f3ef49c60d0ca5a9fa06

9 years agoMerge "Work on issue #17624121: Settings crash while launching on wiped device" into...
Dianne Hackborn [Wed, 24 Sep 2014 21:06:46 +0000 (21:06 +0000)]
Merge "Work on issue #17624121: Settings crash while launching on wiped device" into lmp-dev

9 years agoMerge "camera2: Increase preview frame timeout" into lmp-dev
Igor Murashkin [Wed, 24 Sep 2014 20:58:18 +0000 (20:58 +0000)]
Merge "camera2: Increase preview frame timeout" into lmp-dev

9 years agoInclude reason when wiping data.
Jeff Sharkey [Wed, 24 Sep 2014 18:45:24 +0000 (11:45 -0700)]
Include reason when wiping data.

This will help us track down who requested a data wipe.

Bug: 17412160
Change-Id: If8413e5d6377773f37e8b34ae3d26347226a027c

9 years agocamera2: Increase preview frame timeout
Igor Murashkin [Wed, 24 Sep 2014 20:48:09 +0000 (13:48 -0700)]
camera2: Increase preview frame timeout

Some devices, especially those with HAL2/HAL3 frames will have a large
delay between the first preview frame and and the camera open. This is
because the streams are configured lazily so it adds extra latency.

Increase the timeout to make it significantly less likely to get frame drops.

Bug: 17628866
Change-Id: I48dcda8507fb7eb31c3f426f833418126171c204

9 years agoMerge "Fix issue #17614141: Add protection for accessing images" into lmp-dev
Dianne Hackborn [Wed, 24 Sep 2014 20:44:17 +0000 (20:44 +0000)]
Merge "Fix issue #17614141: Add protection for accessing images" into lmp-dev

9 years agoMerge "Print spooler should not crash if fed non-PDF content." into lmp-dev
Svetoslav [Wed, 24 Sep 2014 20:29:46 +0000 (20:29 +0000)]
Merge "Print spooler should not crash if fed non-PDF content." into lmp-dev

9 years agoPrint spooler should not crash if fed non-PDF content.
Svetoslav [Wed, 24 Sep 2014 20:19:49 +0000 (13:19 -0700)]
Print spooler should not crash if fed non-PDF content.

It is possible that a buggy app breaks the contract and provides
content to be printed in format other than PDF. This was leading
to a crash in the print spooler. This change fixes the crash and
shows a user friendly error message.

bug:17642690

Change-Id: I5a4acb06080a152562655da6851467b3e71d8658

9 years agoMerge "Fix memory leak where we close the descriptor instead of the file." into lmp-dev
Derek Sollenberger [Wed, 24 Sep 2014 20:21:53 +0000 (20:21 +0000)]
Merge "Fix memory leak where we close the descriptor instead of the file." into lmp-dev

9 years agoFix issue #17614141: Add protection for accessing images
Dianne Hackborn [Wed, 24 Sep 2014 19:44:29 +0000 (12:44 -0700)]
Fix issue #17614141: Add protection for accessing images

Add basic filename protection, also only file names that are for
app icons so this can't be abused to access thumbnails.

Change-Id: I2831c0f3f08a39aa734f93f76b6fd4aaf97e87c6

9 years agoMerge "Fix dalvik map names" into lmp-dev
Mathieu Chartier [Wed, 24 Sep 2014 19:30:37 +0000 (19:30 +0000)]
Merge "Fix dalvik map names" into lmp-dev

9 years agoReturn masked location mode for managed profiles
Amith Yamasani [Tue, 23 Sep 2014 18:32:34 +0000 (11:32 -0700)]
Return masked location mode for managed profiles

If there's a user restriction on location sharing in a
managed profile, always return empty string for location
providers so that location can be disabled by the admin
even if the primary user has location enabled.

Also fix an incorrect update of the cache. Shouldn't update
the primary user's cache when the caller is the managed profile.

Bug: 17478855
Change-Id: Icab3459ae351c5cfc287e21df6a5ba1df9dfbdb4

9 years agoFix dalvik map names
Mathieu Chartier [Wed, 24 Sep 2014 00:24:30 +0000 (17:24 -0700)]
Fix dalvik map names

Some maps which should have been dalvik other were incorrectly
accounted for in dalvik heap.

Bug: 17632563

Change-Id: I90d0bebf700650a445b19c4c72674b2941868d8b

9 years agoMerge "Avoid drawing the starting window twice" into lmp-dev
Chet Haase [Wed, 24 Sep 2014 18:31:04 +0000 (18:31 +0000)]
Merge "Avoid drawing the starting window twice" into lmp-dev

9 years agoWork on issue #17624121: Settings crash while launching on wiped device
Dianne Hackborn [Wed, 24 Sep 2014 17:56:28 +0000 (10:56 -0700)]
Work on issue #17624121: Settings crash while launching on wiped device

Cleaner paths and better error reporting when a problem goes wrong
while binding an application.  This gets rid of the (recently added)
error about removing a process that hasn't been killed, and cleanly
kills the process along with more detailed errors about where things
failed.

Change-Id: I710a209c14da1515929e6254396b793177eee115

9 years agoMerge "camera2: Update CamcorderProfile documentation." into lmp-dev
Ruben Brunk [Wed, 24 Sep 2014 17:54:16 +0000 (17:54 +0000)]
Merge "camera2: Update CamcorderProfile documentation." into lmp-dev

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Wed, 24 Sep 2014 17:49:30 +0000 (17:49 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Wed, 24 Sep 2014 17:44:03 +0000 (17:44 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

9 years agocamera2: Hide JPEGs in RGBA gralloc buffers.
Ruben Brunk [Wed, 24 Sep 2014 06:35:43 +0000 (23:35 -0700)]
camera2: Hide JPEGs in RGBA gralloc buffers.

Bug: 17379185

- WAR for SW Write usage flags being unavailable on
  certain devices for JPEG (blob) format buffers.

Change-Id: Ic7299785b743f35dd47264b9d1cea01a88b71d91

9 years agoMerge "Fix issue #17632804: Add resource padding" into lmp-dev
Dianne Hackborn [Wed, 24 Sep 2014 17:17:39 +0000 (17:17 +0000)]
Merge "Fix issue #17632804: Add resource padding" into lmp-dev

9 years agoMerge "Reset keystore when user is added or removed" into lmp-dev
Robin Lee [Wed, 24 Sep 2014 17:03:32 +0000 (17:03 +0000)]
Merge "Reset keystore when user is added or removed" into lmp-dev