commit | dd045bf3607fe6ab5881872c484241627731cc82 | [log] [tgz] |
---|---|---|
author | Yin-Chia Yeh <yinchiayeh@google.com> | Mon Aug 20 12:39:19 2018 -0700 |
committer | Yin-Chia Yeh <yinchiayeh@google.com> | Mon Aug 20 13:44:02 2018 -0700 |
tree | b2c474378cde252aa2098bc28ac2b7816332e84b | |
parent | c524813b806a64123d376d1afb4d21b09a6de453 [diff] [blame] |
Camera NDK: don't explicit delete ACameraMetadata To fix the warning in RefBase destructor. Test: NDK CTS tests, and ARCore measure app. Bug: 112775599 Change-Id: Ia448ac6d7e6c17699c16d287f65fc2826c9d7578
diff --git a/camera/ndk/impl/ACaptureRequest.h b/camera/ndk/impl/ACaptureRequest.h index 06b2cc3..b11dafb 100644 --- a/camera/ndk/impl/ACaptureRequest.h +++ b/camera/ndk/impl/ACaptureRequest.h
@@ -55,7 +55,7 @@ return ACAMERA_OK; } - ACameraMetadata* settings; + sp<ACameraMetadata> settings; ACameraOutputTargets* targets; void* context; };