diff options
author | 2016-01-07 17:55:57 +0000 | |
---|---|---|
committer | 2016-01-07 18:13:22 +0000 | |
commit | cc5061f73e8acde4e91b34187f41bdd131cf85ec (patch) | |
tree | b9235c33fa0841b8fd1ffa9fb314ccd7e86a3dda | |
parent | b96b0b6eac589c557eaabd85c9e018c64bab36c2 (diff) |
Lock screen customization message: documentation note
Specify in the javadocs the behavior when the message is formed
from whitespaces only. It is not obvious.
Bug: 26313904
Change-Id: I51d5722f090a0780a65f20395bee4fc40f9eb446
-rw-r--r-- | core/java/android/app/admin/DevicePolicyManager.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/java/android/app/admin/DevicePolicyManager.java b/core/java/android/app/admin/DevicePolicyManager.java index ab2b5087b223..08e9b1e897af 100644 --- a/core/java/android/app/admin/DevicePolicyManager.java +++ b/core/java/android/app/admin/DevicePolicyManager.java @@ -3065,6 +3065,8 @@ public class DevicePolicyManager { * * <p>If the device owner information is {@code null} or empty then the device owner info is * cleared and the user owner info is shown on the lock screen if it is set. + * <p>If the device owner information contains only whitespaces then the message on the lock + * screen will be blank and the user will not be allowed to change it. * * @param admin The name of the admin component to check. * @param info Device owner information which will be displayed instead of the user |