mirror of
https://github.com/TeamVanced/VancedMicroG
synced 2024-09-27 16:46:35 +02:00
Update checkin service API
This commit is contained in:
parent
9304375da7
commit
854f879da4
@ -2,4 +2,6 @@ package com.google.android.gms.checkin.internal;
|
|||||||
|
|
||||||
interface ICheckinService {
|
interface ICheckinService {
|
||||||
String getDeviceDataVersionInfo();
|
String getDeviceDataVersionInfo();
|
||||||
|
long getLastCheckinSuccessTime();
|
||||||
|
String getLastSimOperator();
|
||||||
}
|
}
|
||||||
|
@ -59,6 +59,16 @@ public class CheckinService extends IntentService {
|
|||||||
public String getDeviceDataVersionInfo() throws RemoteException {
|
public String getDeviceDataVersionInfo() throws RemoteException {
|
||||||
return LastCheckinInfo.read(CheckinService.this).getDeviceDataVersionInfo();
|
return LastCheckinInfo.read(CheckinService.this).getDeviceDataVersionInfo();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public long getLastCheckinSuccessTime() throws RemoteException {
|
||||||
|
return LastCheckinInfo.read(CheckinService.this).getLastCheckin();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getLastSimOperator() throws RemoteException {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
public CheckinService() {
|
public CheckinService() {
|
||||||
|
Loading…
Reference in New Issue
Block a user