mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-18 18:28:20 +00:00
Decoupling some dragController methods
Change-Id: I7c4ab5f1504c49eaa0566afe643d7672faa80205
This commit is contained in:
@@ -43,7 +43,6 @@ import android.graphics.Point;
|
||||
import android.graphics.Rect;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.os.Handler;
|
||||
import android.os.IBinder;
|
||||
import android.os.Message;
|
||||
import android.os.Parcelable;
|
||||
import android.os.UserHandle;
|
||||
@@ -1224,10 +1223,8 @@ public class Workspace extends PagedView<WorkspacePageIndicator>
|
||||
|
||||
protected void onAttachedToWindow() {
|
||||
super.onAttachedToWindow();
|
||||
IBinder windowToken = getWindowToken();
|
||||
mWallpaperOffset.setWindowToken(windowToken);
|
||||
mWallpaperOffset.setWindowToken(getWindowToken());
|
||||
computeScroll();
|
||||
mDragController.setWindowToken(windowToken);
|
||||
}
|
||||
|
||||
protected void onDetachedFromWindow() {
|
||||
|
||||
Reference in New Issue
Block a user