diff --git a/src/biz/bokhorst/xprivacy/XLocationManager.java b/src/biz/bokhorst/xprivacy/XLocationManager.java index 5c62660b0..44470cc0d 100644 --- a/src/biz/bokhorst/xprivacy/XLocationManager.java +++ b/src/biz/bokhorst/xprivacy/XLocationManager.java @@ -13,6 +13,7 @@ import android.location.Location; import android.os.Binder; import android.os.IInterface; +import android.util.Log; import android.location.GpsSatellite; import android.location.GpsStatus; import android.location.LocationListener; @@ -337,6 +338,7 @@ else if (param.args[arg] != null && param.thisObject != null) { // Use proxy synchronized (mMapProxy) { mMapProxy.put(key, proxy); + Util.log(this, Log.INFO, "proxyLocationListener uid=" + Binder.getCallingUid()); } param.args[arg] = proxy; } @@ -353,8 +355,10 @@ else if (param.args[arg] != null) { key = ((IInterface) key).asBinder(); synchronized (mMapProxy) { - if (mMapProxy.containsKey(key)) + if (mMapProxy.containsKey(key)) { param.args[arg] = mMapProxy.get(key); + Util.log(this, Log.INFO, "unproxyLocationListener uid=" + Binder.getCallingUid()); + } } } }