Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
onkar-rentomojo committed May 21, 2022
1 parent 59cada2 commit 8cc4065
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ protected void launchTwa() {
if (mTwaLauncher.getProviderPackage().equals("org.mozilla.firefox")) {
Intent browserIntent = new Intent(Intent.ACTION_VIEW, twaBuilder.getUri());
browserIntent.setFlags(Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS);
browserIntent.setDataAndType(uri, "text/html");
browserIntent.setDataAndType(twaBuilder.getUri(), "text/html");
browserIntent.addCategory(Intent.CATEGORY_BROWSABLE);
startActivity(browserIntent);
finish();
Expand Down

0 comments on commit 8cc4065

Please sign in to comment.