-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Android] [IncognitoReauth] Add check on activity type before accessing
start surface supplier. M103 merge, approved at crbug.com/1325331#c14 Currently, we are referencing the mStartSurfaceSupplier.get() to get the TabSwitcherCustomViewManager without checking the underlying activity type. The mStartSurfaceSupplier.get() can return null for activity type other than Tabbed type. This CL adds a check on activity type before referencing methods from start surface. (cherry picked from commit 3e22a2e) Bug: 1325331, 1227656 Change-Id: Iab33426c2bf69fd797a3a71bad5da69ed2cf4c11 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3647868 Commit-Queue: Rohit Agarwal <roagarwal@chromium.org> Reviewed-by: Matthew Jones <mdjones@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#1004818} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3669899 Auto-Submit: Rohit Agarwal <roagarwal@chromium.org> Reviewed-by: Theresa Sullivan <twellington@chromium.org> Cr-Commit-Position: refs/branch-heads/5060@{#308} Cr-Branched-From: b83393d-refs/heads/main@{#1002911}
- Loading branch information
Rohit Agarwal
authored and
Chromium LUCI CQ
committed
May 27, 2022
1 parent
79b5b25
commit 34757d8
Showing
2 changed files
with
45 additions
and
17 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