mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-05 18:36:49 +00:00
Merge "Check for null when calling getCreatedActivity which is marked as Nullable" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
8c158770d7
@@ -240,8 +240,11 @@ public class OverviewCommandHelper {
|
||||
interactionHandler.onGestureCancelled();
|
||||
cmd.removeListener(this);
|
||||
|
||||
RecentsView createdRecents =
|
||||
activityInterface.getCreatedActivity().getOverviewPanel();
|
||||
T createdActivity = activityInterface.getCreatedActivity();
|
||||
if (createdActivity == null) {
|
||||
return;
|
||||
}
|
||||
RecentsView createdRecents = createdActivity.getOverviewPanel();
|
||||
if (createdRecents != null) {
|
||||
createdRecents.onRecentsAnimationComplete();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user