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

Commit 310e4c80 authored by Jon Miranda's avatar Jon Miranda
Browse files

Fix NPE when activity launch options are created before taskbaer init

Change-Id: Ibb8cf96ad4e528754aeb98ff0a702af2412e1052
Test: init
Fixes: 355231499
Flag: com.android.launcher3.enable_scaling_reveal_home_animation
parent 0ffb2d55
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -272,6 +272,10 @@ public class LauncherTaskbarUIController extends TaskbarUIController {
     * app launch animation.
     */
    public void setIgnoreInAppFlagForSync(boolean enabled) {
        if (mControllers == null) {
            // This method can be called before init() is called.
            return;
        }
        mControllers.taskbarStashController.updateStateForFlag(FLAG_IGNORE_IN_APP, enabled);
    }