Skip to content
Commit b22a6023 authored by Winson's avatar Winson
Browse files

Null check signature array before comparison

SigningDetails.UNKNOWN is defined with a null array, so if any
package fails to scan signatures, this code would crash with an
NPE.

Instead of failing, just treat it as an empty signature array.

It's unclear what caused this to pop up now, as this code hasn't
changed in a long while.

Bug: 223469467

Test: presubmit

Change-Id: Icdcfaaa3586898873b719c74dd5662b03e3fabae
parent 4359c9d3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment