Android 9.0.0 release 58
-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCXwO7UgAKCRDorT+BmrEO
eFt+AJ0Uyn0xkpiiAcQezKDegNTpn3PzbQCfV0VQjfdwc+53fHjzuiy0StMz0Zo=
=utVL
-----END PGP SIGNATURE-----
RESTRICT AUTOMERGE: Camera: fix use after free in sensor timestamp

The metadata object might be overriden later and has it memory
re-allocated; hence snaping the sensor timestamp value before
we call into any method that might change the metadata.

Test: build
Bug: 150944913
Merged-In: I5b10b680e0cce96ca49e1772770adb4835545472
Change-Id: I5b10b680e0cce96ca49e1772770adb4835545472
(cherry picked from commit 1859a38c4d8f438eba9cb7b39be102747407fa36)
1 file changed