Search in sources :

Example 1 with UpdateApkReadyListener

use of org.thoughtcrime.securesms.service.UpdateApkReadyListener in project Signal-Android by WhisperSystems.

the class UpdateApkJob method handleDownloadNotify.

private void handleDownloadNotify(long downloadId) {
    Intent intent = new Intent(DownloadManager.ACTION_DOWNLOAD_COMPLETE);
    intent.putExtra(DownloadManager.EXTRA_DOWNLOAD_ID, downloadId);
    new UpdateApkReadyListener().onReceive(context, intent);
}
Also used : Intent(android.content.Intent) UpdateApkReadyListener(org.thoughtcrime.securesms.service.UpdateApkReadyListener)

Example 2 with UpdateApkReadyListener

use of org.thoughtcrime.securesms.service.UpdateApkReadyListener in project Signal-Android by signalapp.

the class UpdateApkJob method handleDownloadNotify.

private void handleDownloadNotify(long downloadId) {
    Intent intent = new Intent(DownloadManager.ACTION_DOWNLOAD_COMPLETE);
    intent.putExtra(DownloadManager.EXTRA_DOWNLOAD_ID, downloadId);
    new UpdateApkReadyListener().onReceive(context, intent);
}
Also used : Intent(android.content.Intent) UpdateApkReadyListener(org.thoughtcrime.securesms.service.UpdateApkReadyListener)

Example 3 with UpdateApkReadyListener

use of org.thoughtcrime.securesms.service.UpdateApkReadyListener in project mollyim-android by mollyim.

the class UpdateApkJob method handleDownloadNotify.

private void handleDownloadNotify(long downloadId) {
    Intent intent = new Intent(DownloadManager.ACTION_DOWNLOAD_COMPLETE);
    intent.putExtra(DownloadManager.EXTRA_DOWNLOAD_ID, downloadId);
    new UpdateApkReadyListener().onReceive(context, intent);
}
Also used : Intent(android.content.Intent) UpdateApkReadyListener(org.thoughtcrime.securesms.service.UpdateApkReadyListener)

Aggregations

Intent (android.content.Intent)3 UpdateApkReadyListener (org.thoughtcrime.securesms.service.UpdateApkReadyListener)3