Suppress toast

This commit is contained in:
M66B 2023-09-26 15:36:36 +02:00
parent 9bcd1e09ea
commit 9a2afa3b50
1 changed files with 2 additions and 1 deletions

View File

@ -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