-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix crash for Modal not attached to window manager (2) (#46764)
Summary: Pull Request resolved: #46764 This is a patched fix to earlier attempt (D63700769) and resolving crash due to`java.lang.IllegalArgumentException: View=DecorView@b9f88af[AdsManagerActivity] not attached to window manager`. - removing ` !dialogWindow.isActive` check as it is always true resulting in always doing early return causing other bugs - adding try/ catch instead so the code can still run but can catch the known exception without crashing Changelog: [Android][Fixed] - Fix crash for Modal not attached to window manager Reviewed By: mdvacca Differential Revision: D63712422 fbshipit-source-id: 85fb6df340eb1139f954c92b5f1daf0dc41671d2
- Loading branch information
1 parent
eb04be8
commit 73ce198
Showing
1 changed file
with
26 additions
and
16 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