Prevent crash

pull/177/head
M66B 5 years ago
parent 2165f062b2
commit db0fc6d49e

@ -4432,6 +4432,8 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
Context context = getContext();
if (context == null)
return false;
if (!getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.RESUMED))
return false;
boolean up = (event.getAction() == ACTION_UP);

Loading…
Cancel
Save