Merge "Fix taskbar education not touchable if taskbar is stashed" into sc-v2-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
14df808f4d
@@ -128,7 +128,7 @@ public class LauncherTaskbarUIController extends TaskbarUIController {
|
||||
|
||||
@Override
|
||||
protected boolean isTaskbarTouchable() {
|
||||
return !isAnimatingToLauncher() && !mControllers.taskbarStashController.isStashed();
|
||||
return !isAnimatingToLauncher();
|
||||
}
|
||||
|
||||
private boolean isAnimatingToLauncher() {
|
||||
|
||||
@@ -135,8 +135,9 @@ public class TaskbarDragLayerController {
|
||||
} else if (!mControllers.uiController.isTaskbarTouchable()) {
|
||||
// Let touches pass through us.
|
||||
insetsInfo.setTouchableInsets(TOUCHABLE_INSETS_REGION);
|
||||
} else if (mControllers.taskbarViewController.areIconsVisible()) {
|
||||
// Buttons are visible, take over the full taskbar area
|
||||
} else if (mControllers.taskbarViewController.areIconsVisible()
|
||||
|| AbstractFloatingView.getOpenView(mActivity, TYPE_ALL) != null) {
|
||||
// Taskbar has some touchable elements, take over the full taskbar area
|
||||
insetsInfo.setTouchableInsets(mActivity.isTaskbarWindowFullscreen()
|
||||
? TOUCHABLE_INSETS_FRAME : TOUCHABLE_INSETS_CONTENT);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user