commit | 62a0c5bae9aab84e3a30ed95879ba90e7517cedd | [log] [tgz] |
---|---|---|
author | Brian Duddie <bduddie@google.com> | Thu Jun 20 18:05:22 2019 -0700 |
committer | android-build-merger <android-build-merger@google.com> | Thu Jun 20 18:05:22 2019 -0700 |
tree | b6e3550a2e8332583b6bef1bb05de946ac2794b0 | |
parent | 06ef2015ee1bd9ca4ac4d991baaa2605f524731b [diff] | |
parent | ccbcaaee457c63582142c84d0e779793d71905b1 [diff] |
Fix NPD in GrallocWrapper am: ccbcaaee45 Change-Id: Id9cc57ee5f9bfbabb64285671a23b6b9dbfc7b69
diff --git a/sensors/common/vts/utils/GrallocWrapper.cpp b/sensors/common/vts/utils/GrallocWrapper.cpp index 153c208..222ef96 100644 --- a/sensors/common/vts/utils/GrallocWrapper.cpp +++ b/sensors/common/vts/utils/GrallocWrapper.cpp
@@ -33,8 +33,7 @@ mMapper = mapper2::IMapper::getService(); if (mMapper == nullptr) { ALOGE("Failed to get mapper service"); - } - if (mMapper->isRemote()) { + } else if (mMapper->isRemote()) { ALOGE("Mapper is not in passthrough mode"); } }