Cleanup "Downloading..." icon if download fails
This commit is contained in:
parent
05f2a76bc4
commit
ddb94cc831
@ -967,6 +967,7 @@ public class AppDetails extends AppCompatActivity implements ProgressListener, A
|
|||||||
text = getString(R.string.details_notinstalled);
|
text = getString(R.string.details_notinstalled);
|
||||||
// this must be on the main UI thread
|
// this must be on the main UI thread
|
||||||
Toast.makeText(this, text, Toast.LENGTH_LONG).show();
|
Toast.makeText(this, text, Toast.LENGTH_LONG).show();
|
||||||
|
cleanUpFinishedDownload();
|
||||||
finished = true;
|
finished = true;
|
||||||
break;
|
break;
|
||||||
case ApkDownloader.EVENT_APK_DOWNLOAD_COMPLETE:
|
case ApkDownloader.EVENT_APK_DOWNLOAD_COMPLETE:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user