Notification.Action.Builder() constructor takes an Icon as input parameter, but I don't know how to produce an Icon? There seems to be no info on that. Old Builder constructor which takes a drawable Int is now deprecated.
public Builder(Icon icon, CharSequence title, PendingIntent intent) {
throw new RuntimeException("Stub!");
}