Cleanup "Downloading..." icon if download fails

This commit is contained in:
Daniel Martí 2015-08-10 14:56:33 -07:00
parent 05f2a76bc4
commit ddb94cc831

View File

@ -967,6 +967,7 @@ public class AppDetails extends AppCompatActivity implements ProgressListener, A
text = getString(R.string.details_notinstalled);
// this must be on the main UI thread
Toast.makeText(this, text, Toast.LENGTH_LONG).show();
cleanUpFinishedDownload();
finished = true;
break;
case ApkDownloader.EVENT_APK_DOWNLOAD_COMPLETE: