diff options
| author | 2024-10-07 14:49:42 +0000 | |
|---|---|---|
| committer | 2024-10-07 14:49:42 +0000 | |
| commit | 09a28a40513471f6c35c71bd7c1d7da46f720ea5 (patch) | |
| tree | 951056c6679b23a8b1ccff1cd7b78561a55266a7 | |
| parent | d483427cf7e6530d3dfceff743311e8706af8733 (diff) | |
| parent | 2614f026f949a34cea6b4ac610bd6a1b6277ae10 (diff) | |
Merge "Reset screenshot timeout immediately" into main
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/screenshot/ScreenshotController.kt | 1 |
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 |