mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 19:38:21 +00:00
Merge "Fix return condition in getWorkspacePageTranslationProvider" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
d756203fa7
@@ -331,8 +331,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