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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user