Merge "Block dismiss while recents is scrolling." into main
This commit is contained in:
commit
347e2cfe12
2 files changed
+12
No files matched your search
+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