Skip to content

Commit 20548f2

Browse files
committed
Bump versions
1 parent 6e93104 commit 20548f2

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

app/build.gradle

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ android {
2020

2121
dependencies {
2222
compile 'com.android.support:appcompat-v7:26.0.1'
23-
compile 'com.google.android.gms:play-services-maps:11.0.1'
24-
compile 'com.google.android.gms:play-services-location:11.0.1'
25-
compile 'com.github.hotchemi:permissionsdispatcher:2.4.0'
26-
annotationProcessor 'com.github.hotchemi:permissionsdispatcher-processor:2.4.0'
23+
compile 'com.google.android.gms:play-services-maps:11.4.2'
24+
compile 'com.google.android.gms:play-services-location:11.4.2'
25+
compile 'com.github.hotchemi:permissionsdispatcher:3.0.1'
26+
annotationProcessor 'com.github.hotchemi:permissionsdispatcher-processor:3.0.1'
2727
}

app/src/main/java/com/example/mapdemo/MapDemoActivity.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ protected void loadMap(GoogleMap googleMap) {
8585
if (map != null) {
8686
// Map is ready
8787
Toast.makeText(this, "Map Fragment was loaded properly!", Toast.LENGTH_SHORT).show();
88-
MapDemoActivityPermissionsDispatcher.getMyLocationWithCheck(this);
89-
MapDemoActivityPermissionsDispatcher.startLocationUpdatesWithCheck(this);
88+
MapDemoActivityPermissionsDispatcher.getMyLocationWithPermissionCheck(this);
89+
MapDemoActivityPermissionsDispatcher.startLocationUpdatesWithPermissionCheck(this);
9090
} else {
9191
Toast.makeText(this, "Error - Map was null!!", Toast.LENGTH_SHORT).show();
9292
}
@@ -178,7 +178,7 @@ protected void onResume() {
178178
} else {
179179
Toast.makeText(this, "Current location was null, enable GPS on emulator!", Toast.LENGTH_SHORT).show();
180180
}
181-
MapDemoActivityPermissionsDispatcher.startLocationUpdatesWithCheck(this);
181+
MapDemoActivityPermissionsDispatcher.startLocationUpdatesWithPermissionCheck(this);
182182
}
183183

184184
@NeedsPermission({Manifest.permission.ACCESS_FINE_LOCATION, Manifest.permission.ACCESS_COARSE_LOCATION})

0 commit comments

Comments
 (0)