forked from chromium/chromium
-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[M112] Fix tab is closed when back is performed on start surface
On start surface, getActivityTab still returns a valid tab. If the tab happens to be closable or navigatable, back press is consumed to close tab or navigate it back, rather than exiting app. This CL adds a check to make app exit if back press is performed on start surface. (cherry picked from commit 85d08a1) Bug: 1416719 Change-Id: I84d03ba11ebed34cea2bb7eeb0d01154a8785530 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4262319 Reviewed-by: Donn Denman <donnd@chromium.org> Reviewed-by: Xi Han <hanxi@chromium.org> Commit-Queue: Lijin Shen <lazzzis@google.com> Code-Coverage: Findit <findit-for-me@appspot.gserviceaccount.com> Reviewed-by: Theresa Sullivan <twellington@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#1109268} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4294386 Cr-Commit-Position: refs/branch-heads/5615@{#50} Cr-Branched-From: 9c6408e-refs/heads/main@{#1109224}
- Loading branch information
Lijin Shen
authored and
Chromium LUCI CQ
committed
Feb 28, 2023
1 parent
5ab109c
commit 0942a4e
Showing
2 changed files
with
42 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters