登录增加进度弹窗,统一toast

This commit is contained in:
kehaoyuan
2017-10-12 17:57:40 +08:00
parent 930e0b92eb
commit dfe087e702
33 changed files with 116 additions and 107 deletions

View File

@ -8,7 +8,6 @@ import android.content.SharedPreferences;
import android.os.Looper;
import android.preference.PreferenceManager;
import android.util.Log;
import android.widget.Toast;
import com.gh.common.constant.Config;
import com.gh.common.util.DataCollectionUtils;
@ -16,6 +15,7 @@ import com.gh.gamecenter.SplashScreenActivity;
import com.lightgame.config.CommonDebug;
import com.lightgame.download.FileUtils;
import com.lightgame.utils.AppManager;
import com.lightgame.utils.Utils;
import com.tencent.stat.StatService;
import com.tendcloud.tenddata.TCAgent;
@ -42,7 +42,7 @@ public class AppUncaughtHandler implements UncaughtExceptionHandler {
@Override
public void run() {
Looper.prepare();
Toast.makeText(mContext.getApplicationContext(), "\"光环助手\"发生错误", Toast.LENGTH_LONG).show();
Utils.toastLong(mContext.getApplicationContext(), "\"光环助手\"发生错误");
Looper.loop();
}
});