Update download progress for OBB files
This commit is contained in:
parent
1418a419ea
commit
238dff5c10
@ -202,7 +202,7 @@ public class InstallManagerService extends Service {
|
|||||||
|
|
||||||
int bytesRead = intent.getIntExtra(Downloader.EXTRA_BYTES_READ, 0);
|
int bytesRead = intent.getIntExtra(Downloader.EXTRA_BYTES_READ, 0);
|
||||||
int totalBytes = intent.getIntExtra(Downloader.EXTRA_TOTAL_BYTES, 0);
|
int totalBytes = intent.getIntExtra(Downloader.EXTRA_TOTAL_BYTES, 0);
|
||||||
// TODO - handle obb notifications?
|
appUpdateStatusManager.updateApkProgress(urlString, totalBytes, bytesRead);
|
||||||
} else if (Downloader.ACTION_COMPLETE.equals(action)) {
|
} else if (Downloader.ACTION_COMPLETE.equals(action)) {
|
||||||
localBroadcastManager.unregisterReceiver(this);
|
localBroadcastManager.unregisterReceiver(this);
|
||||||
File localFile = new File(intent.getStringExtra(Downloader.EXTRA_DOWNLOAD_PATH));
|
File localFile = new File(intent.getStringExtra(Downloader.EXTRA_DOWNLOAD_PATH));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user