Commit 95fdd3f7 by Googler Committed by Tofunmi Adigun-Hameed

Show the file path of the exported output video.

PiperOrigin-RevId: 535233266
(cherry picked from commit 02698a8a4c169546c17c20c8336a05470b957da7)
parent c28d8b5d
...@@ -660,7 +660,7 @@ public final class TransformerActivity extends AppCompatActivity { ...@@ -660,7 +660,7 @@ public final class TransformerActivity extends AppCompatActivity {
private void onCompleted(Uri inputUri, String filePath) { private void onCompleted(Uri inputUri, String filePath) {
exportStopwatch.stop(); exportStopwatch.stop();
informationTextView.setText( informationTextView.setText(
getString(R.string.export_completed, exportStopwatch.elapsed(TimeUnit.SECONDS))); getString(R.string.export_completed, exportStopwatch.elapsed(TimeUnit.SECONDS), filePath));
progressViewGroup.setVisibility(View.GONE); progressViewGroup.setVisibility(View.GONE);
debugFrame.removeAllViews(); debugFrame.removeAllViews();
inputCardView.setVisibility(View.VISIBLE); inputCardView.setVisibility(View.VISIBLE);
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
<string name="debug_preview_not_available" translatable="false">No debug preview available.</string> <string name="debug_preview_not_available" translatable="false">No debug preview available.</string>
<string name="export_started" translatable="false">Export started</string> <string name="export_started" translatable="false">Export started</string>
<string name="export_timer" translatable="false">Export started %d seconds ago.</string> <string name="export_timer" translatable="false">Export started %d seconds ago.</string>
<string name="export_completed" translatable="false">Export completed in %d seconds.</string> <string name="export_completed" translatable="false">Export completed in %d seconds.\nOutput: %s</string>
<string name="export_error" translatable="false">Export error</string> <string name="export_error" translatable="false">Export error</string>
<string name="trim_range">Bounds in seconds</string> <string name="trim_range">Bounds in seconds</string>
<string-array name="color_filter_options"> <string-array name="color_filter_options">
......
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