summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueue.cpp
diff options
context:
space:
mode:
author Vladimir Komsiyski <vladokom@google.com> 2023-10-06 10:11:44 +0200
committer Vladimir Komsiyski <vladokom@google.com> 2023-10-20 11:14:57 +0200
commitf1d48af0002a89aa933bdb732a19883f9ada5563 (patch)
treebaee07cc84e6892f88ee7d7c2f793ed9bf2d5171 /libs/gui/BufferQueue.cpp
parentc65ae65acc528b45d270548b488ca387afddda31 (diff)
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
Diffstat (limited to 'libs/gui/BufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions