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
Loading
Please register or sign in to comment