CameraMetadata: Add sanity check to avoid accidental memory corruption.
Update shouldn't be called with a pointer from the metadata structure being updated, since it might be resized. The API really needs rework, but until that happens, detect this condition and error out. Bug: 22542551 Change-Id: I896c34d8134ac3b101d050fc8aa5d203a08e7267
Loading
Please register or sign in to comment