Merge cherrypicks of ['googleplex-android-review.googlesource.com/27904180'] into 24Q3-release.

Change-Id: I8c3c2a6fe033e4c539522aab1e568ad27cc2e531
This commit is contained in:
Android Build Coastguard Worker
2024-06-21 23:34:05 +00:00

View File

@@ -35,7 +35,6 @@ import androidx.annotation.Nullable;
import androidx.annotation.UiThread;
import com.android.launcher3.DeviceProfile;
import com.android.launcher3.Flags;
import com.android.launcher3.Launcher;
import com.android.launcher3.LauncherAnimUtils;
import com.android.launcher3.LauncherInitListener;
@@ -213,10 +212,7 @@ public final class LauncherActivityInterface extends
if (launcher.isStarted() && (isInLiveTileMode() || launcher.hasBeenResumed())) {
return launcher;
}
if (Flags.useActivityOverlay()
&& SystemUiProxy.INSTANCE.get(launcher).getHomeVisibilityState().isHomeVisible()) {
return launcher;
}
return null;
}