diff options
author | Ryan Mitchell <rtmitchell@google.com> | 2021-06-14 09:13:58 -0700 |
---|---|---|
committer | Ryan Mitchell <rtmitchell@google.com> | 2021-06-14 09:22:23 -0700 |
commit | 489d49d32512b51d717de714c64c8b903d431f5e (patch) | |
tree | 8e7fc05a951b560ea54eff064c08e16550a81bb5 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 3b5e4d293679b0a90a5ff3cba431207af259c79b (diff) |
Fix NativeThemeRebase null abort
ReleasePrimitiveArrayCritical will fail if the java object being
released is null. The array may be null if `style_count` is 0.
Do not call ReleasePrimitiveArrayCritical on the array if it is null.
Bug: 190927589
Test: forest
Change-Id: I432668f71137908838ebc3a47d834c1da3c67777
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions