Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Fix NPE when platform plugin delegate is null #22852

Merged
merged 1 commit into from
Dec 3, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ private void setSystemChromeSystemUIOverlayStyle(
}

private void popSystemNavigator() {
if (platformPluginDelegate.popSystemNavigator()) {
if (platformPluginDelegate != null && platformPluginDelegate.popSystemNavigator()) {
// A custom behavior was executed by the delegate. Don't execute default behavior.
return;
}
Expand Down