summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeda Topoljanac <tneda@google.com>2018-08-09 10:53:41 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2018-08-09 10:53:41 +0000
commit6e0404d4cc534cf35a7445df1983b6afccdfec96 (patch)
tree1603e188c54b2a0ee03a240d1b4f641d02d4a0e1
parentcae6a9d8c429135df274733555d1f1bc79937a5d (diff)
parentf132c26a132f00d8507cf5fa147bdc37a5598eb8 (diff)
Merge "Modifing Javadoc for setStatusBarDisabled"
-rw-r--r--core/java/android/app/admin/DevicePolicyManager.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/java/android/app/admin/DevicePolicyManager.java b/core/java/android/app/admin/DevicePolicyManager.java
index cbd874176586..dfdb7eb22773 100644
--- a/core/java/android/app/admin/DevicePolicyManager.java
+++ b/core/java/android/app/admin/DevicePolicyManager.java
@@ -7722,6 +7722,9 @@ public class DevicePolicyManager {
* LockTask mode will be registered, but will only take effect when the device leaves LockTask
* mode.
*
+ * <p>This policy does not have any effect while on the lock screen, where the status bar will
+ * not be disabled. Using LockTask instead of this method is recommended.
+ *
* @param admin Which {@link DeviceAdminReceiver} this request is associated with.
* @param disabled {@code true} disables the status bar, {@code false} reenables it.
* @return {@code false} if attempting to disable the status bar failed. {@code true} otherwise.