OSDN Git Service

Fix mangled javadoc for setPermittedInputMethods.
authorKenny Guy <kennyguy@google.com>
Thu, 5 Feb 2015 19:48:38 +0000 (19:48 +0000)
committerKenny Guy <kennyguy@google.com>
Thu, 5 Feb 2015 19:48:38 +0000 (19:48 +0000)
Fix java doc for setPermittedInputMethods.

Bug: 19276777
Change-Id: Iecd670b35cd675ff9dd4654c9876697801eb20ac

core/java/android/app/admin/DevicePolicyManager.java

index 1ed709b..cf06cb7 100644 (file)
@@ -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) {