Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1414a629 authored by Andreas Gampe's avatar Andreas Gampe
Browse files

Frameworks/base: Fix format string in Geofence

%p is not a valid conversion in format strings. It is also superfluous,
as it is already known that location is null.

Bug: 19797138
Change-Id: I5784e28b05b4ca9aac57e0fc9da4a7f01d9b3247
parent 30fcd2aa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -436,7 +436,7 @@ public final class GeofenceHardwareImpl {
            int monitoringType,
            int sourcesUsed) {
        if(location == null) {
            Log.e(TAG, String.format("Invalid Geofence Transition: location=%p", location));
            Log.e(TAG, String.format("Invalid Geofence Transition: location=null"));
            return;
        }
        if(DEBUG) {