OSDN Git Service

android-x86/frameworks-base.git
9 years agoConsolidated processing of package boardcasts in AM service.
Wale Ogunwale [Fri, 14 Nov 2014 21:35:10 +0000 (13:35 -0800)]
Consolidated processing of package boardcasts in AM service.

Bug: 18230409
Change-Id: Idc048eb6cfece792b1cdc651146fba965f874430

9 years agoMerge "Optimize setting padding and backgrounds for views" into lmp-mr1-dev
Adam Powell [Thu, 13 Nov 2014 18:12:52 +0000 (18:12 +0000)]
Merge "Optimize setting padding and backgrounds for views" into lmp-mr1-dev

9 years agoMerge "Use the suggested stream if it's currently active" into lmp-mr1-dev
RoboErik [Thu, 13 Nov 2014 17:55:05 +0000 (17:55 +0000)]
Merge "Use the suggested stream if it's currently active" into lmp-mr1-dev

9 years agoMerge "MTP: Update JNI for new packet getters" into lmp-mr1-dev
Mike Lockwood [Thu, 13 Nov 2014 17:52:00 +0000 (17:52 +0000)]
Merge "MTP: Update JNI for new packet getters" into lmp-mr1-dev

9 years agoMTP: Update JNI for new packet getters
Mike Lockwood [Thu, 13 Nov 2014 17:40:42 +0000 (09:40 -0800)]
MTP: Update JNI for new packet getters

Bug:18113092
Change-Id: I5d7473af1b57235fbc078c297a309e4a301c9fbd

9 years agoMerge "Fix doze jank by removing a fullscreen layer of overdraw" into lmp-mr1-dev
Jorim Jaggi [Thu, 13 Nov 2014 17:02:16 +0000 (17:02 +0000)]
Merge "Fix doze jank by removing a fullscreen layer of overdraw" into lmp-mr1-dev

9 years agoFix doze jank by removing a fullscreen layer of overdraw
Jorim Jaggi [Tue, 11 Nov 2014 21:51:10 +0000 (22:51 +0100)]
Fix doze jank by removing a fullscreen layer of overdraw

Move all doze related stuff into DozeScrimController, and combine
both alpha values from the regular ScrimController and
DozeScrimController before applying it to a view. Move the black
background from NotificationPanelView to DozeScrimController, which
saves a fullscreen layer of overdraw during the transition.

Bug: 18238168
Change-Id: Ifb133bf4a0f8255f5c2f5e205509af339cac8c8f

9 years agoMerge "Fix wrong states when waking up from doze via touch" into lmp-mr1-dev
Jorim Jaggi [Thu, 13 Nov 2014 16:46:54 +0000 (16:46 +0000)]
Merge "Fix wrong states when waking up from doze via touch" into lmp-mr1-dev

9 years agoRevert "Debug for bug 18017409"
Craig Mautner [Thu, 13 Nov 2014 00:55:53 +0000 (00:55 +0000)]
Revert "Debug for bug 18017409"

The bug has been fixed. No longer needed.

This reverts commit 5a3c231dc832c205d2bb2f7f0881925b92c9e5e2.

Change-Id: I4a0dda5321f4eeb989c4c58951c43c8d62fd3664

9 years agoFix wrong states when waking up from doze via touch
Jorim Jaggi [Tue, 11 Nov 2014 22:16:28 +0000 (23:16 +0100)]
Fix wrong states when waking up from doze via touch

Bug: 18337222
Change-Id: I1cdc213a798ddac18b09accbbc31c59aa2a2d6fc

9 years agoMerge "Update current.txt with the new extra" into lmp-mr1-dev
Alexandra Gherghina [Thu, 13 Nov 2014 15:31:09 +0000 (15:31 +0000)]
Merge "Update current.txt with the new extra" into lmp-mr1-dev

9 years agoMerge "[WebView] Allow the WebView to be compiled against the system SDK." into lmp...
Ignacio Solla [Thu, 13 Nov 2014 15:03:43 +0000 (15:03 +0000)]
Merge "[WebView] Allow the WebView to be compiled against the system SDK." into lmp-mr1-dev

9 years agoUpdate current.txt with the new extra
Alexandra Gherghina [Thu, 13 Nov 2014 14:43:02 +0000 (14:43 +0000)]
Update current.txt with the new extra

Bug: 17716971
Change-Id: Ice82394c681665aff96724faa2e8056656d2b1ab

9 years agoMerge "Add extra for account migration in the DevicePolicyMamager" into lmp-mr1-dev
Alexandra Gherghina [Thu, 13 Nov 2014 13:59:32 +0000 (13:59 +0000)]
Merge "Add extra for account migration in the DevicePolicyMamager" into lmp-mr1-dev

9 years agoAdd extra for account migration in the DevicePolicyMamager
Alexandra Gherghina [Thu, 13 Nov 2014 12:46:15 +0000 (12:46 +0000)]
Add extra for account migration in the DevicePolicyMamager

This is in preparation for the implementation CL

Bug: 17716971
Change-Id: I3042b0781f48f3d9e84bfff899507b4b5ca156eb

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-mr1-dev
Geoff Mendal [Thu, 13 Nov 2014 09:43:50 +0000 (09:43 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev

9 years agoMerge "Add detailed javadoc for AssetManager.getLocales." into lmp-mr1-dev
Narayan Kamath [Thu, 13 Nov 2014 09:33:07 +0000 (09:33 +0000)]
Merge "Add detailed javadoc for AssetManager.getLocales." into lmp-mr1-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Thu, 13 Nov 2014 07:20:52 +0000 (23:20 -0800)]
Import translations. DO NOT MERGE

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

9 years agoMerge "Make Message.setAsynchronous() public." into lmp-mr1-dev
Jeff Brown [Thu, 13 Nov 2014 07:11:35 +0000 (07:11 +0000)]
Merge "Make Message.setAsynchronous() public." into lmp-mr1-dev

9 years agoMerge "Add telephony.DisconnectCause for merged IMS call." into lmp-mr1-dev
Andrew Lee [Thu, 13 Nov 2014 02:15:13 +0000 (02:15 +0000)]
Merge "Add telephony.DisconnectCause for merged IMS call." into lmp-mr1-dev

9 years agoMerge "Fix PhoneAccount parceling (1/2)" into lmp-mr1-dev
Yorke Lee [Thu, 13 Nov 2014 00:50:00 +0000 (00:50 +0000)]
Merge "Fix PhoneAccount parceling (1/2)" into lmp-mr1-dev

9 years agoMerge "Update enabe/disableCellBroadcast with RAN argument" into lmp-mr1-dev
xinhe [Thu, 13 Nov 2014 00:37:58 +0000 (00:37 +0000)]
Merge "Update enabe/disableCellBroadcast with RAN argument" into lmp-mr1-dev

9 years agoMerge "Fix ParceledListSlice to enforce the same concrete types among its elements...
Adam Lesinski [Thu, 13 Nov 2014 00:32:59 +0000 (00:32 +0000)]
Merge "Fix ParceledListSlice to enforce the same concrete types among its elements." into lmp-mr1-dev

9 years agoMerge "Add details and performance warnings to save flag docs" into lmp-mr1-dev
Chris Craik [Thu, 13 Nov 2014 00:05:56 +0000 (00:05 +0000)]
Merge "Add details and performance warnings to save flag docs" into lmp-mr1-dev

9 years agoMerge "Put native apps above browser in resolver activity." into lmp-mr1-dev
Dianne Hackborn [Thu, 13 Nov 2014 00:03:51 +0000 (00:03 +0000)]
Merge "Put native apps above browser in resolver activity." into lmp-mr1-dev

9 years agoUpdate enabe/disableCellBroadcast with RAN argument
xinhe [Fri, 7 Nov 2014 23:14:24 +0000 (15:14 -0800)]
Update enabe/disableCellBroadcast with RAN argument

Allow them to take an explicit argument indicating GSM or CDMA range and
fix the extreme alert disable error.

Bug: 18202935
Change-Id: Ibf12be65c60807834705e7cc9e94ec485ce6b60a

9 years agoAdd telephony.DisconnectCause for merged IMS call.
Andrew Lee [Wed, 12 Nov 2014 23:47:02 +0000 (15:47 -0800)]
Add telephony.DisconnectCause for merged IMS call.

When merged, IMS calls are consolidated into one call. Thus they
"disconnect", even though the user can continue to comminucate
with the party on that call.

We want to recognize this scenario so we can control relevant
behaviors (ie.don't play the "end call" tone in this case).

Bug: 18291234
Change-Id: I93247f88ed74467470504bec88fcfb7ed714f0ff

9 years agoam 5d7f91c7: am 40ac90e9: am 1b657d92: Fix the order of sample categories left nav.
Renato Mangini [Wed, 12 Nov 2014 23:47:14 +0000 (23:47 +0000)]
am 5d7f91c7: am 40ac90e9: am 1b657d92: Fix the order of sample categories left nav.

* commit '5d7f91c77605a5c444eaaae2b812280c57ca244c':
  Fix the order of sample categories left nav.

9 years agoam 2d28d697: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-sprout-dev
Geoff Mendal [Wed, 12 Nov 2014 23:41:57 +0000 (23:41 +0000)]
am 2d28d697: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-sprout-dev

* commit '2d28d697f6235c497237a11abb973b9109999e38':
  Import translations. DO NOT MERGE

9 years agoam 40ac90e9: am 1b657d92: Fix the order of sample categories left nav.
Renato Mangini [Wed, 12 Nov 2014 23:39:11 +0000 (23:39 +0000)]
am 40ac90e9: am 1b657d92: Fix the order of sample categories left nav.

* commit '40ac90e99da90956f26cf7f7bb4c205e28bbbc66':
  Fix the order of sample categories left nav.

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-sprout-dev
Geoff Mendal [Wed, 12 Nov 2014 23:37:55 +0000 (23:37 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-sprout-dev

9 years agoam 1b657d92: Fix the order of sample categories left nav.
Renato Mangini [Wed, 12 Nov 2014 23:33:47 +0000 (23:33 +0000)]
am 1b657d92: Fix the order of sample categories left nav.

* commit '1b657d924301d1caa132797f2ab397ba48429e6b':
  Fix the order of sample categories left nav.

9 years agoFix VoLTE configuration on secondary TMO MCC/MNC.
Etan Cohen [Tue, 11 Nov 2014 23:14:35 +0000 (15:14 -0800)]
Fix VoLTE configuration on secondary TMO MCC/MNC.

Added in ag/573693. But underlying mechanism changed in ag/573692 and
not adjusted.

Change-Id: I2e4784df38ba35aec477d657753974b7918b08b0

9 years agoMerge "Update GhostView properly when underlying view changes." into lmp-mr1-dev
George Mount [Wed, 12 Nov 2014 23:10:33 +0000 (23:10 +0000)]
Merge "Update GhostView properly when underlying view changes." into lmp-mr1-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 12 Nov 2014 23:01:37 +0000 (15:01 -0800)]
Import translations. DO NOT MERGE

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

9 years ago[WebView] Allow the WebView to be compiled against the system SDK.
Ignacio Solla [Mon, 10 Nov 2014 10:35:54 +0000 (10:35 +0000)]
[WebView] Allow the WebView to be compiled against the system SDK.

BUG:18152150
Change-Id: Ifd6dcac17663631058d895c61bb6e8018c5aeecc

9 years agoam 2e700004: am d68b87cd: Recover apps with malformed certificates.
Jeff Sharkey [Wed, 12 Nov 2014 22:24:24 +0000 (22:24 +0000)]
am 2e700004: am d68b87cd: Recover apps with malformed certificates.

* commit '2e7000040e3d836bb591e29515974817afc49488':
  Recover apps with malformed certificates.

9 years agoam d68b87cd: Recover apps with malformed certificates.
Jeff Sharkey [Wed, 12 Nov 2014 22:20:46 +0000 (22:20 +0000)]
am d68b87cd: Recover apps with malformed certificates.

* commit 'd68b87cdd402d46013170d9316a31c82be4e4816':
  Recover apps with malformed certificates.

9 years agoMerge "Don't propagate AnimatedStateListDrawable state change to super()" into lmp...
Alan Viverette [Wed, 12 Nov 2014 22:19:04 +0000 (22:19 +0000)]
Merge "Don't propagate AnimatedStateListDrawable state change to super()" into lmp-mr1-dev

9 years agoMerge "Fix getChildVisibleRect to clip correctly." into lmp-mr1-dev
George Mount [Wed, 12 Nov 2014 22:11:36 +0000 (22:11 +0000)]
Merge "Fix getChildVisibleRect to clip correctly." into lmp-mr1-dev

9 years agoFix the order of sample categories left nav.
Renato Mangini [Wed, 12 Nov 2014 22:07:48 +0000 (14:07 -0800)]
Fix the order of sample categories left nav.

Bug: 18323953
Change-Id: Iea882fed74428d092c02e3cfcf2171c4c596b8a8

9 years agoMerge "Fix docs build breakage" into lmp-mr1-dev
Ignacio Solla [Wed, 12 Nov 2014 21:58:41 +0000 (21:58 +0000)]
Merge "Fix docs build breakage" into lmp-mr1-dev

9 years agoAdd reporting of Parcel memory/count.
Dianne Hackborn [Tue, 11 Nov 2014 20:22:36 +0000 (12:22 -0800)]
Add reporting of Parcel memory/count.

Also fix issue #18340771: Dumpsys Procstats missing a newline

Change-Id: I0c612187a3fb4d7eeafbf97d373efdef732c477e

9 years agoFix docs build breakage
Ignacio Solla [Wed, 12 Nov 2014 21:55:47 +0000 (21:55 +0000)]
Fix docs build breakage

Change-Id: Id20a54d8da2b80f277e31c342fffbb3b7d0dc854

9 years agoMerge "Add a way to override Xfermode DO NOT MERGE" into lmp-mr1-dev
Rob Tsuk [Wed, 12 Nov 2014 21:41:58 +0000 (21:41 +0000)]
Merge "Add a way to override Xfermode DO NOT MERGE" into lmp-mr1-dev

9 years agoMerge "[WebView] Interface to access hidden APIs." into lmp-mr1-dev
Ignacio Solla [Wed, 12 Nov 2014 21:17:05 +0000 (21:17 +0000)]
Merge "[WebView] Interface to access hidden APIs." into lmp-mr1-dev

9 years agoMerge "Shadow: Fix the crash in spot shadow" into lmp-mr1-dev
ztenghui [Wed, 12 Nov 2014 21:16:26 +0000 (21:16 +0000)]
Merge "Shadow: Fix the crash in spot shadow" into lmp-mr1-dev

9 years agoRecover apps with malformed certificates.
Jeff Sharkey [Wed, 12 Nov 2014 20:18:11 +0000 (12:18 -0800)]
Recover apps with malformed certificates.

There was a window of time in Lollipop where we persisted certificates
after they had passed through a decode/encode cycle.  The well-written
OpenSSL library was liberal when decoding (allowing slightly malformed
certs to be parsed), but then strict when encoding, giving us
different bytes for effectively the same certificate.

A related libcore change (0c990ab4a90b8a5492a67b2b728ac9a4a1ccfa1b)
now returns the original bytes verbatim, fixing both pre-Lollipop
installs and installs after that change.

This change recovers any apps that had been installed during the
window of time described above by doing a one-time check to see if
the certs are effectively equal.

Bug: 18228011
Change-Id: Ib82bd6db718d0490d7a26c9c1014b7c8457a7f2d

9 years agoShadow: Fix the crash in spot shadow
ztenghui [Wed, 12 Nov 2014 18:56:15 +0000 (10:56 -0800)]
Shadow: Fix the crash in spot shadow

Fix the crash from searching for closest umbra vertex by initialized the
starting index correctly.

Fix another potential crash related to ray intersection by introducing epsilon.

b/18315089

Change-Id: I9ac9a781a885701a8388714d44f79a1d905e5d33

9 years agoMerge "AVD: Requires all animator has stopped before start again." into lmp-mr1-dev
ztenghui [Wed, 12 Nov 2014 20:47:43 +0000 (20:47 +0000)]
Merge "AVD: Requires all animator has stopped before start again." into lmp-mr1-dev

9 years agoMerge "Fix default attributes in ScaleDrawable" into lmp-mr1-dev
Alan Viverette [Wed, 12 Nov 2014 20:33:29 +0000 (20:33 +0000)]
Merge "Fix default attributes in ScaleDrawable" into lmp-mr1-dev

9 years agoAdd a way to override Xfermode DO NOT MERGE
Rob Tsuk [Tue, 11 Nov 2014 23:44:13 +0000 (15:44 -0800)]
Add a way to override Xfermode DO NOT MERGE

Add a non-public API to Canvas/GLES20Canvas to provide a way to draw
the touch ripple animation without using a save layer.

Change-Id: I6e2095adffe515194f669fb75bb67abf813bd518

9 years agoMerge "audiosystem JNI: check env pointer before use." into lmp-mr1-dev
Eric Laurent [Wed, 12 Nov 2014 20:19:51 +0000 (20:19 +0000)]
Merge "audiosystem JNI: check env pointer before use." into lmp-mr1-dev

9 years agoMerge "Don't unload the sound model on stopRecognition" into lmp-mr1-dev
Sandeep Siddhartha [Wed, 12 Nov 2014 20:12:38 +0000 (20:12 +0000)]
Merge "Don't unload the sound model on stopRecognition" into lmp-mr1-dev

9 years agoaudiosystem JNI: check env pointer before use.
Eric Laurent [Wed, 12 Nov 2014 19:07:48 +0000 (11:07 -0800)]
audiosystem JNI: check env pointer before use.

Bug: 18332935.
Change-Id: I1ec820f0282833e13444ec05d50da3ce70d19d8d

9 years agoMerge "Frameworks/base: Right transform in DngCreator" into lmp-mr1-dev
Ruben Brunk [Wed, 12 Nov 2014 18:46:45 +0000 (18:46 +0000)]
Merge "Frameworks/base: Right transform in DngCreator" into lmp-mr1-dev

9 years agoOptimize setting padding and backgrounds for views
Adam Powell [Tue, 11 Nov 2014 01:47:37 +0000 (17:47 -0800)]
Optimize setting padding and backgrounds for views

Don't reset the entire chain of child views whenever we set our own
padding or background; clear our own bidi resolution bits only. This
prevents doing a lot of extra recursive work when changing properties
of a parent view that cannot affect children.

Bug 18159214

Change-Id: I94300402785c79c3199e768ad7b6d7027d8d5d5f

9 years agoFix default attributes in ScaleDrawable
Alan Viverette [Wed, 12 Nov 2014 18:24:40 +0000 (10:24 -0800)]
Fix default attributes in ScaleDrawable

Reverts default scales to correct value of -1, uses existing state
values when updating from typed array.

BUG: 18351309
Change-Id: I45d21fe017a7bea10e3cbda50f6db65d053aa2ec

9 years agoMerge "Fix build breakage from missing close brace." into lmp-mr1-dev
Wale Ogunwale [Wed, 12 Nov 2014 18:22:11 +0000 (18:22 +0000)]
Merge "Fix build breakage from missing close brace." into lmp-mr1-dev

9 years agoDon't unload the sound model on stopRecognition
Sandeep Siddhartha [Thu, 16 Oct 2014 23:17:11 +0000 (16:17 -0700)]
Don't unload the sound model on stopRecognition

This helps us in majority of the scenarios where the sound model doesn't
change across start/stop calls.

Bug: 17954633
Change-Id: Ibff817bb69bc69d2bb3a2603460fed596688b892

9 years agoam c6bd0155: am 8d88f19b: am f9c4f6b5: Merge "fix code type and mention api level...
smain@google.com [Wed, 12 Nov 2014 17:56:26 +0000 (17:56 +0000)]
am c6bd0155: am 8d88f19b: am f9c4f6b5: Merge "fix code type and mention api level 21 exception for bindService()" into lmp-docs

* commit 'c6bd0155a76842e39ea0bb75eca33e6e3804437c':
  fix code type and mention api level 21 exception for bindService()

9 years agoam ca011519: am a53b8bad: am 4b7b68d8: Add "notification" category for samples.
Renato Mangini [Wed, 12 Nov 2014 17:56:20 +0000 (17:56 +0000)]
am ca011519: am a53b8bad: am 4b7b68d8: Add "notification" category for samples.

* commit 'ca011519b61e2ae57dfe760547d7d073f7ec42f3':
  Add "notification" category for samples.

9 years agoam 8d88f19b: am f9c4f6b5: Merge "fix code type and mention api level 21 exception...
smain@google.com [Wed, 12 Nov 2014 17:52:06 +0000 (17:52 +0000)]
am 8d88f19b: am f9c4f6b5: Merge "fix code type and mention api level 21 exception for bindService()" into lmp-docs

* commit '8d88f19bfe8ec0afb27593c0dea9b547d8c80b48':
  fix code type and mention api level 21 exception for bindService()

9 years agoam a53b8bad: am 4b7b68d8: Add "notification" category for samples.
Renato Mangini [Wed, 12 Nov 2014 17:52:02 +0000 (17:52 +0000)]
am a53b8bad: am 4b7b68d8: Add "notification" category for samples.

* commit 'a53b8badb994c3825140f68eba94888b3274c0b5':
  Add "notification" category for samples.

9 years agoFix build breakage from missing close brace.
Wale Ogunwale [Wed, 12 Nov 2014 17:46:10 +0000 (09:46 -0800)]
Fix build breakage from missing close brace.

Change-Id: Ib0e58844b8b208d255ff8d9409d0e7c53f27378f

9 years agoam f9c4f6b5: Merge "fix code type and mention api level 21 exception for bindService...
smain@google.com [Wed, 12 Nov 2014 17:44:52 +0000 (17:44 +0000)]
am f9c4f6b5: Merge "fix code type and mention api level 21 exception for bindService()" into lmp-docs

* commit 'f9c4f6b56e1392a411e2996a2bf372873ebf14da':
  fix code type and mention api level 21 exception for bindService()

9 years agoam 4b7b68d8: Add "notification" category for samples.
Renato Mangini [Wed, 12 Nov 2014 17:44:48 +0000 (17:44 +0000)]
am 4b7b68d8: Add "notification" category for samples.

* commit '4b7b68d824ee8bf184f6bfb05f75c74c129a9f8e':
  Add "notification" category for samples.

9 years agoMerge "fix code type and mention api level 21 exception for bindService()" into lmp...
smain@google.com [Wed, 12 Nov 2014 17:41:35 +0000 (17:41 +0000)]
Merge "fix code type and mention api level 21 exception for bindService()" into lmp-docs

9 years agofix code type and mention api level 21 exception for bindService()
smain@google.com [Wed, 12 Nov 2014 17:32:16 +0000 (09:32 -0800)]
fix code type and mention api level 21 exception for bindService()

Change-Id: I45460a1559960a32818e9cc88b1241b26f2f1f7d

9 years agoMerge "Ensure time picker dialog fits on small screens" into lmp-mr1-dev
Alan Viverette [Wed, 12 Nov 2014 17:32:30 +0000 (17:32 +0000)]
Merge "Ensure time picker dialog fits on small screens" into lmp-mr1-dev

9 years agoEnsure time picker dialog fits on small screens
Alan Viverette [Wed, 12 Nov 2014 17:31:22 +0000 (09:31 -0800)]
Ensure time picker dialog fits on small screens

Also fixes dialog padding in landscape mode and a bug in the
ColorStateList method used to apply a selected color.

BUG: 18251582
Change-Id: Id5b8c7893ec42fd4d5f4a7520e6ac170839d3143

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-mr1-dev
Geoff Mendal [Wed, 12 Nov 2014 17:07:09 +0000 (17:07 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 12 Nov 2014 16:55:50 +0000 (08:55 -0800)]
Import translations. DO NOT MERGE

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

9 years agoFixed constant window switching on lock screen with Swype KB.
Wale Ogunwale [Fri, 7 Nov 2014 20:13:02 +0000 (12:13 -0800)]
Fixed constant window switching on lock screen with Swype KB.

We allow TYPE_INPUT_METHOD windows to show on the lock screen.
These windows can attached other types of windows (For this
case the Swype KB was attaching a PopupWinow which will be
of TYPE_APPLICATION). This causes the popup window app token
to be added to the list of apps to be hidden on the lock
screen, thereby preventing the lock screen from been hidden,
which then causes a layout cycle(s). Now, we remove app
tokens for non-app windows from the hidden list in case it
was added by any attached widow they migth have.

Also, when we are updating window animations, set the
hideWhenLocked flag for windows that are IME tragets so
they don't go through unneeded cycles of having their
visibility policy set to hide/show/hide/show/...

Bug: 18021493
Change-Id: I3680256d41793f62def42fda00e26db1dcc990cc

9 years agoMerge "Solved notification overlay issue once and for all" into lmp-mr1-dev
Selim Cinek [Wed, 12 Nov 2014 16:27:26 +0000 (16:27 +0000)]
Merge "Solved notification overlay issue once and for all" into lmp-mr1-dev

9 years agoMerge "Improved the dismiss all animation" into lmp-mr1-dev
Selim Cinek [Wed, 12 Nov 2014 16:26:21 +0000 (16:26 +0000)]
Merge "Improved the dismiss all animation" into lmp-mr1-dev

9 years agoMerge "Fixed a bug where the clearable flag was set inconsistently" into lmp-mr1-dev
Selim Cinek [Wed, 12 Nov 2014 16:13:05 +0000 (16:13 +0000)]
Merge "Fixed a bug where the clearable flag was set inconsistently" into lmp-mr1-dev

9 years agoMerge "Added dissapear animation to pattern and pin input" into lmp-mr1-dev
Selim Cinek [Wed, 12 Nov 2014 16:12:11 +0000 (16:12 +0000)]
Merge "Added dissapear animation to pattern and pin input" into lmp-mr1-dev

9 years agoFix getChildVisibleRect to clip correctly.
George Mount [Tue, 11 Nov 2014 20:54:43 +0000 (12:54 -0800)]
Fix getChildVisibleRect to clip correctly.

Bug 18292516

getClipVisibleRect now takes into account clipChildren,
clipBounds, and clipToPadding.

Change-Id: I181cd68354e70767868e9edd56bf82a58357391d

9 years agoSolved notification overlay issue once and for all
Selim Cinek [Wed, 12 Nov 2014 15:58:16 +0000 (16:58 +0100)]
Solved notification overlay issue once and for all

But...
Once and for all!

Bug: 18314177
Change-Id: I484bea7d9f183d749fcdfba899d40292245f353d

9 years agoMerge "Improve lockscreen launch animations" into lmp-mr1-dev
Jorim Jaggi [Wed, 12 Nov 2014 15:48:16 +0000 (15:48 +0000)]
Merge "Improve lockscreen launch animations" into lmp-mr1-dev

9 years agoMerge "Correctly handle launch animations for affordances" into lmp-mr1-dev
Jorim Jaggi [Wed, 12 Nov 2014 15:47:51 +0000 (15:47 +0000)]
Merge "Correctly handle launch animations for affordances" into lmp-mr1-dev

9 years agoMerge "Fix lockscreen launch animations once and for all" into lmp-mr1-dev
Jorim Jaggi [Wed, 12 Nov 2014 15:47:35 +0000 (15:47 +0000)]
Merge "Fix lockscreen launch animations once and for all" into lmp-mr1-dev

9 years agoMerge "Remove unnecessary reflection lookup in Animators." into lmp-mr1-dev
George Mount [Wed, 12 Nov 2014 15:42:19 +0000 (15:42 +0000)]
Merge "Remove unnecessary reflection lookup in Animators." into lmp-mr1-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 12 Nov 2014 14:44:26 +0000 (06:44 -0800)]
Import translations. DO NOT MERGE

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

9 years agoImprove lockscreen launch animations
Jorim Jaggi [Tue, 11 Nov 2014 15:59:12 +0000 (16:59 +0100)]
Improve lockscreen launch animations

- Add a timeout so if WindowManager "forgets" to tell that the
activity has drawn, we still unlock after 3 seconds, so the user
is not completely stuck.

- Use the screen height instead of the window height for the
translation animation.

- Don't run the animation if the attached window is not null. The
animation from the attached window will influence the transformation
as well, so there is no need to run an additional animation in this
case (apps with SurfaceView's had broken unlock transitions because
of this).

- If the starting window needs to go away while the unlock transition
is running, modify the existing animation such that it fades out in
the same transition.

Bug: 15991916
Change-Id: Ia5dfa31e1bc0d5745fe228e1daf08e268733b6f1

9 years agoCorrectly handle launch animations for affordances
Jorim Jaggi [Mon, 10 Nov 2014 18:27:54 +0000 (19:27 +0100)]
Correctly handle launch animations for affordances

Bug: 15991916
Change-Id: I019d28b960bc74f3c0f05081bea4a303b16df204

9 years agoFix lockscreen launch animations once and for all
Jorim Jaggi [Fri, 7 Nov 2014 19:33:51 +0000 (20:33 +0100)]
Fix lockscreen launch animations once and for all

In SysUI, make sure not to dismiss Keyguard multiple times when just
waiting for a deferred dismissal, so WindowManager doesn't get
multiple calls to keyguardGoingAway.

Change heuristics how notifying Keyguard about activity drawn works.
Always notify Keyguard after executing an app transition, and notify
it also when not doing a transition after a startActivity call.

For that to work, update AppWindowToken.startingDisplayed also when
the window is displayed, but force hidden because of Keyguard.

Further, handle the case correctly when a window gets added during
the Keyguard exit animation by overriding the start time for the
animation of that new window. Also don't apply a transition animation
for a window when executing keyguard exit animation, so by removing
a starting window we don't break this animation.

Last but not least, tell Keyguard to start exiting immediately if
animations for exiting are disabled, like when going to phone/camera
on lockscreen. Before, we always had a delay of 1 second because we
waited for the timeout.

Bug: 1599196
Bug: 18272544
Change-Id: I596b2489f814b934abd256e16079d3d3f326e209

9 years agoAdded dissapear animation to pattern and pin input
Selim Cinek [Tue, 11 Nov 2014 12:41:02 +0000 (13:41 +0100)]
Added dissapear animation to pattern and pin input

Bug: 18232017
Change-Id: I062d55b0870ccaad6093b672f5076c3f80c10f94

9 years agoMerge "Remove unused local field." into lmp-mr1-dev
Narayan Kamath [Wed, 12 Nov 2014 13:30:15 +0000 (13:30 +0000)]
Merge "Remove unused local field." into lmp-mr1-dev

9 years agoAdd detailed javadoc for AssetManager.getLocales.
Narayan Kamath [Wed, 12 Nov 2014 13:28:20 +0000 (13:28 +0000)]
Add detailed javadoc for AssetManager.getLocales.

bug: 18218661
Change-Id: Idcbd8678b6dd1b28f993c4dab000e284db76edc0

9 years agoMerge "Tell installd when boot completes." into lmp-mr1-dev
Narayan Kamath [Wed, 12 Nov 2014 12:48:20 +0000 (12:48 +0000)]
Merge "Tell installd when boot completes." into lmp-mr1-dev

9 years agoObliterate LockPatternUtilsCache
Adrian Roos [Tue, 11 Nov 2014 12:51:07 +0000 (13:51 +0100)]
Obliterate LockPatternUtilsCache

It is disabled dead code already and not useful anymore
with the new caching in LockSettingsService.

Bug: 18163444
Change-Id: Icc184e923e0fbeab31ed128336c01f835b24c6f2

9 years agoProperly destroy TrustAgentWrapper when not bound
Adrian Roos [Tue, 11 Nov 2014 11:55:44 +0000 (12:55 +0100)]
Properly destroy TrustAgentWrapper when not bound

Also fixes a potential issue where refreshing agents
for a user that no longer exists would result in a crash.

Bug: 18318629
Change-Id: I3589ea7e0f2e63fca02daeecf3ca964a8a8e4b3b

9 years agoFrameworks/base: Right transform in DngCreator
Andreas Gampe [Tue, 11 Nov 2014 08:23:02 +0000 (00:23 -0800)]
Frameworks/base: Right transform in DngCreator

Use the right calibrationTransform.

Change-Id: Ibc633ff1e02d1e48a27ae2a72585d3de2222a2c1

9 years agoMake Message.setAsynchronous() public.
Jeff Brown [Wed, 12 Nov 2014 04:21:21 +0000 (20:21 -0800)]
Make Message.setAsynchronous() public.

There are many cases in real world applications where it is desirable
to continue processing messages on the Looper even when most other
messages have been suspended by a synchronization barrier pending
completion of the next drawing frame on vsync.

Internally the framework is able to mark certain messages as being
independent of these higher level synchronization invariants by
flagging them as asynchronous.

This change exposes the existing function and improves on the
documentation so that it is clearer what is meant by asynchronous.

Bug: 18283959
Change-Id: I775e4c95938123a364b21a9f2c39019bf37e1afd

9 years agoAdd "notification" category for samples.
Renato Mangini [Wed, 12 Nov 2014 03:51:53 +0000 (19:51 -0800)]
Add "notification" category for samples.

Bug: 18323953
Change-Id: Ifb78015604fd203baaf5f4c6496a86aa6c831227

9 years agoDon't propagate AnimatedStateListDrawable state change to super()
Alan Viverette [Wed, 12 Nov 2014 03:12:32 +0000 (19:12 -0800)]
Don't propagate AnimatedStateListDrawable state change to super()

Also updates child element inflation code in AnimationDrawable so
that color resources can be used in the <item> drawable attribute.

BUG: 18322272
Change-Id: I8d13643c5cbdb76d69634a7bac3cead9e9fba4e8

9 years agoFix PhoneAccount parceling (1/2)
Ihab Awad [Wed, 12 Nov 2014 02:41:39 +0000 (18:41 -0800)]
Fix PhoneAccount parceling (1/2)

Bug: 18343731
Change-Id: Ie69d33cec5e184f1b33d2b4225b8f3dc9ff50f82

9 years agoFix ParceledListSlice to enforce the same concrete types among its elements.
Adam Lesinski [Fri, 7 Nov 2014 19:26:14 +0000 (11:26 -0800)]
Fix ParceledListSlice to enforce the same concrete types among its elements.

Bug:17671747
Change-Id: I896f75738e5b464ccb6c03290f139cc2fa72f966