QCamera3: Restore camera parameters during sensor query

The sensor mode query currently clears the internal
'mParameters' before retrieving the internal sensor mode
information. This is fine in most cases however during
HFR the internal parameters are not sent on each request
call. The request is only set when we have enough buffers
to fill one batch. Clearing the internal parameters on
the very first request could impact some of the settings
sent to camera backend afterwards.
 To resolve this cache & restore the internal metadata
before retrieving the sensor mode information.

Bug: 112298729
Test: Camera CTS
Change-Id: I9445e1ae1fca889297385f4b7d3f2e76bf64bfeb
1 file changed
tree: 1d3ff8c3ce517290ba54a58653ed3301ea1711b4
  1. msm8998/
  2. Android.mk
  3. CleanSpec.mk