diff options
| author | 2021-02-17 00:13:40 +0000 | |
|---|---|---|
| committer | 2021-02-17 00:13:40 +0000 | |
| commit | 18ac5c3216e7e0b45f99d0f2e7d43f2083daa918 (patch) | |
| tree | 6da470dd7584e10a2ef4c2ad1085c639edca8124 | |
| parent | c076189d6d05e3146a58037a11fc4f9abe5e0a74 (diff) | |
| parent | afc967daafe59a33fa8dc3f399f59aa961a4e0c6 (diff) | |
Merge "Fix runaway scroll capture" into sc-dev
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/screenshot/ScrollCaptureController.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/screenshot/ScrollCaptureController.java b/packages/SystemUI/src/com/android/systemui/screenshot/ScrollCaptureController.java index d97f644c5d23..ad5e637b189e 100644 --- a/packages/SystemUI/src/com/android/systemui/screenshot/ScrollCaptureController.java +++ b/packages/SystemUI/src/com/android/systemui/screenshot/ScrollCaptureController.java @@ -253,7 +253,7 @@ public class ScrollCaptureController implements OnComputeInternalInsetsListener && result.captured.height() < result.requested.height(); boolean finish = false; - if (partialResult) { + if (partialResult || emptyResult) { // Potentially reached a vertical boundary. Extend in the other direction. switch (mDirection) { case DOWN: |