diff options
| author | 2019-09-13 13:31:21 -0700 | |
|---|---|---|
| committer | 2019-09-13 13:40:45 -0700 | |
| commit | cd6c54ac921592f8cbfcd0b71bc8c42311daa067 (patch) | |
| tree | 41c7becdbf4eec2478e9aa1ad599a49ebade9276 | |
| parent | 6262db5aa5d9764f44cb266a6658d33f09e3961b (diff) | |
Camera: audio restriction API doc update
Some more cleanup.
Test: make docs
Bug: 135676184
Change-Id: I133fb113f87a0cac6587214e6922d38f36607552
| -rw-r--r-- | core/java/android/hardware/camera2/CameraDevice.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/java/android/hardware/camera2/CameraDevice.java b/core/java/android/hardware/camera2/CameraDevice.java index 0714884e347c..94f5e09b6414 100644 --- a/core/java/android/hardware/camera2/CameraDevice.java +++ b/core/java/android/hardware/camera2/CameraDevice.java @@ -1249,7 +1249,9 @@ public abstract class CameraDevice implements AutoCloseable { * * <p>The mute mode is a system-wide setting. When multiple CameraDevice objects * are setting different modes, the system will pick a the mode that's union of - * all modes set by CameraDevice.</p> + * all modes set by CameraDevice. Applications can also use + * {@link #getCameraAudioRestriction} to query current system-wide camera + * mute mode in effect.</p> * * <p>The mute settings from this CameraDevice will be automatically removed when the * CameraDevice is closed or the application is disconnected from the camera.</p> @@ -1275,7 +1277,7 @@ public abstract class CameraDevice implements AutoCloseable { * <p>Application can use this method to retrieve the system-wide camera audio restriction * settings described in {@link #setCameraAudioRestriction}.</p> * - * @return The system-wide mute mode setting resulting from this call + * @return The current system-wide mute mode setting in effect * * @throws CameraAccessException if the camera device is no longer connected or has * encountered a fatal error |