toast context判断 禁止context.getString 操作
This commit is contained in:
@ -593,7 +593,7 @@ public class ChooseReceiverActivity extends BaseActivity implements View.OnClick
|
||||
// 连接失败-动画
|
||||
private void connFailedAnimView() {
|
||||
getSupportActionBar().show();
|
||||
Utils.toast(ChooseReceiverActivity.this, "连接失败");
|
||||
toast("连接失败");
|
||||
if (mScaleAnimation != null) {
|
||||
mScaleAnimation.cancel();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user