mirror of https://github.com/M66B/NetGuard.git
Suppress toast
This commit is contained in:
parent
9bcd1e09ea
commit
9a2afa3b50
|
@ -72,7 +72,8 @@ public class DownloadTask extends AsyncTask<Object, Integer, Object> {
|
|||
wakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, getClass().getName());
|
||||
wakeLock.acquire();
|
||||
showNotification(0);
|
||||
Toast.makeText(context, context.getString(R.string.msg_downloading, url.toString()), Toast.LENGTH_SHORT).show();
|
||||
if (!Util.isPlayStoreInstall(context))
|
||||
Toast.makeText(context, context.getString(R.string.msg_downloading, url.toString()), Toast.LENGTH_SHORT).show();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue