Skip to content

Commit

Permalink
Undo unreleased changes from transforming-media.md
Browse files Browse the repository at this point in the history
The "Transforming media" page has been updated with changes that won't
be part of the next release. Undo these changes so that this page is
consistent with the latest release.

PiperOrigin-RevId: 503917637
  • Loading branch information
kim-vde authored and christosts committed Jan 23, 2023
1 parent f440fea commit fdf8666
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/transforming-media.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Transformer.Listener transformerListener =
}
@Override
public void onTransformationError(MediaItem inputMediaItem, TransformationResult result, TransformationException exception) {
public void onTransformationError(MediaItem inputMediaItem, TransformationException exception) {
displayError(e);
}
};
Expand All @@ -96,7 +96,7 @@ mainHandler.post(
public void run() {
@ProgressState int progressState = transformer.getProgress(progressHolder);
updateProgressInUi(progressState, progressHolder);
if (progressState != PROGRESS_STATE_NOT_STARTED) {
if (progressState != PROGRESS_STATE_NO_TRANSFORMATION) {
mainHandler.postDelayed(/* r= */ this, /* delayMillis= */ 500);
}
}
Expand Down

0 comments on commit fdf8666

Please sign in to comment.