Fixing crash when swiping up using 3P Launcher

Change-Id: Ia181edc1a00136374b3f0d848beccf0c9acd7b5c
This commit is contained in:
Sunny Goyal
2020-03-12 12:29:33 -07:00
parent f85fcc792f
commit 4e82f5bc36
6 changed files with 20 additions and 25 deletions

View File

@@ -40,7 +40,6 @@ import android.widget.FrameLayout;
import com.android.launcher3.AbstractFloatingView;
import com.android.launcher3.InsettableFrameLayout;
import com.android.launcher3.Launcher;
import com.android.launcher3.Utilities;
import com.android.launcher3.util.MultiValueAlpha;
import com.android.launcher3.util.MultiValueAlpha.AlphaProperty;
@@ -115,6 +114,11 @@ public abstract class BaseDragLayer<T extends Context & ActivityContext>
mMultiValueAlpha = new MultiValueAlpha(this, alphaChannelCount);
}
/**
* Called to reinitialize touch controllers.
*/
public abstract void recreateControllers();
/**
* Same as {@link #isEventOverView(View, MotionEvent, View)} where evView == this drag layer.
*/