mirror of
https://github.com/samsonjs/media.git
synced 2026-03-31 10:25:48 +00:00
Fix blank toast in Transformer Demo
PiperOrigin-RevId: 480847967
(cherry picked from commit 7e8f0f0918)
This commit is contained in:
parent
7a488a192b
commit
82e51d5669
1 changed files with 1 additions and 2 deletions
|
|
@ -460,8 +460,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…
Reference in a new issue