Update for use with androidx

This commit is contained in:
Marvin W 2020-06-14 23:14:47 +02:00
parent 2a43448e49
commit 3e70603d59
No known key found for this signature in database
GPG Key ID: 072E9235DB996F2A
7 changed files with 16 additions and 16 deletions

View File

@ -1,3 +0,0 @@
package com.google.android.gms.maps.model;
parcelable LatLng;

View File

@ -1,3 +0,0 @@
package com.google.android.gms.maps.model;
parcelable LatLngBounds;

View File

@ -15,8 +15,15 @@
*/
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
dependencies {
api "org.microg:safe-parcel:$safeParcelVersion"
implementation "androidx.annotation:annotation:$annotationVersion"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion"
}
String getMyVersionName() {
def stdout = new ByteArrayOutputStream()
@ -58,9 +65,3 @@ android {
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
api "com.android.support:support-v4:$supportLibraryVersion"
api 'org.microg:safe-parcel:1.5.0'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}

View File

@ -16,7 +16,7 @@
package com.google.android.gms.common.api;
import android.support.annotation.NonNull;
import androidx.annotation.NonNull;
import org.microg.gms.common.PublicApi;

View File

@ -17,7 +17,8 @@
package com.google.android.gms.dynamic;
import android.os.IBinder;
import android.support.annotation.Nullable;
import androidx.annotation.Nullable;
import java.lang.reflect.Field;

View File

@ -45,5 +45,6 @@ android {
}
dependencies {
api project(':play-services-basement')
implementation project(':play-services-basement')
implementation "org.microg:safe-parcel:$safeParcelVersion"
}

View File

@ -55,6 +55,7 @@ interface IGoogleLocationManagerService {
void removeLocationUpdatesWithListener(ILocationListener listener) = 9;
void removeLocationUpdatesWithIntent(in PendingIntent callbackIntent) = 10;
void updateLocationRequest(in LocationRequestUpdateData locationRequestUpdateData) = 58;
//void flushLocations(IFusedLocationProviderCallback callback = 66;
void setMockMode(boolean mockMode) = 11;
void setMockLocation(in Location mockLocation) = 12;
@ -82,4 +83,6 @@ interface IGoogleLocationManagerService {
IBinder iglms54() = 53;
void iglms55(String var1, in LatLngBounds var2, in AutocompleteFilter var3, in PlacesParams var4, IPlacesCallbacks var5) = 54;
void iglms58(in List var1, in PlacesParams var2, IPlacesCallbacks var3) = 57;
//void updateDeviceOrientationRequest(in DeviceOrientationRequestUpdateData request) = 74;
}