commit | bea80a77251dfc9d09ca7076323447b162a1387d | [log] [tgz] |
---|---|---|
author | Leon Scroggins III <scroggo@google.com> | Tue Apr 21 15:27:05 2020 -0400 |
committer | Leon Scroggins <scroggo@google.com> | Wed May 06 14:28:12 2020 +0000 |
tree | 41c8ba967b747c31f76afddfb0f53a1e098b213d | |
parent | c8d49effd583b1c6b052c39e52d71d226c029dd0 [diff] |
Make BitmapDrawable#setBitmap public Bug: 154628299 Test: I20d4f94a145474394bc660368d9ddd1897001f4a This allows displaying a new Bitmap without paying the cost of creation and GC of the BitmapDrawable. Non-SDK-API usage is low, but this is useful. Previously it was @hide and used by the system. Once BitmapDrawable is in a mainline module, the system can no longer access @hide methods. Change-Id: I6a24b3c5870b0ee7d171aab86257896261b4b8c7