[Xposed Framework Modules] Publiuss:
Hi

This cute module works AFAIK (i did not use gps so much)

But it gives me errors in Xposed logs:

I/Xposed ( 8396): de.robv.android.xposed.XposedHelpers$InvocationTargetError: java.lang.SecurityException: "gps" location provider requires ACCESS_FINE_LO
CATION permission.
I/Xposed ( 8396): at de.robv.android.xposed.XposedHelpers.callMethod(XposedHelpers.java:955)
I/Xposed ( 8396): at eun.xposed.gpsnotification.GPSNotification.handleGetSystemService(GPSNotification.java:419)
I/Xposed ( 8396): at eun.xposed.gpsnotification.GPSNotification.access$13(GPSNotification.java:411)
I/Xposed ( 8396): at eun.xposed.gpsnotification.GPSNotification$5.afterHookedMethod(GPSNotification.java:374)
I/Xposed ( 8396): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
I/Xposed ( 8396): at android.app.ContextImpl.getSystemService(Native Method)
I/Xposed ( 8396): at android.view.ContextThemeWrapper.getSystemService(ContextThemeWrapper.java:117)
I/Xposed ( 8396): at android.app.Activity.getSystemService(Activity.java:5342)
I/Xposed ( 8396): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
I/Xposed ( 8396): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
I/Xposed ( 8396): at android.app.Activity.getSystemService(Native Method)
I/Xposed ( 8396): at biz.bokhorst.xprivacy.fu.a(SourceFile:330)
I/Xposed ( 8396): at biz.bokhorst.xprivacy.fu.a(SourceFile:309)
I/Xposed ( 8396): at biz.bokhorst.xprivacy.ActivityMain.onCreate(SourceFile:247)
I/Xposed ( 8396): at android.app.Activity.performCreate(Activity.java:6092)
I/Xposed ( 8396): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
I/Xposed ( 8396): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2181)
I/Xposed ( 8396): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2283)
I/Xposed ( 8396): at android.app.ActivityThread.access$800(ActivityThread.java:144)
I/Xposed ( 8396): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1205)
I/Xposed ( 8396): at android.os.Handler.dispatchMessage(Handler.java:102)
I/Xposed ( 8396): at android.os.Looper.loop(Looper.java:136)
I/Xposed ( 8396): at android.app.ActivityThread.main(ActivityThread.java:5158)
I/Xposed ( 8396): at java.lang.reflect.Method.invokeNative(Native Method)
I/Xposed ( 8396): at java.lang.reflect.Method.invoke(Method.java:515)
I/Xposed ( 8396): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:732)
I/Xposed ( 8396): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
I/Xposed ( 8396): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
I/Xposed ( 8396): at dalvik.system.NativeStart.main(Native Method)
I/Xposed ( 8396): Caused by: java.lang.SecurityException: "gps" location provider requires ACCESS_FINE_LOCATION permission.
I/Xposed ( 8396): at android.os.Parcel.readException(Parcel.java:1465)
I/Xposed ( 8396): at android.os.Parcel.readException(Parcel.java:1419)
I/Xposed ( 8396): at android.location.ILocationManager$Stub$Proxy.addGpsStatusListener(ILocationManager.java:675)
I/Xposed ( 8396): at android.location.LocationManager.addGpsStatusListener(LocationManager.java:1493)
I/Xposed ( 8396): at java.lang.reflect.Method.invokeNative(Native Method)
I/Xposed ( 8396): at java.lang.reflect.Method.invoke(Method.java:515)
I/Xposed ( 8396): at de.robv.android.xposed.XposedHelpers.callMethod(XposedHelpers.java:947)
I/Xposed ( 8396): ... 28 more
I/Xposed ( 8396): de.robv.android.xposed.XposedHelpers$InvocationTargetError: java.lang.SecurityException: "gps" location provider requires ACCESS_FINE_LO
CATION permission.
I/Xposed ( 8396): at de.robv.android.xposed.XposedHelpers.callMethod(XposedHelpers.java:955)
I/Xposed ( 8396): at eun.xposed.gpsnotification.GPSNotification.handleGetSystemService(GPSNotification.java:419)
I/Xposed ( 8396): at eun.xposed.gpsnotification.GPSNotification.access$13(GPSNotification.java:411)
I/Xposed ( 8396): at eun.xposed.gpsnotification.GPSNotification$5.afterHookedMethod(GPSNotification.java:374)
I/Xposed ( 8396): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
I/Xposed ( 8396): at android.app.Activity.getSystemService(Native Method)
I/Xposed ( 8396): at biz.bokhorst.xprivacy.fu.a(SourceFile:330)
I/Xposed ( 8396): at biz.bokhorst.xprivacy.fu.a(SourceFile:309)
I/Xposed ( 8396): at biz.bokhorst.xprivacy.ActivityMain.onCreate(SourceFile:247)
I/Xposed ( 8396): at android.app.Activity.performCreate(Activity.java:6092)
I/Xposed ( 8396): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
I/Xposed ( 8396): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2181)
I/Xposed ( 8396): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2283)
I/Xposed ( 8396): at android.app.ActivityThread.access$800(ActivityThread.java:144)
I/Xposed ( 8396): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1205)
I/Xposed ( 8396): at android.os.Handler.dispatchMessage(Handler.java:102)
I/Xposed ( 8396): at android.os.Looper.loop(Looper.java:136)
I/Xposed ( 8396): at android.app.ActivityThread.main(ActivityThread.java:5158)
I/Xposed ( 8396): at java.lang.reflect.Method.invokeNative(Native Method)
I/Xposed ( 8396): at java.lang.reflect.Method.invoke(Method.java:515)
I/Xposed ( 8396): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:732)
I/Xposed ( 8396): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
I/Xposed ( 8396): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
I/Xposed ( 8396): at dalvik.system.NativeStart.main(Native Method)
I/Xposed ( 8396): Caused by: java.lang.SecurityException: "gps" location provider requires ACCESS_FINE_LOCATION permission.
I/Xposed ( 8396): at android.os.Parcel.readException(Parcel.java:1465)
I/Xposed ( 8396): at android.os.Parcel.readException(Parcel.java:1419)
I/Xposed ( 8396): at android.location.ILocationManager$Stub$Proxy.addGpsStatusListener(ILocationManager.java:675)
I/Xposed ( 8396): at android.location.LocationManager.addGpsStatusListener(LocationManager.java:1493)
I/Xposed ( 8396): at java.lang.reflect.Method.invokeNative(Native Method)
I/Xposed ( 8396): at java.lang.reflect.Method.invoke(Method.java:515)
I/Xposed ( 8396): at de.robv.android.xposed.XposedHelpers.callMethod(XposedHelpers.java:947)
I/Xposed ( 8396): ... 23 more

It's not due to Xprivacy (same errors with Xprivacy module disabled) and it's not restricted by Privacy Guard.

Device and Rom: SGS2+, Spirit Rom, Android 4.4.4