Loading quickstep/src/com/android/launcher3/LauncherAppTransitionManagerImpl.java +3 −2 Original line number Diff line number Diff line Loading @@ -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. Loading quickstep/src/com/android/quickstep/OtherActivityTouchConsumer.java +1 −1 Original line number Diff line number Diff line Loading @@ -210,7 +210,7 @@ public class OtherActivityTouchConsumer extends ContextWrapper implements TouchC } private boolean isUsingScreenShot() { return Utilities.getPrefs(this).getBoolean("pref_use_screenshot_animation", true); return Utilities.getPrefs(this).getBoolean("pref_use_screenshot_for_swipe_up", false); } /** Loading res/values/config.xml +3 −0 Original line number Diff line number Diff line Loading @@ -101,6 +101,9 @@ <!-- Name of a subclass of com.android.launcher3.util.InstantAppResolver. Can be empty. --> <string name="instant_app_resolver_class" translatable="false"></string> <!-- Name of a main process initializer class. --> <string name="main_process_initializer_class" translatable="false"></string> <!-- Package name of the default wallpaper picker. --> <string name="wallpaper_picker_package" translatable="false"></string> Loading src/com/android/launcher3/Launcher.java +0 −4 Original line number Diff line number Diff line Loading @@ -294,10 +294,6 @@ public class Launcher extends BaseActivity } TraceHelper.beginSection("Launcher-onCreate"); if (mLauncherCallbacks != null) { mLauncherCallbacks.preOnCreate(); } WallpaperColorInfo wallpaperColorInfo = WallpaperColorInfo.getInstance(this); wallpaperColorInfo.setOnThemeChangeListener(this); overrideTheme(wallpaperColorInfo.isDark(), wallpaperColorInfo.supportsDarkText()); Loading src/com/android/launcher3/LauncherCallbacks.java +0 −1 Original line number Diff line number Diff line Loading @@ -37,7 +37,6 @@ public interface LauncherCallbacks { * Activity life-cycle methods. These methods are triggered after * the code in the corresponding Launcher method is executed. */ void preOnCreate(); void onCreate(Bundle savedInstanceState); void onResume(); void onStart(); Loading Loading
quickstep/src/com/android/launcher3/LauncherAppTransitionManagerImpl.java +3 −2 Original line number Diff line number Diff line Loading @@ -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. Loading
quickstep/src/com/android/quickstep/OtherActivityTouchConsumer.java +1 −1 Original line number Diff line number Diff line Loading @@ -210,7 +210,7 @@ public class OtherActivityTouchConsumer extends ContextWrapper implements TouchC } private boolean isUsingScreenShot() { return Utilities.getPrefs(this).getBoolean("pref_use_screenshot_animation", true); return Utilities.getPrefs(this).getBoolean("pref_use_screenshot_for_swipe_up", false); } /** Loading
res/values/config.xml +3 −0 Original line number Diff line number Diff line Loading @@ -101,6 +101,9 @@ <!-- Name of a subclass of com.android.launcher3.util.InstantAppResolver. Can be empty. --> <string name="instant_app_resolver_class" translatable="false"></string> <!-- Name of a main process initializer class. --> <string name="main_process_initializer_class" translatable="false"></string> <!-- Package name of the default wallpaper picker. --> <string name="wallpaper_picker_package" translatable="false"></string> Loading
src/com/android/launcher3/Launcher.java +0 −4 Original line number Diff line number Diff line Loading @@ -294,10 +294,6 @@ public class Launcher extends BaseActivity } TraceHelper.beginSection("Launcher-onCreate"); if (mLauncherCallbacks != null) { mLauncherCallbacks.preOnCreate(); } WallpaperColorInfo wallpaperColorInfo = WallpaperColorInfo.getInstance(this); wallpaperColorInfo.setOnThemeChangeListener(this); overrideTheme(wallpaperColorInfo.isDark(), wallpaperColorInfo.supportsDarkText()); Loading
src/com/android/launcher3/LauncherCallbacks.java +0 −1 Original line number Diff line number Diff line Loading @@ -37,7 +37,6 @@ public interface LauncherCallbacks { * Activity life-cycle methods. These methods are triggered after * the code in the corresponding Launcher method is executed. */ void preOnCreate(); void onCreate(Bundle savedInstanceState); void onResume(); void onStart(); Loading