Merge "Update documentation about the SensorPrivacyManager" into sc-dev

This commit is contained in:
TreeHugger Robot
2021-07-08 00:17:23 +00:00
committed by Android (Google) Code Review

View File

@@ -41,11 +41,7 @@ import java.lang.annotation.RetentionPolicy;
import java.util.concurrent.Executor; import java.util.concurrent.Executor;
/** /**
* This class provides access to the sensor privacy services; sensor privacy allows the * This class provides information about the microphone and camera toggles.
* user to disable access to all sensors on the device. This class provides methods to query the
* current state of sensor privacy as well as to register / unregister for notification when
* the sensor privacy state changes.
*
*/ */
@SystemService(Context.SENSOR_PRIVACY_SERVICE) @SystemService(Context.SENSOR_PRIVACY_SERVICE)
public final class SensorPrivacyManager { public final class SensorPrivacyManager {