mirror of
https://github.com/androidx/media.git
synced 2025-05-07 07:30:22 +08:00
Fix blank toast in Transformer Demo
PiperOrigin-RevId: 480847967
This commit is contained in:
parent
8962f5a3f4
commit
446c9943f9
@ -461,8 +461,7 @@ public final class TransformerActivity extends AppCompatActivity {
|
||||
informationTextView.setText(R.string.transformation_error);
|
||||
progressViewGroup.setVisibility(View.GONE);
|
||||
debugFrame.removeAllViews();
|
||||
Toast.makeText(
|
||||
TransformerActivity.this, "Transformation error: " + exception, Toast.LENGTH_LONG)
|
||||
Toast.makeText(getApplicationContext(), "Transformation error: " + exception, Toast.LENGTH_LONG)
|
||||
.show();
|
||||
Log.e(TAG, "Transformation error", exception);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user