Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 25152e4e authored by Shuzhen Wang's avatar Shuzhen Wang
Browse files

Camera: Fix null pointer exception in CameraServiceProxyWrapper

Indexing into the mSessionStatsMap would insert a nullptr.
Check the count for a certain key instead.

In addition, call logStreamConfigured only when the reconfiguration
succeeds.

Test: Vendor test, Camera CTS
Bug: 287120330
Change-Id: I17d715865c9a58d3b79ab0a511a0f4968f0aa3f8
parent 20d86c24
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment