Skip to content

Commit 06543cc

Browse files
pranavrajgopalpull[bot]
authored andcommitted
Remove unnecessary task cancellation in the InstallApkClient (#3051)
1 parent 3068de0 commit 06543cc

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

firebase-app-distribution/src/main/java/com/google/firebase/appdistribution/InstallApkClient.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,6 @@ void handleAppResume(Activity activity) {
6262
&& cachedInstallApkPath != null
6363
&& !cachedInstallApkPath.isEmpty()) {
6464
startInstallActivity(cachedInstallApkPath, activity);
65-
} else {
66-
safeSetTaskException(
67-
installTaskCompletionSource,
68-
new FirebaseAppDistributionException(
69-
Constants.ErrorMessages.APK_INSTALLATION_FAILED,
70-
FirebaseAppDistributionException.Status.INSTALLATION_FAILURE));
7165
}
7266
}
7367
}

0 commit comments

Comments
 (0)