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

Commit de739c22 authored by Schneider Victor-tulias's avatar Schneider Victor-tulias Committed by Android (Google) Code Review
Browse files

Merge "Fix launcher crash on configuration changed" into main

parents d626cdd7 8b88177f
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@ package com.android.quickstep.fallback.window

import android.animation.AnimatorSet
import android.app.ActivityOptions
import android.content.ComponentName
import android.content.Context
import android.content.LocusId
import android.os.Bundle
@@ -276,6 +277,10 @@ class RecentsWindowManager(context: Context) :
        }
    }

    override fun getComponentName(): ComponentName {
        return ComponentName(this, RecentsWindowManager::class.java)
    }

    override fun canStartHomeSafely(): Boolean {
        val overviewCommandHelper = tisBindHelper.overviewCommandHelper
        return overviewCommandHelper == null || overviewCommandHelper.canStartHomeSafely()