commit | d1a3e7ff2c4ae9367773a07b35d743cafd032cd6 | [log] [tgz] |
---|---|---|
author | Anushree Ganjam <ganjam@google.com> | Fri Jun 17 01:22:27 2022 +0000 |
committer | Anushree Ganjam <ganjam@google.com> | Tue Jun 28 00:42:53 2022 +0000 |
tree | 10f9246d74a0630141407e14fcab2c2b8b174bd4 | |
parent | 6663ebba3e18847b6e3f6fbbfa7bc7f79c72b5ce [diff] |
Move bitmapSupplier.get() call to a worker thread. bitmapSupplier.get() is called twice which is unnecessary. Call bitmapSupplier.get() in the constructor instead. Bug: 232850298 Test: Manual. OverView - shareImageToTarget https://b.corp.google.com/issues/232850298#comment8 Screenshot share from Toast - https://b.corp.google.com/issues/232850298#comment7 Change-Id: I920f89b90fafcc0d51b1b948fd76fdc9aaee4c52