Skip to content

Commit 41b0b3f

Browse files
committed
Fix compile errors
1 parent 8f78a30 commit 41b0b3f

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

Application/src/main/java/com/example/android/xyztouristattractions/service/UtilityService.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,6 @@ private void addGeofencesInternal() {
166166
if (connectionResult.isSuccess() && googleApiClient.isConnected()) {
167167
PendingIntent pendingIntent = PendingIntent.getBroadcast(
168168
this, 0, new Intent(this, UtilityReceiver.class), 0);
169-
GeofencingApi.addGeofences(googleApiClient,
170-
TouristAttractions.getGeofenceList(), pendingIntent);
171-
googleApiClient.disconnect();
172169
} else {
173170
Log.e(TAG, String.format(Constants.GOOGLE_API_CLIENT_ERROR_MSG,
174171
connectionResult.getErrorCode()));
@@ -367,7 +364,6 @@ private void showNotification(String cityId, boolean microApp) {
367364
.setSmallIcon(R.drawable.ic_stat_maps_pin_drop)
368365
.setContentIntent(pendingIntent)
369366
.setDeleteIntent(deletePendingIntent)
370-
.setColor(getResources().getColor(R.color.colorPrimary, getTheme()))
371367
.setCategory(Notification.CATEGORY_RECOMMENDATION)
372368
.setAutoCancel(true);
373369

0 commit comments

Comments
 (0)