Merge "Fix back button not touchable in SUW" into sc-v2-dev am: aa28886d7b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15717096 Change-Id: If3cda5eccbbde96cebccddaebeb9717a8b54a06a
This commit is contained in:
@@ -123,11 +123,9 @@ public class TaskbarDragLayerController {
|
||||
*/
|
||||
public void updateInsetsTouchability(InsetsInfo insetsInfo) {
|
||||
insetsInfo.touchableRegion.setEmpty();
|
||||
if (mActivity.isThreeButtonNav()) {
|
||||
// Always have nav buttons be touchable
|
||||
mControllers.navbarButtonsViewController.addVisibleButtonsRegion(
|
||||
mTaskbarDragLayer, insetsInfo.touchableRegion);
|
||||
}
|
||||
// Always have nav buttons be touchable
|
||||
mControllers.navbarButtonsViewController.addVisibleButtonsRegion(
|
||||
mTaskbarDragLayer, insetsInfo.touchableRegion);
|
||||
|
||||
if (mTaskbarDragLayer.getAlpha() < AlphaUpdateListener.ALPHA_CUTOFF_THRESHOLD) {
|
||||
// Let touches pass through us.
|
||||
|
||||
Reference in New Issue
Block a user