More robust getAverageRSSI
@@ -290,8 +290,11 @@ public class Beacon implements Parcelable, Serializable {
* @return double
*/
public double getRunningAverageRssi() {
+ if (mRunningAverageRssi != null){
return mRunningAverageRssi;
}
+ return mRssi;
+ }
/**
