commit | 1c69c5fcb898481cb0c6132e6b392fa0eddaf103 | [log] [tgz] |
---|---|---|
author | Shawn Willden <swillden@google.com> | Thu Jun 01 07:44:27 2017 -0600 |
committer | Shawn Willden <swillden@google.com> | Thu Jun 01 07:44:27 2017 -0600 |
tree | 570ac8418cd9cf36bb8d42a5bf253d6cbefd256b | |
parent | fcc61188827e1472965b36041c29b80cbe4079ba [diff] |
Check return from DeleteKey correctly. DeleteKey may legitimately return ErrorCode::UNIMPLEMENTED rather than ErrorCode::OK, but the VTS test didn't allow that in all cases. In many case the return code was also left unchecked. Test: adb shell/data/nativetest64/VtsHalKeymasterV3_0TargetTest/VtsHalKeymasterV3_0TargetTest Bug: 62193967 Change-Id: I19a90a87850675b0700baf7409e57098e0584d54