/** * *** 判断字符串中有没有英文 * * @param text * @return */ @Override protected void onDestroy() { super.onDestroy(); if (progress != null && !isFinishing()) { progress.dismiss(); } progress = null; playerMainLayout.setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT)); if (bgTempbm != null && !bgTempbm.isRecycled()) bgTempbm.recycle(); bgTempbm = null; }
public void run() { if (progress != null && !isFinishing()) { progress.dismiss(); } }