summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorLeon Scroggins III <scroggo@google.com>2018-02-26 10:28:03 -0500
committerLeon Scroggins III <scroggo@google.com>2018-03-02 16:11:36 -0500
commitc9aa856559ca3b08c9409164b2f86c218c71505f (patch)
treea259a18afb69259207a20a52c45a17db3251b1f9 /tools/aapt2/java/JavaClassGenerator.cpp
parentb60ca84e23ea6ae0e8b05323f9a601963e20eaab (diff)
Make OnHeaderDecodedListener NonNull
Bug: 73788928 Test: No change in behavior; no new tests. There is already an overload for both decodeDrawable and decodeBitmap that allows not using an OnHeaderDecodedListener, so require calls to the method that includes a parameter for it to contain a non-null version. Throw an exception if OnHeaderDecodedListener is null. Move implementation to Impl methods to share code without lint warnings. Rename the non-static decodeBitmap to decodeBitmapInternal, to distinguish it from the others. Change-Id: I12c0a35786d8d1267044ac09b5c9203cdfb7175a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions