Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 57fe07cf authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Hide the Page size compat dialog when link in opened" into main

parents d0988a98 fdcf3db3
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -506,6 +506,10 @@ class AppWarnings {
            context =  new ContextThemeWrapper(context, context.getThemeResId()) {
                @Override
                public void startActivity(Intent intent) {
                    // PageSizeMismatch dialog stays on top of the browser even after opening link
                    // set broadcast to close the dialog when link has been clicked.
                    sendBroadcast(new Intent(Intent.ACTION_CLOSE_SYSTEM_DIALOGS));

                    intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
                    super.startActivity(intent);
                }