Skip to content

Commit

Permalink
Merge pull request #437 from SayedElabady/location-delegate-dep-update
Browse files Browse the repository at this point in the history
Update play-service-location for location-delegation
  • Loading branch information
andreban authored Aug 1, 2023
2 parents 5d8d0a5 + b98e5f2 commit d999aa5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions locationdelegation/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,16 @@ dependencies {
api 'androidx.browser:browser:1.4.0'

implementation fileTree(dir: "libs", include: ["*.jar"])
implementation 'com.google.android.gms:play-services-location:17.0.0'
implementation 'com.google.android.gms:play-services-location:21.0.1'

testImplementation 'junit:junit:4.12'
testImplementation 'org.mockito:mockito-core:3.0.0'
testImplementation 'org.mockito:mockito-inline:2.13.0'
testImplementation 'org.robolectric:robolectric:4.4'
testImplementation 'androidx.test:core:1.4.0'

debugImplementation project(path: ':androidbrowserhelper')
releaseImplementation 'com.google.androidbrowserhelper:androidbrowserhelper:2.2.2'
releaseImplementation 'com.google.androidbrowserhelper:androidbrowserhelper:2.5.0'
}

publishing {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ public void testStopAndReturnWhenError() throws Exception {
callbackTriggered.countDown();
};
doThrow(new IllegalStateException())
.when(mMockLocationClient).requestLocationUpdates(any(), any(),any());
.when(mMockLocationClient).requestLocationUpdates(any(), any(LocationCallback.class),any());

mLocationProvider.start(locationCallback, false);

Expand Down

0 comments on commit d999aa5

Please sign in to comment.