diff options
author | Miranda Kephart <mkephart@google.com> | 2021-08-30 16:04:58 +0000 |
---|---|---|
committer | Miranda Kephart <mkephart@google.com> | 2021-08-31 20:17:15 +0000 |
commit | e8a9c64ae8f72bc732ef9d73bd684df1c09e11b6 (patch) | |
tree | 5443669d2c22d8b5cec41b196a05b7f02b36e363 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | df2554e6b89b4df167b0c0160e20598aad2cdac7 (diff) |
Fix race condition causing screenshot view to be added to window twice
In some cases, invoking multiple screenshots in quick succession causes
an error as the decor view is added to the window twice. This change
blocks attempting to attach the window between telling the window
manager to add the decor view and getting the callback that it has
been added.
Bug: 190249438
Fix: 190249438
Test: manual
Change-Id: I2bc3a1322651ab312e75bb9e9426909db368d84e
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions