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
This commit is contained in:
Andreas Gampe
2015-03-15 14:49:15 -07:00
parent 30fcd2aa8a
commit 1414a6291d

View File

@@ -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) {