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

Skip to content
Commit f1d48af0 authored by Vladimir Komsiyski's avatar Vladimir Komsiyski
Browse files

Device-aware native SensorManager.

Add device id to SensorManager instances based on the devices
this UID is present on. SensorManager queries the native VDM
instance for the deviceId and the sensor policy of that device.

If the UID is present only on a single virtual device and that
device has custom sensors, then give it that device's sensors by
default. If the UID is not on any virtual devices or is on more
than one, then give it the default device's sensors.

Fix: 303535376
Test: manual with streamed app using sensor NDK to a virtual device
Change-Id: I275a010a7a70b34176deaf4c9dcd61188c83ac32
parent c65ae65a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment