commit | e8a9c64ae8f72bc732ef9d73bd684df1c09e11b6 | [log] [tgz] |
---|---|---|
author | Miranda Kephart <mkephart@google.com> | Mon Aug 30 16:04:58 2021 +0000 |
committer | Miranda Kephart <mkephart@google.com> | Tue Aug 31 20:17:15 2021 +0000 |
tree | 5443669d2c22d8b5cec41b196a05b7f02b36e363 | |
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