| commit | d166a88fb928f59093206f866c769623ad576a1a | [log] [tgz] |
|---|---|---|
| author | Branden Archer <brarcher@google.com> | Tue Nov 20 10:56:48 2018 -0800 |
| committer | Branden Archer <brarcher@google.com> | Wed Nov 21 13:45:58 2018 -0800 |
| tree | 9b50ad2eeb57f94cd52ae3a9aade26eb612d5ed0 | |
| parent | 7cb02e3c8e21188be72759a98a7cb220175bbec9 [diff] |
Check key store result with isOk() instead of casted value
The underlying value of the return code is not meaningful
in a check, instead isOk() should be used.
Bug: 119771891
Test: Built for walleye successfully, basic operations with
keystore_cli_v2 tool work correctly, new cts test
no longer finds a crash in keystore.
Change-Id: Id20612824677619cbbd0b2ba4a11b15fe5258ecb