diff options
author | Leon Scroggins III <scroggo@google.com> | 2020-04-21 15:27:05 -0400 |
---|---|---|
committer | Leon Scroggins <scroggo@google.com> | 2020-05-06 14:28:12 +0000 |
commit | bea80a77251dfc9d09ca7076323447b162a1387d (patch) | |
tree | 41c8ba967b747c31f76afddfb0f53a1e098b213d /tools/aapt2/java/JavaClassGenerator_test.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions