private static NotificationCompatBase.Action getActionCompatFromAction( android.app.Notification.Action action, NotificationCompatBase.Action.Factory factory, RemoteInputCompatBase.RemoteInput.Factory factory1) { RemoteInputCompatBase.RemoteInput aremoteinput[] = RemoteInputCompatApi20.toCompat(action.getRemoteInputs(), factory1); return factory.build( action.icon, action.title, action.actionIntent, action.getExtras(), aremoteinput); }
private static NotificationCompatBase.Action getActionCompatFromAction( Notification.Action action, NotificationCompatBase.Action.Factory actionFactory, RemoteInputCompatBase.RemoteInput.Factory remoteInputFactory) { RemoteInputCompatBase.RemoteInput[] remoteInputs = RemoteInputCompatApi20.toCompat(action.getRemoteInputs(), remoteInputFactory); return actionFactory.build( action.icon, action.title, action.actionIntent, action.getExtras(), remoteInputs); }
private static NotificationCompatBase.Action getActionCompatFromAction( Notification.Action action, NotificationCompatBase.Action.Factory actionFactory, RemoteInputCompatBase.RemoteInput.Factory remoteInputFactory) { RemoteInputCompatBase.RemoteInput[] remoteInputs = RemoteInputCompatApi20.toCompat(action.getRemoteInputs(), remoteInputFactory); boolean allowGeneratedReplies = action.getExtras().getBoolean(NotificationCompatJellybean.EXTRA_ALLOW_GENERATED_REPLIES); return actionFactory.build( action.icon, action.title, action.actionIntent, action.getExtras(), remoteInputs, allowGeneratedReplies); }
private static NotificationCompatBase.Action getActionCompatFromAction( Notification.Action paramAction, NotificationCompatBase.Action.Factory paramFactory, RemoteInputCompatBase.RemoteInput.Factory paramFactory1) { RemoteInput[] arrayOfRemoteInput1 = paramAction.getRemoteInputs(); if (arrayOfRemoteInput1 == null) {} RemoteInputCompatBase.RemoteInput[] arrayOfRemoteInput; for (paramFactory1 = null; ; paramFactory1 = arrayOfRemoteInput) { return paramFactory.build(icon, title, actionIntent, paramAction.getExtras(), paramFactory1); arrayOfRemoteInput = paramFactory1.newArray(arrayOfRemoteInput1.length); int i = 0; while (i < arrayOfRemoteInput1.length) { RemoteInput localRemoteInput = arrayOfRemoteInput1[i]; arrayOfRemoteInput[i] = paramFactory1.build( localRemoteInput.getResultKey(), localRemoteInput.getLabel(), localRemoteInput.getChoices(), localRemoteInput.getAllowFreeFormInput(), localRemoteInput.getExtras()); i += 1; } } }