package com.jakewharton.notificationcompat2;

import android.app.Notification;

class NotificationCompatICS implements NotificationCompat2.NotificationCompatImpl {
    static Notification.Builder createBuilder(NotificationCompat2.Builder b) {
        Notification.Builder builder = NotificationCompatHC.createBuilder(b);
        if (b.mProgressSet) {
            builder.setProgress(b.mProgress, b.mProgressMax, b.mProgressIndeterminate);
        }
        return builder;
    }

    @Override
    public Notification build(NotificationCompat2.Builder builder) {
        return createBuilder(builder).getNotification();
    }
}

@@ -387,16 +387,19 @@
 Progress
+Max
 , b.mPro
@@ -395,35 +395,32 @@
 Max, b.mProgress
-Max
 , b.mProgressInd

Fix setProgress Parameters