Fixing transition issues from AppsCustomize.
- Preventing weird space when hitting home while configuring - Workaround for issue with all workspace items disappearing when going out of AllApps (depends on 5052094 for proper fix) - Fixing isuse where any multi-finger tap on AppsCustomize would dismiss it Change-Id: Ibfa8607a66e81703bd78736b72fd7f021e5971d9
This commit is contained in:
@@ -40,12 +40,12 @@ import android.os.Process;
|
||||
import android.util.AttributeSet;
|
||||
import android.util.Log;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.MotionEvent;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.view.animation.AccelerateInterpolator;
|
||||
import android.widget.GridLayout;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.TextView;
|
||||
import android.widget.Toast;
|
||||
|
||||
import com.android.launcher.R;
|
||||
@@ -244,8 +244,12 @@ public class AppsCustomizePagedView extends PagedViewWithDraggableItems implemen
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onWallpaperTap(android.view.MotionEvent ev) {
|
||||
mLauncher.showWorkspace(true);
|
||||
protected void onWallpaperTap(MotionEvent ev) {
|
||||
int action = ev.getAction();
|
||||
if (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_DOWN) {
|
||||
// Dismiss AppsCustomize if we tap
|
||||
mLauncher.showWorkspace(true);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user