kopia lustrzana https://github.com/ryukoposting/Signal-Android
Fix NPE in AppForegroundObserver.
rodzic
eb79300fe2
commit
f50466f779
|
@ -62,7 +62,7 @@ public final class AppForegroundObserver {
|
|||
}
|
||||
|
||||
public boolean isForegrounded() {
|
||||
return isForegrounded;
|
||||
return isForegrounded != null && isForegrounded;
|
||||
}
|
||||
|
||||
@MainThread
|
||||
|
|
Ładowanie…
Reference in New Issue