Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 96383782 authored by George Mount's avatar George Mount
Browse files

Fix NPE in startup wizard caused by former change.

Bug 29211438

Change-Id: I0c979c945e79a6982d97013f961b00db3c9a9f00
parent 4dfa44c2
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -4271,7 +4271,8 @@ public class Activity extends ContextThemeWrapper
    private Bundle transferSpringboardActivityOptions(Bundle options) {
        if (options == null && (mWindow != null && !mWindow.isActive())) {
            final ActivityOptions activityOptions = getActivityOptions();
            if (activityOptions.getAnimationType() == ActivityOptions.ANIM_SCENE_TRANSITION) {
            if (activityOptions != null &&
                    activityOptions.getAnimationType() == ActivityOptions.ANIM_SCENE_TRANSITION) {
                return activityOptions.toBundle();
            }
        }