Merge "Block dismiss while recents is scrolling." into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
347e2cfe12
+6
@@ -92,6 +92,12 @@ CONTAINER : RecentsViewContainer {
|
||||
false
|
||||
}
|
||||
|
||||
// Do not allow dismiss while recents is scrolling.
|
||||
!recentsView.scroller.isFinished -> {
|
||||
debugLog(TAG, "Not intercepting touch, recents scrolling.")
|
||||
false
|
||||
}
|
||||
|
||||
else ->
|
||||
taskViewRecentsTouchContext.isRecentsInteractive.also { isRecentsInteractive ->
|
||||
if (!isRecentsInteractive) {
|
||||
|
||||
+6
@@ -93,6 +93,12 @@ CONTAINER : RecentsViewContainer {
|
||||
false
|
||||
}
|
||||
|
||||
// Do not allow launch while recents is scrolling.
|
||||
!recentsView.scroller.isFinished -> {
|
||||
debugLog(TAG, "Not intercepting touch, recents scrolling.")
|
||||
false
|
||||
}
|
||||
|
||||
else ->
|
||||
taskViewRecentsTouchContext.isRecentsInteractive.also { isRecentsInteractive ->
|
||||
if (!isRecentsInteractive) {
|
||||
|
||||
Reference in New Issue
Block a user