commit | 777c82d9b7f51ab41a3f9f2c87e95cc21b258088 | [log] [tgz] |
---|---|---|
author | Matt Pietal <mpietal@google.com> | Tue Jun 11 15:47:10 2019 -0400 |
committer | Matt Pietal <mpietal@google.com> | Tue Jun 11 15:50:54 2019 -0400 |
tree | 014daf250c1d307202d40ebdcf23cd9e5e481102 | |
parent | 13ee78763d31bf5642105364887ba30321b9373a [diff] |
GlobalScreenshot - Fix race condition It is possible for the call to system windows to occur slightly after the ChooserActivity gets launched, therefore preventing it from ever showing. Wait on the future before attempting to launch the activity. Bug: 134976976 Test: Screenshot, then share over and over Change-Id: Iba98a079412f8e35643f3a1db04e749b3c654637