Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5802431b authored by Austin Tankiang's avatar Austin Tankiang Committed by Android (Google) Code Review
Browse files

Merge "Fix id extra field name in progress broadcasts" into main

parents e0a005b2 1d07d7d9
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -71,6 +71,7 @@ public class FileOperationService extends Service implements Job.Listener {

    public static final String ACTION_PROGRESS = "com.android.documentsui.action.PROGRESS";
    public static final String EXTRA_PROGRESS = "com.android.documentsui.PROGRESS";
    public static final String EXTRA_PROGRESS_ID = "com.android.documentsui.PROGRESS_ID";

    @IntDef({
            OPERATION_UNKNOWN,
@@ -629,7 +630,7 @@ public class FileOperationService extends Service implements Job.Listener {
            Intent intent = new Intent();
            intent.setPackage(getPackageName());
            intent.setAction(ACTION_PROGRESS);
            intent.putExtra("id", mLastId++);
            intent.putExtra(EXTRA_PROGRESS_ID, mLastId++);
            intent.putParcelableArrayListExtra(EXTRA_PROGRESS, progress);
            sendBroadcast(intent);
        }