code: @TargetApi(Build.VERSION_CODES.FROYO)
      public static boolean hasMicrophoneFeature(PackageManager manager) {
          return manager.hasSystemFeature(PackageManager.FEATURE_MICROPHONE);
      }
docs: Checks if the device has a microphone.
  @param manager the package manager.
  @return {@code true} if the device has a microphone.