commit | 489d49d32512b51d717de714c64c8b903d431f5e | [log] [tgz] |
---|---|---|
author | Ryan Mitchell <rtmitchell@google.com> | Mon Jun 14 09:13:58 2021 -0700 |
committer | Ryan Mitchell <rtmitchell@google.com> | Mon Jun 14 09:22:23 2021 -0700 |
tree | 8e7fc05a951b560ea54eff064c08e16550a81bb5 | |
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