OSDN Git Service

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

9 years agoMerge "Fix ColorInversionTile for secondary users" into lmp-dev
Adrian Roos [Wed, 24 Sep 2014 16:46:20 +0000 (16:46 +0000)]
Merge "Fix ColorInversionTile for secondary users" into lmp-dev

9 years agoClear the volume cache for all inactive state transitions
RoboErik [Wed, 24 Sep 2014 16:24:54 +0000 (09:24 -0700)]
Clear the volume cache for all inactive state transitions

bug:16988480
Change-Id: I0426c76681f8ec832c3f72842ee494d286050fea

9 years agoam 1968b919: am b8a60dad: Merge "docs: Update the staging app.yaml to be compatible...
Joe Fernandez [Wed, 24 Sep 2014 15:56:02 +0000 (15:56 +0000)]
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 '1968b91937020e8aa826224642733bbb9055af2e':
  docs: Update the staging app.yaml to be compatible with GAE 1.9.4 and higher

9 years agoam b8a60dad: Merge "docs: Update the staging app.yaml to be compatible with GAE 1...
Joe Fernandez [Wed, 24 Sep 2014 15:44:50 +0000 (15:44 +0000)]
am b8a60dad: Merge "docs: Update the staging app.yaml to be compatible with GAE 1.9.4 and higher" into klp-modular-docs

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

9 years agoMerge "docs: Update the staging app.yaml to be compatible with GAE 1.9.4 and higher...
Joe Fernandez [Wed, 24 Sep 2014 15:39:01 +0000 (15:39 +0000)]
Merge "docs: Update the staging app.yaml to be compatible with GAE 1.9.4 and higher" into klp-modular-docs

9 years agodocs: Update the staging app.yaml to be compatible with GAE 1.9.4 and higher
Joe Fernandez [Fri, 19 Sep 2014 17:11:34 +0000 (10:11 -0700)]
docs: Update the staging app.yaml to be compatible with GAE 1.9.4 and higher

Change-Id: Iab735d07e705f019828d649e370fe5ef5006f305

9 years agoMerge "Missing pages in print preview when scorolling." into lmp-dev
Svetoslav [Wed, 24 Sep 2014 15:24:24 +0000 (15:24 +0000)]
Merge "Missing pages in print preview when scorolling." into lmp-dev

9 years agoMerge "Ignore not visible views computing click point for accessibility." into lmp-dev
Svetoslav [Wed, 24 Sep 2014 15:23:59 +0000 (15:23 +0000)]
Merge "Ignore not visible  views computing click point for accessibility." into lmp-dev

9 years agoFix ColorInversionTile for secondary users
Adrian Roos [Wed, 24 Sep 2014 15:08:22 +0000 (17:08 +0200)]
Fix ColorInversionTile for secondary users

Bug: 17626692
Change-Id: I40354a460a7c00f6fd5eb05f7836dc89129fdacb

9 years agoMerge "Add announcement of global actions dialog" into lmp-dev
Jason Monk [Wed, 24 Sep 2014 14:57:23 +0000 (14:57 +0000)]
Merge "Add announcement of global actions dialog" into lmp-dev

9 years agoMerge "Fix accessibility announcement for QS details" into lmp-dev
Jason Monk [Wed, 24 Sep 2014 14:50:03 +0000 (14:50 +0000)]
Merge "Fix accessibility announcement for QS details" into lmp-dev

9 years agoAvoid drawing the starting window twice
Chet Haase [Wed, 24 Sep 2014 14:31:29 +0000 (07:31 -0700)]
Avoid drawing the starting window twice

Logic in WindowState caused a delayed layout on the starting window,
which forced another layout/draw pass, which was unnecessary. Making
the resize call happen sooner means that that request gets lumped in
with a pending layout request, so there's only one resulting draw.

This saves not only the second drawing operation, but also the creation
of an extra buffer in SurfaceFlinger for that second draw request. This
buffer is temporary, but can be quite large on some devices and push
the system over the memory edge in extreme situations. It's difficult
to track this memory usage difference as the buffer resides at a very
low level in the system. But you can see in systrace that the second
allocation (and the second draw) is not happening after the fix.

Issue #17570761 Constrain starting window to only one buffer

Change-Id: I0e0fff7efdc812730706afccbfb020dea3f8d3e2

9 years agoFix memory leak where we close the descriptor instead of the file.
Derek Sollenberger [Wed, 24 Sep 2014 13:20:09 +0000 (09:20 -0400)]
Fix memory leak where we close the descriptor instead of the file.

bug: 17541634
Change-Id: I842176213e0547dd737ef6e0b83c320a5cc32219

9 years agoNoMan: Add 3s timeout in matchesCallFilter()
Christoph Studer [Tue, 23 Sep 2014 17:08:56 +0000 (19:08 +0200)]
NoMan: Add 3s timeout in matchesCallFilter()

In Priority mode, NoMan can block the telecom Ringer
indefinitely when looking up the caller contact details via
ContactsProvider.

Fix this by introducing a 3s timeout and assume the call
matches the call filter when the timeout is hit.

Bug: 17598245
Change-Id: Ia0893cf203e6ffd943c749719ebb9e0f0958eb01

9 years agoAdd announcement of global actions dialog
Jason Monk [Tue, 23 Sep 2014 13:09:52 +0000 (09:09 -0400)]
Add announcement of global actions dialog

Rather than saying 'Alert', say 'Alert, ...' describing the contents
of the menu.

Bug: 17559783
Change-Id: I43b1b5ba9ce76b8c205f2d29f2f8ee7569517c19

9 years agoReset keystore when user is added or removed
Robin Lee [Tue, 23 Sep 2014 12:50:22 +0000 (13:50 +0100)]
Reset keystore when user is added or removed

