Loading packages/SystemUI/src/com/android/systemui/sensorprivacy/SensorUseStartedActivity.kt +6 −1 Original line number Diff line number Diff line Loading @@ -218,7 +218,12 @@ class SensorUseStartedActivity @Inject constructor( } private fun disableSensorPrivacy() { if (sensor == ALL_SENSORS) { sensorPrivacyController.setSensorBlocked(MICROPHONE, false) sensorPrivacyController.setSensorBlocked(CAMERA, false) } else { sensorPrivacyController.setSensorBlocked(sensor, false) } unsuppressImmediately = true setResult(RESULT_OK) } Loading Loading
packages/SystemUI/src/com/android/systemui/sensorprivacy/SensorUseStartedActivity.kt +6 −1 Original line number Diff line number Diff line Loading @@ -218,7 +218,12 @@ class SensorUseStartedActivity @Inject constructor( } private fun disableSensorPrivacy() { if (sensor == ALL_SENSORS) { sensorPrivacyController.setSensorBlocked(MICROPHONE, false) sensorPrivacyController.setSensorBlocked(CAMERA, false) } else { sensorPrivacyController.setSensorBlocked(sensor, false) } unsuppressImmediately = true setResult(RESULT_OK) } Loading