Skip to content

Commit

Permalink
Add sourceForLogging to uploadMediaFromEditor
Browse files Browse the repository at this point in the history
This one has a hardcoded value since, as the name implies, it is called from a
few places but only from the Editor, which should be enough for the "source"
identification.
  • Loading branch information
Thomas Horta committed Dec 8, 2023
1 parent 7f00a84 commit 6d8ca46
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,7 @@ public static void uploadMediaFromEditor(Context context, @NonNull ArrayList<Med
Intent intent = new Intent(context, UploadService.class);
intent.putExtra(UploadService.KEY_MEDIA_LIST, mediaList);
intent.putExtra(UploadService.KEY_UPLOAD_MEDIA_FROM_EDITOR, true);
intent.putExtra(KEY_SOURCE_FOR_LOGGING, "UploadService#uploadMediaFromEditor");
context.startService(intent);
}

Expand Down

0 comments on commit 6d8ca46

Please sign in to comment.