mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-28 15:56:49 +00:00
Fix return condition in getWorkspacePageTranslationProvider am: c325c686c7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24308816 Change-Id: I0df5a0249578f949bab666c8f4bfb5484300636f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -386,8 +386,7 @@ public abstract class LauncherState implements BaseState<LauncherState> {
|
||||
* Gets the translation provider for workspace pages.
|
||||
*/
|
||||
public PageTranslationProvider getWorkspacePageTranslationProvider(Launcher launcher) {
|
||||
if (this != SPRING_LOADED
|
||||
|| this != EDIT_MODE
|
||||
if (!(this == SPRING_LOADED || this == EDIT_MODE)
|
||||
|| !launcher.getDeviceProfile().isTwoPanels) {
|
||||
return DEFAULT_PAGE_TRANSLATION_PROVIDER;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user