summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Nicolas Prevot <nprevot@google.com> 2016-09-22 12:00:25 +0100
committer Nicolas Prevot <nprevot@google.com> 2016-09-23 16:05:07 +0100
commitaef3ce21dbde98568d6526bd054a1f22fc0d2c1c (patch)
tree9bdbbc63aed7143634fa1720faa97cb6a66846ce
parent5dab9e7a8be5c9a4a93320efbbfe2481c66abc1d (diff)
Mention that setMasterVolumeMuted has no effect when set on a managed profile.
BUG:27262893 Change-Id: Ibbcf4f222e47e9e0b723ec4b0335f100e904bca1
-rw-r--r--core/java/android/app/admin/DevicePolicyManager.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/java/android/app/admin/DevicePolicyManager.java b/core/java/android/app/admin/DevicePolicyManager.java
index 540678ebc684..a207a52841e1 100644
--- a/core/java/android/app/admin/DevicePolicyManager.java
+++ b/core/java/android/app/admin/DevicePolicyManager.java
@@ -5498,6 +5498,7 @@ public class DevicePolicyManager {
/**
* Called by profile or device owners to set the master volume mute on or off.
+ * This has no effect when set on a managed profile.
*
* @param admin Which {@link DeviceAdminReceiver} this request is associated with.
* @param on {@code true} to mute master volume, {@code false} to turn mute off.