Fix NPE in AppForegroundObserver.

fork-5.53.8
Greyson Parrelli 2021-02-11 00:01:06 -05:00
rodzic eb79300fe2
commit f50466f779
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -62,7 +62,7 @@ public final class AppForegroundObserver {
} }
public boolean isForegrounded() { public boolean isForegrounded() {
return isForegrounded; return isForegrounded != null && isForegrounded;
} }
@MainThread @MainThread