Because user IDs are recycled it is not safe to leave this kind of
information around after deleting.

Bug: 17403144
Change-Id: I441f85750cf8818adaf62a1acdb2ba7b4bfc1b7e

9 years agoMerge "Register ActivityManagerService.PackageMonitor for all users." into lmp-dev
Zoltan Szatmary-Ban [Wed, 24 Sep 2014 09:41:17 +0000 (09:41 +0000)]
Merge "Register ActivityManagerService.PackageMonitor for all users." into lmp-dev

9 years agocamera2: Update CamcorderProfile documentation.
Ruben Brunk [Wed, 2 Jul 2014 18:05:08 +0000 (11:05 -0700)]
camera2: Update CamcorderProfile documentation.

Bug: 17447258

- Update documentation in CamcorderProfile for LEGACY
  mode video handling.

Change-Id: If65b93788a38ffe28caec053f81b9afa538c38a0

9 years agoMissing pages in print preview when scorolling.
Svetoslav [Wed, 24 Sep 2014 04:19:04 +0000 (21:19 -0700)]
Missing pages in print preview when scorolling.

It is possible that two providers for the same page are assigned
to two preview views despite temporariliy while rebinding. We were
however releasing the provider from the view which is being bound
if not for the same page which as a result was cancelling rendering
of this page which is provided to another view via another provider.
Hence, having an empty page. Removed the unnecessary code to release
a provider when binding the view - release is happening only if the
view holder is recycled.

bug:17515670

Change-Id: I197438c16cfdb363f521cd1320f154da54eea5f5

9 years agoMerge "Use the right format to specify SUPL_MODE value." into lmp-dev
Tsuwei Chen [Wed, 24 Sep 2014 01:53:30 +0000 (01:53 +0000)]
Merge "Use the right format to specify SUPL_MODE value." into lmp-dev

9 years agoIgnore not visible views computing click point for accessibility.
Svetoslav [Wed, 24 Sep 2014 01:48:18 +0000 (18:48 -0700)]
Ignore not visible  views computing click point for accessibility.

In accessibility mode we compute a location to where to send down and up
events to click a view (triggered by a double tap). This solves the problem
of interacting with views that are partially covered by other interactive
views. The logic that computes the click point was not ignoring siblings
that are not visible. As a result a blind user cannot interact with some
views.

bug:17632224

Change-Id: I93e637ee6702e4ba3e79faa736205430e2196d01

9 years agoMerge "Force layout and animation when display changes" into lmp-dev
Craig Mautner [Wed, 24 Sep 2014 01:43:01 +0000 (01:43 +0000)]
Merge "Force layout and animation when display changes" into lmp-dev

9 years agoMerge "AudioRecord: add HW hotword capture flag" into lmp-dev
Eric Laurent [Wed, 24 Sep 2014 01:39:33 +0000 (01:39 +0000)]
Merge "AudioRecord: add HW hotword capture flag" into lmp-dev

9 years agoForce layout and animation when display changes
Craig Mautner [Wed, 24 Sep 2014 01:37:49 +0000 (18:37 -0700)]
Force layout and animation when display changes

Each time that window manager gets a notification that a display has
been added, removed or changed, run a pass through
performLayoutAndPlaceSurfaces. This ensures that
WindowAnimator.animate() runs once so that the surfaces of remote
displays can be updated with their visibility.

Fixes bug 17533991.

Change-Id: If8745527df86c74da75fbe26b8a2a6fddeb74d2a

9 years agoFix issue #17632804: Add resource padding
Dianne Hackborn [Wed, 24 Sep 2014 01:32:39 +0000 (18:32 -0700)]
Fix issue #17632804: Add resource padding

Change-Id: If09108415fc4f64f4d4ff837a6096713a96aa334

9 years agoUse the right format to specify SUPL_MODE value.
Tsuwei Chen [Wed, 24 Sep 2014 01:29:37 +0000 (18:29 -0700)]
Use the right format to specify SUPL_MODE value.

Bug:17618140
Change-Id: I013219bb8febb4bb5c23d4896f432fd3a01c21f8

9 years agoMerge "Only stop/start clatd if necessary." into lmp-dev
Lorenzo Colitti [Wed, 24 Sep 2014 01:21:08 +0000 (01:21 +0000)]
Merge "Only stop/start clatd if necessary." into lmp-dev

9 years agoMerge "Block address families with routes, not NetworkAgent side channel" into lmp-dev
Lorenzo Colitti [Wed, 24 Sep 2014 01:21:04 +0000 (01:21 +0000)]
Merge "Block address families with routes, not NetworkAgent side channel" into lmp-dev

9 years agoMerge "Explicitly set Settings background to white" into lmp-dev
Alan Viverette [Wed, 24 Sep 2014 01:17:52 +0000 (01:17 +0000)]
Merge "Explicitly set Settings background to white" into lmp-dev

9 years agoExplicitly set Settings background to white
Alan Viverette [Wed, 24 Sep 2014 01:15:31 +0000 (18:15 -0700)]
Explicitly set Settings background to white

Fixes a regression where the background was previously the default
color, then changed to #eee even though we still want #fff here.

Removes unnecessary windowBackground re-definition.

BUG: 17520824
Change-Id: I9b3a751ce55fc018a90132078a8e308067f62445

9 years agoMerge "Work on issue #17628623: Need to update default preferred activities for YouTu...
Dianne Hackborn [Wed, 24 Sep 2014 01:00:02 +0000 (01:00 +0000)]
Merge "Work on issue #17628623: Need to update default preferred activities for YouTube" into lmp-dev