summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Miranda Kephart <mkephart@google.com> 2024-10-07 14:49:42 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2024-10-07 14:49:42 +0000
commit09a28a40513471f6c35c71bd7c1d7da46f720ea5 (patch)
tree951056c6679b23a8b1ccff1cd7b78561a55266a7
parentd483427cf7e6530d3dfceff743311e8706af8733 (diff)
parent2614f026f949a34cea6b4ac610bd6a1b6277ae10 (diff)
Merge "Reset screenshot timeout immediately" into main
-rw-r--r--packages/SystemUI/src/com/android/systemui/screenshot/ScreenshotController.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/screenshot/ScreenshotController.kt b/packages/SystemUI/src/com/android/systemui/screenshot/ScreenshotController.kt
index c7ada36f770c..a762d84700b6 100644
--- a/packages/SystemUI/src/com/android/systemui/screenshot/ScreenshotController.kt
+++ b/packages/SystemUI/src/com/android/systemui/screenshot/ScreenshotController.kt
@@ -170,6 +170,7 @@ internal constructor(
requestCallback: TakeScreenshotService.RequestCallback,
) {
Assert.isMainThread()
+ screenshotHandler.resetTimeout()
if (screenshot.type == TAKE_SCREENSHOT_FULLSCREEN && screenshot.bitmap == null) {
val bounds = fullScreenRect