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

Skip to content
Commit bce04d71 authored by Brian Stack's avatar Brian Stack
Browse files

Improve Sensor Service's dumpsys when restricted

Update the sensor service dumpsys to include restricted as a possible
operating mode for individual Sensor Event Connections. Do not print
sensors as active if all Sensor Event Connections requesting the
sensor are restricted.

Bug: 129007172
Test: Verified sensors only requested by restricted connections are
      not displayed as active in 'dumpsys sensorservice'
Test: Verified sensors that are part of a white listed sensor
      connection are displayed in 'dumpsys sensorservice' when Sensor
      Service is in restricted mode.
Test: Verified sensor event connections that are not white listed are
      marked as RESTRICTED when sensor service is in restricted mode
      and return to NORMAL when sensor service is returned to normal
      mode.
Change-Id: I3b12d6f802dbaddf682fa76af7fda5f9c3e5e870
parent 3d694145
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