Merge "Check null taskInfo for occlude transitions" into udc-dev am: 2d3194900d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23154320 Change-Id: I7a5d215d4cb1497389eb2d471260895e48004354 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -1025,7 +1025,8 @@ public class KeyguardViewMediator implements CoreStartable, Dumpable,
|
||||
}
|
||||
|
||||
final RemoteAnimationTarget primary = apps[0];
|
||||
final boolean isDream = (apps[0].taskInfo.topActivityType
|
||||
final boolean isDream = (apps[0].taskInfo != null
|
||||
&& apps[0].taskInfo.topActivityType
|
||||
== WindowConfiguration.ACTIVITY_TYPE_DREAM);
|
||||
if (!isDream) {
|
||||
Log.w(TAG, "The occluding app isn't Dream; "
|
||||
@@ -1125,7 +1126,8 @@ public class KeyguardViewMediator implements CoreStartable, Dumpable,
|
||||
}
|
||||
|
||||
final RemoteAnimationTarget primary = apps[0];
|
||||
final boolean isDream = (apps[0].taskInfo.topActivityType
|
||||
final boolean isDream = (apps[0].taskInfo != null
|
||||
&& apps[0].taskInfo.topActivityType
|
||||
== WindowConfiguration.ACTIVITY_TYPE_DREAM);
|
||||
|
||||
final SyncRtSurfaceTransactionApplier applier =
|
||||
|
||||
Reference in New Issue
Block a user