diff options
author | Miranda Kephart <mkephart@google.com> | 2020-05-21 15:27:49 -0400 |
---|---|---|
committer | Miranda Kephart <mkephart@google.com> | 2020-05-26 15:59:15 -0400 |
commit | 3bf1ea36ee0f13a5c2b35d4b9b3a727b13da6cba (patch) | |
tree | 236bdf0d5028ff9e54b2f4da8e288566974b7a6c /rs/java/android/renderscript/RenderScriptCacheDir.java | |
parent | 12416fba4a9f98d697a6dfb27a7da6bc58dc570d (diff) |
Fix logging for successive screenshots
When two screenshots are taken in quick succession, we don't show
UI for the first one (but do still continue the task for saving
the screenshot in the background). However, the logging was done
as part of the UI flow, meaning that we currently don't log when
the first screenshot is saved.
This change fixes the logic flow so that we log success/failure of
the saving task in all cases, but only show UI for the last
successive screenshot.
Bug: 157244123
Fix: 157244123
Test: manual; tested that we don't see the log before the fix and
do after
Change-Id: I7646f4a3cb6cfd0f903472e101fb385cef58ddea
Diffstat (limited to 'rs/java/android/renderscript/RenderScriptCacheDir.java')
0 files changed, 0 insertions, 0 deletions