Commit fdf86661 by kimvde Committed by christosts

Undo unreleased changes from transforming-media.md

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
parent f440fea7
Showing with 2 additions and 2 deletions
......@@ -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);
}
};
......@@ -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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment