/**
  * Retrieve the current minimum password length for all admins or a particular one.
  *
  * @param admin The name of the admin component to check, or null to aggregate all admins.
  */
 public int getPasswordMinimumLength(ComponentName admin) {
   if (mService != null) {
     try {
       return mService.getPasswordMinimumLength(admin);
     } catch (RemoteException e) {
       Log.w(TAG, "Failed talking with device policy service", e);
     }
   }
   return 0;
 }