summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenny Guy <kennyguy@google.com>2015-02-05 19:48:38 +0000
committerKenny Guy <kennyguy@google.com>2015-02-05 19:48:38 +0000
commit74a7024af08d8815ab3a76fe749216b58df88858 (patch)
treec57e7ffba7170b675724615998203e917dac90ce
parent8d12d3da15a92fde05256c51f8a3085ab9399c0f (diff)
downloadframeworks_base-74a7024af08d8815ab3a76fe749216b58df88858.zip
frameworks_base-74a7024af08d8815ab3a76fe749216b58df88858.tar.gz
frameworks_base-74a7024af08d8815ab3a76fe749216b58df88858.tar.bz2
Fix mangled javadoc for setPermittedInputMethods.
Fix java doc for setPermittedInputMethods. Bug: 19276777 Change-Id: Iecd670b35cd675ff9dd4654c9876697801eb20ac
-rw-r--r--core/java/android/app/admin/DevicePolicyManager.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/java/android/app/admin/DevicePolicyManager.java b/core/java/android/app/admin/DevicePolicyManager.java
index 1ed709b..cf06cb7 100644
--- a/core/java/android/app/admin/DevicePolicyManager.java
+++ b/core/java/android/app/admin/DevicePolicyManager.java
@@ -2933,9 +2933,9 @@ public class DevicePolicyManager {
*
* @param admin Which {@link DeviceAdminReceiver} this request is associated with.
* @param packageNames List of input method package names.
- * @return true if setting the restriction succeeded. It will fail if there is
- * one or more input method enabled, that are not in the list or user if the foreground
- * user.
+ * @return true if setting the restriction succeeded. It will fail if there are
+ * one or more non-system input methods currently enabled that are not in
+ * the packageNames list.
*/
public boolean setPermittedInputMethods(ComponentName admin, List<String> packageNames) {
if (mService != null) {