mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 01:46:49 +00:00
Disable default IME in all apps if DISABLE_INITIAL_IME_IN_ALLAPPS is on
Bug: 173447266 Test: manual Change-Id: Ib5c03b20cc7f09fdc2d066dd20fb7ccbb1e154f5
This commit is contained in:
@@ -261,7 +261,9 @@ public abstract class AbstractStateChangeTouchController
|
||||
mCanBlockFling = mFromState == NORMAL;
|
||||
mFlingBlockCheck.unblockFling();
|
||||
// Must be called after all the animation controllers have been paused
|
||||
if (FeatureFlags.ENABLE_DEVICE_SEARCH.get() && BuildCompat.isAtLeastR()
|
||||
if (FeatureFlags.ENABLE_DEVICE_SEARCH.get()
|
||||
&& !FeatureFlags.DISABLE_INITIAL_IME_IN_ALLAPPS.get()
|
||||
&& BuildCompat.isAtLeastR()
|
||||
&& (mToState == ALL_APPS || mToState == NORMAL)) {
|
||||
mLauncher.getAllAppsController().getInsetController().onDragStart(
|
||||
mFromState == NORMAL ? 1f : 0f);
|
||||
|
||||
Reference in New Issue
Block a user