Skip to content

Commit 5ce8513

Browse files
HOTFIX - Fixed bug with DownloadCompleteReceiver being unable to start select intent
Was only an issue on API 28
1 parent 430201a commit 5ce8513

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/src/main/java/com/sakaimobile/development/sakaiclient20/ui/custom_components/DownloadCompleteReceiver.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ public void onReceive(Context context, Intent intent) {
9898
// and our app won't crash if it doesn't find a default app to open with).
9999
Intent openIntent = Intent.createChooser(selectViewerIntent,
100100
"Select an application to open this file:");
101+
openIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
101102
context.startActivity(openIntent);
102103
}
103104
}

0 commit comments

Comments
 (0)