commit | d6f6d01499d84d0186114262a5bd190aa09e99fa | [log] [tgz] |
---|---|---|
author | Michael Butler <butlermichael@google.com> | Thu Apr 21 16:40:09 2022 -0700 |
committer | Michael Butler <butlermichael@google.com> | Thu Apr 21 16:40:09 2022 -0700 |
tree | c1b8f7b5b71d75d2d612d1f4851086954e2e651f | |
parent | c5fc884ed67f23485d66452892bf534314e42fac [diff] |
Handle case where NN AIDL callback is null in IDevice::prepareModel* Prior to this change, if IDevice::prepareModel* was passed a null callback, the code would still attempt to call "notify" on the callback to return the error to the client. This CL ensures the "notify" method will not be invoked if the callback is null. Bug: N/A Test: mma Test: presubmit Change-Id: I4a15d02c4879a0261ec26cc0e7a47d0a4da86b8b