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

Skip to content
Commit 297df756 authored by Jayant Chowdhary's avatar Jayant Chowdhary
Browse files

cameraserver: remove assumption that status change callbacks must be called...


cameraserver: remove assumption that status change callbacks must be called from cameraserver process.

Some code in onDeviceStatusChanged, which is probably a remnant from
pre-treble days assumes
onDeviceStatusChanged callbacks can be made from only the cameraserver
process.
Post treble, this is not true since the cameraserver could receive a
cameraDeviceStatusChanged
callback from the camera HAL process (which could call
onDeviceStatusChanged).

Bug: 158252149

Test: Camera Application (validity)

Merged-In: Ic76ecf45b0c06dcb69d1b0758b7cd9047a0364ac
Change-Id: I76587e972940f78b6a84755d343d4cb60f4b474d

Signed-off-by: default avatarJayant Chowdhary <jchowdhary@google.com>
Change-Id: I29cea1efb44a73058eadaf653bf65addbbba6c4c
Signed-off-by: default avatarJayant Chowdhary <jchowdhary@google.com>
parent 064a1c38
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