Fix NPE reported on Play Store
This commit is contained in:
parent
04476a04ec
commit
6729295636
|
@ -344,7 +344,8 @@ public class RemoteFragment extends Fragment
|
|||
new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
eventServerConnection.sendPacket(packet);
|
||||
if (eventServerConnection != null)
|
||||
eventServerConnection.sendPacket(packet);
|
||||
}
|
||||
}, buttonInAnim, buttonOutAnim, getActivity().getApplicationContext()));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue