Skip to content

Commit

Permalink
bugfixe:NPE
Browse files Browse the repository at this point in the history
  • Loading branch information
kissonchan committed Apr 24, 2020
1 parent 1ada844 commit 45ceaca
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import android.content.Intent;

import com.google.android.play.core.splitinstall.SplitSessionStatusChanger;
import com.google.android.play.core.splitinstall.model.SplitInstallErrorCode;
import com.google.android.play.core.splitinstall.model.SplitInstallSessionStatus;
import com.iqiyi.android.qigsaw.core.splitload.SplitLoadManager;
import com.iqiyi.android.qigsaw.core.splitload.SplitLoadManagerService;
Expand All @@ -23,6 +24,10 @@ final class SplitLoadSessionTask implements Runnable, OnSplitLoadListener {

@Override
public void run() {
if (splitFileIntents == null) {
onFailed(SplitInstallErrorCode.INTERNAL_ERROR);
return;
}
//load installed splits
SplitLoadManager loadManager = SplitLoadManagerService.getInstance();
if (loadManager != null) {
Expand Down

0 comments on commit 45ceaca

Please sign in to comment.