diff options
author | Leon Scroggins III <scroggo@google.com> | 2018-02-26 10:28:03 -0500 |
---|---|---|
committer | Leon Scroggins III <scroggo@google.com> | 2018-03-02 16:11:36 -0500 |
commit | c9aa856559ca3b08c9409164b2f86c218c71505f (patch) | |
tree | a259a18afb69259207a20a52c45a17db3251b1f9 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | b60ca84e23ea6ae0e8b05323f9a601963e20eaab (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_test.cpp')
0 files changed, 0 insertions, 0 deletions