Adding a utility class to simplify main process initialization.
Change-Id: I796cf758d2a25cf8fd5f9a9b78a7977fd54ca451
This commit is contained in:
1 parent
a0693d6366
commit
66f2b35320
7 files changed
+49
-14
No files matched your search
@@ -595,8 +595,9 @@ public class LauncherAppTransitionManagerImpl extends LauncherAppTransitionManag
|
||||
Runnable finishedCallback) {
|
||||
Handler handler = mLauncher.getWindow().getDecorView().getHandler();
|
||||
postAtFrontOfQueueAsynchronously(handler, () -> {
|
||||
if ((Utilities.getPrefs(mLauncher).getBoolean("pref_use_screenshot_animation",
|
||||
true) && mLauncher.isInState(LauncherState.OVERVIEW))
|
||||
if ((Utilities.getPrefs(mLauncher)
|
||||
.getBoolean("pref_use_screenshot_for_swipe_up", false)
|
||||
&& mLauncher.isInState(LauncherState.OVERVIEW))
|
||||
|| !isLauncherInSetOfOpeningTargets(targets)) {
|
||||
// We use a separate transition for Overview mode. And we can skip the
|
||||
// animation in cases where Launcher is not in the set of opening targets.
|
||||
|
||||
Reference in new issue
Block a user