diff options
author | Steven Moreland <smoreland@google.com> | 2017-01-03 17:01:27 -0800 |
---|---|---|
committer | Steven Moreland <smoreland@google.com> | 2017-01-03 17:05:26 -0800 |
commit | 813309326b7997f6981a46785fbd3da9c7fa99e5 (patch) | |
tree | 4696927a46b1ca3ddb34f14f3890d7b7340b1344 /gatekeeperd | |
parent | d004bc16455a461505faa8fcda7bc0d1fa4f8f1a (diff) | |
download | core-813309326b7997f6981a46785fbd3da9c7fa99e5.tar.gz core-813309326b7997f6981a46785fbd3da9c7fa99e5.tar.bz2 core-813309326b7997f6981a46785fbd3da9c7fa99e5.zip |
Return<*> getStatus().isOk() -> isOk()
Bug: 31348667
Test: compiles
Change-Id: I44d89e45c8bf8bcd7a47dff1f5cd4d454c95a079
Diffstat (limited to 'gatekeeperd')
-rw-r--r-- | gatekeeperd/gatekeeperd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gatekeeperd/gatekeeperd.cpp b/gatekeeperd/gatekeeperd.cpp index d2c119def..a10167f4e 100644 --- a/gatekeeperd/gatekeeperd.cpp +++ b/gatekeeperd/gatekeeperd.cpp @@ -184,7 +184,7 @@ public: ret = rsp.timeout; } }); - if (!hwRes.getStatus().isOk()) { + if (!hwRes.isOk()) { ALOGE("enroll transaction failed\n"); ret = -1; } @@ -267,7 +267,7 @@ public: ret = rsp.timeout; } }); - if (!hwRes.getStatus().isOk()) { + if (!hwRes.isOk()) { ALOGE("verify transaction failed\n"); ret = -1; } |