Added null check for mListener in SkyHook.java
closes #66 Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
This commit is contained in:
@@ -298,6 +298,7 @@ public class SkyHook implements GeoPointLocationListener{
|
||||
|
||||
@Override
|
||||
public void onFirstFix(boolean firstFix) {
|
||||
mListener.onFirstFix(firstFix);
|
||||
if(mListener != null)
|
||||
mListener.onFirstFix(firstFix);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user