Skip to content
Commit 6a227526 authored by Philip P. Moltmann's avatar Philip P. Moltmann
Browse files

Add dumpsys and shell cmd for sensor_privacy

E.g.

> adb shell dumpsys sensor_privacy
SENSOR PRIVACY MANAGER STATE (dumpsys sensor_privacy)
{
  is_enabled=false
}

> adb shell cmd sensor_privacy enable microphone

> adb shell dumpsys sensor_privacy
SENSOR PRIVACY MANAGER STATE (dumpsys sensor_privacy)
{
  is_enabled=false
  individual_enabled_sensor={
    sensor=1
    is_enabled=true
  }
}

Bug: 162549680
Test: Above shell commands
Change-Id: I5700ff5b0aae4f64d3bf54b5c51d8ab2779e5abf
parent 41d80b9b
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