Update FCLApplication.java
This commit is contained in:
parent
fc65cad936
commit
bc901558ef
|
@ -73,7 +73,7 @@ public class FCLApplication extends Application implements Application.ActivityL
|
|||
|
||||
@Override
|
||||
public void onActivityDestroyed(@NonNull Activity activity) {
|
||||
if (currentActivity.get() == activity) {
|
||||
if (currentActivity != null && currentActivity.get() == activity) {
|
||||
currentActivity = null;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue