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

Commit 48469b17 authored by Raj Yengisetty's avatar Raj Yengisetty
Browse files

SystemUI: check RecentsConfiguration isn't null before running

RecentsTaskLoader

Change-Id: I7f10ae4f6e346077a9c778332a9a8317a0f00062
parent f5cacbf1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -110,7 +110,7 @@ public class AlternateRecentsComponent implements ActivityOptions.OnAnimationSta
        /** Preloads the next task */
        public void run() {
            RecentsConfiguration config = RecentsConfiguration.getInstance();
            if (config.svelteLevel == RecentsConfiguration.SVELTE_NONE) {
            if (config != null && config.svelteLevel == RecentsConfiguration.SVELTE_NONE) {
                RecentsTaskLoader loader = RecentsTaskLoader.getInstance();
                SystemServicesProxy ssp = loader.getSystemServicesProxy();
                ActivityManager.RunningTaskInfo runningTaskInfo = ssp.getTopMostTask();