Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Verified Commit 0bdcb131 authored by Marvin W.'s avatar Marvin W. 🐿️
Browse files

Update location service

parent d593de25
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@

buildscript {
    ext.cronetVersion = '91.0.4472.120.1'
    ext.nlpVersion = '2.0-alpha6'
    ext.nlpVersion = '2.0-alpha7'
    ext.safeParcelVersion = '1.7.0'
    ext.wearableVersion = '0.1.1'

+3 −0
Original line number Diff line number Diff line
package com.google.android.gms.location;

parcelable DeviceOrientation;
+7 −0
Original line number Diff line number Diff line
package com.google.android.gms.location;

import com.google.android.gms.location.DeviceOrientation;

interface IDeviceOrientationListener {
    void onDeviceOrientationChanged(in DeviceOrientation deviceOrientation);
}
+3 −0
Original line number Diff line number Diff line
package com.google.android.gms.location.internal;

parcelable DeviceOrientationRequestUpdateData;
+32 −7
Original line number Diff line number Diff line
@@ -5,8 +5,10 @@ import android.location.Location;
import android.os.Bundle;

import com.google.android.gms.common.api.Status;
import com.google.android.gms.common.api.internal.IStatusCallback;
import com.google.android.gms.location.places.AutocompleteFilter;
import com.google.android.gms.location.places.internal.IPlacesCallbacks;
import com.google.android.gms.location.internal.DeviceOrientationRequestUpdateData;
import com.google.android.gms.location.internal.ISettingsCallbacks;
import com.google.android.gms.location.internal.LocationRequestInternal;
import com.google.android.gms.location.internal.LocationRequestUpdateData;
@@ -36,17 +38,19 @@ interface IGoogleLocationManagerService {
    void removeGeofencesByIntent(in PendingIntent pendingIntent, IGeofencerCallbacks callbacks, String packageName) = 1;
    void removeGeofencesById(in String[] geofenceRequestIds, IGeofencerCallbacks callbacks, String packageName) = 2;
    void removeAllGeofences(IGeofencerCallbacks callbacks, String packageName) = 3;
//    void removeGeofences(in RemoveGeofencingRequest request, IGeofencerCallbacks callback) = 73;

    void requestActivityUpdates(long detectionIntervalMillis, boolean alwaysTrue, in PendingIntent callbackIntent) = 4;
    void removeActivityUpdates(in PendingIntent callbackIntent) = 5;
    ActivityRecognitionResult getLastActivity(String packageName) = 63;
    Status iglms65(in PendingIntent pendingIntent) = 64;
    Status iglms66(in PendingIntent pendingIntent) = 65;

    Status requestGestureUpdates(in GestureRequest request, in PendingIntent pendingIntent) = 59;
    Status iglms61(in PendingIntent pendingIntent) = 60;

    Location getLastLocation() = 6;
    Location getLastLocationWithPackage(String packageName) = 20;
    Location getLastLocationWith(String s) = 79;

    void requestLocationUpdatesWithListener(in LocationRequest request, ILocationListener listener) = 7;
    void requestLocationUpdatesWithPackage(in LocationRequest request, ILocationListener listener, String packageName) = 19;
    void requestLocationUpdatesWithIntent(in LocationRequest request, in PendingIntent callbackIntent) = 8;
@@ -55,34 +59,55 @@ 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 flushLocations(IFusedLocationProviderCallback callback) = 66;

    void setMockMode(boolean mockMode) = 11;
    void setMockLocation(in Location mockLocation) = 12;
    void injectLocation(in Location mockLocation, int injectionType) = 25;

    Location getLastLocationWithPackage(String packageName) = 20;
    void iglms26(in Location var1, int var2) = 25;
    LocationAvailability getLocationAvailabilityWithPackage(String packageName) = 33;

    IBinder iglms51() = 50;
//    void requestSleepSegmentUpdates(in PendingIntent pendingIntent, in SleepSegmentRequest request, IStatusCallback callback) = 78;
    void removeSleepSegmentUpdates(in PendingIntent pendingIntent, IStatusCallback callback) = 68;

    void requestLocationSettingsDialog(in LocationSettingsRequest settingsRequest, ISettingsCallbacks callback, String packageName) = 62;

//    void requestActivityTransitionUpdates(in ActivityTransitionRequest request, in PendingIntent pendingIntent, IStatusCallback callback) = 71;
    void removeActivityTransitionUpdates(in PendingIntent pendingIntent, IStatusCallback callback) = 72;

    void updateDeviceOrientationRequest(in DeviceOrientationRequestUpdateData request) = 74;

    boolean setActivityRecognitionMode(int mode) = 76;

    void iglms14(in LatLngBounds var1, int var2, in PlaceFilter var3, in PlacesParams var4, IPlacesCallbacks var5) = 13;
    void iglms15(String var1, in PlacesParams var2, IPlacesCallbacks var3) = 14;
    void iglms16(in LatLng var1, in PlaceFilter var2, in PlacesParams var3, IPlacesCallbacks var4) = 15;
    void iglms17(in PlaceFilter var1, in PlacesParams var2, IPlacesCallbacks var3) = 16;
    void iglms18(in PlaceRequest var1, in PlacesParams var2, in PendingIntent var3) = 17;
    void iglms19(in PlacesParams var1, in PendingIntent var2) = 18;

    void iglms25(in PlaceReport var1, in PlacesParams var2) = 24;

    void iglms42(String var1, in PlacesParams var2, IPlacesCallbacks var3) = 41;

    void iglms46(in UserAddedPlace var1, in PlacesParams var2, IPlacesCallbacks var3) = 45;
    void iglms47(in LatLngBounds var1, int var2, String var3, in PlaceFilter var4, in PlacesParams var5, IPlacesCallbacks var6) = 46;
    void iglms48(in NearbyAlertRequest var1, in PlacesParams var2, in PendingIntent var3) = 47;
    void iglms49(in PlacesParams var1, in PendingIntent var2) = 48;
    void iglms50(in UserDataType var1, in LatLngBounds var2, in List var3, in PlacesParams var4, IPlacesCallbacks var5) = 49;
    IBinder iglms51() = 50;

    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;
    void iglms65(in PendingIntent pendingIntent, IStatusCallback callback) = 64;
    void iglms66(in PendingIntent pendingIntent, IStatusCallback callback) = 65;

    void iglms68(in PendingIntent pendingIntent, IStatusCallback callback) = 67;
//    void iglms70(in ActivityRecognitionRequest request, in PendingIntent pendingIntent, IStatusCallback callback) = 69;
    void iglms71(IStatusCallback callback) = 70;
    void iglms76(in PendingIntent pendingIntent) = 75;
    int iglms78() = 77;
}
Loading