private static Notification.Action getActionFromActionCompat(
     NotificationCompatBase.Action actionCompat) {
   Notification.Action.Builder actionBuilder =
       new Notification.Action.Builder(
               actionCompat.getIcon(), actionCompat.getTitle(), actionCompat.getActionIntent())
           .addExtras(actionCompat.getExtras());
   RemoteInputCompatBase.RemoteInput[] remoteInputCompats = actionCompat.getRemoteInputs();
   if (remoteInputCompats != null) {
     RemoteInput[] remoteInputs = RemoteInputCompatApi20.fromCompat(remoteInputCompats);
     for (RemoteInput remoteInput : remoteInputs) {
       actionBuilder.addRemoteInput(remoteInput);
     }
   }
   return actionBuilder.build();
 }
 private static android.app.Notification.Action getActionFromActionCompat(
     NotificationCompatBase.Action action) {
   android.app.Notification.Action.Builder builder =
       (new android.app.Notification.Action.Builder(
               action.getIcon(), action.getTitle(), action.getActionIntent()))
           .addExtras(action.getExtras());
   RemoteInputCompatBase.RemoteInput aremoteinput[] = action.getRemoteInputs();
   if (aremoteinput != null) {
     android.app.RemoteInput aremoteinput1[] = RemoteInputCompatApi20.fromCompat(aremoteinput);
     int i = aremoteinput1.length;
     for (int j = 0; j < i; j++) {
       builder.addRemoteInput(aremoteinput1[j]);
     }
   }
   return builder.build();
 }
 @Override
 public void addAction(NotificationCompatBase.Action action) {
   Notification.Action.Builder actionBuilder =
       new Notification.Action.Builder(
           action.getIcon(), action.getTitle(), action.getActionIntent());
   if (action.getRemoteInputs() != null) {
     for (RemoteInput remoteInput :
         RemoteInputCompatApi20.fromCompat(action.getRemoteInputs())) {
       actionBuilder.addRemoteInput(remoteInput);
     }
   }
   if (action.getExtras() != null) {
     actionBuilder.addExtras(action.getExtras());
   }
   b.addAction(actionBuilder.build());
 }
 public void addAction(NotificationCompatBase.Action action) {
   android.app.Notification.Action.Builder builder =
       new android.app.Notification.Action.Builder(
           action.getIcon(), action.getTitle(), action.getActionIntent());
   if (action.getRemoteInputs() != null) {
     android.app.RemoteInput aremoteinput[] =
         RemoteInputCompatApi20.fromCompat(action.getRemoteInputs());
     int i = aremoteinput.length;
     for (int j = 0; j < i; j++) {
       builder.addRemoteInput(aremoteinput[j]);
     }
   }
   if (action.getExtras() != null) {
     builder.addExtras(action.getExtras());
   }
   b.addAction(builder.build());
 }
 private static Notification.Action getActionFromActionCompat(
     NotificationCompatBase.Action paramAction) {
   Notification.Action.Builder localBuilder =
       new Notification.Action.Builder(
               paramAction.getIcon(), paramAction.getTitle(), paramAction.getActionIntent())
           .addExtras(paramAction.getExtras());
   paramAction = paramAction.getRemoteInputs();
   if (paramAction != null) {
     paramAction = RemoteInputCompatApi20.fromCompat(paramAction);
     int j = paramAction.length;
     int i = 0;
     while (i < j) {
       localBuilder.addRemoteInput(paramAction[i]);
       i += 1;
     }
   }
   return localBuilder.build();
 }
 public static void addAction(
     Notification.Builder paramBuilder, NotificationCompatBase.Action paramAction) {
   Notification.Action.Builder localBuilder =
       new Notification.Action.Builder(
           paramAction.getIcon(), paramAction.getTitle(), paramAction.getActionIntent());
   if (paramAction.getRemoteInputs() != null) {
     RemoteInput[] arrayOfRemoteInput =
         RemoteInputCompatApi20.fromCompat(paramAction.getRemoteInputs());
     int j = arrayOfRemoteInput.length;
     int i = 0;
     while (i < j) {
       localBuilder.addRemoteInput(arrayOfRemoteInput[i]);
       i += 1;
     }
   }
   if (paramAction.getExtras() != null) {
     localBuilder.addExtras(paramAction.getExtras());
   }
   paramBuilder.addAction(localBuilder.build());
 }
 public static void addAction(Notification.Builder b, NotificationCompatBase.Action action) {
   Notification.Action.Builder actionBuilder =
       new Notification.Action.Builder(
           action.getIcon(), action.getTitle(), action.getActionIntent());
   if (action.getRemoteInputs() != null) {
     for (RemoteInput remoteInput : RemoteInputCompatApi20.fromCompat(action.getRemoteInputs())) {
       actionBuilder.addRemoteInput(remoteInput);
     }
   }
   Bundle actionExtras;
   if (action.getExtras() != null) {
     actionExtras = new Bundle(action.getExtras());
   } else {
     actionExtras = new Bundle();
   }
   actionExtras.putBoolean(
       NotificationCompatJellybean.EXTRA_ALLOW_GENERATED_REPLIES,
       action.getAllowGeneratedReplies());
   actionBuilder.addExtras(actionExtras);
   b.addAction(actionBuilder.build());
 }