0
0
Fork 0
mirror of https://github.com/YTVanced/VancedMicroG synced 2024-11-27 13:43:00 +00:00

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: 'com.android.library'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-android' 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() { String getMyVersionName() {
def stdout = new ByteArrayOutputStream() def stdout = new ByteArrayOutputStream()
@ -58,9 +65,3 @@ android {
targetCompatibility JavaVersion.VERSION_1_8 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; package com.google.android.gms.common.api;
import android.support.annotation.NonNull; import androidx.annotation.NonNull;
import org.microg.gms.common.PublicApi; import org.microg.gms.common.PublicApi;

View file

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

View file

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