mirror of
https://github.com/TeamVanced/VancedMicroG
synced 2024-11-18 18:19:26 +01: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 {
|
||||
String getDeviceDataVersionInfo();
|
||||
long getLastCheckinSuccessTime();
|
||||
String getLastSimOperator();
|
||||
}
|
||||
|
@ -59,6 +59,16 @@ public class CheckinService extends IntentService {
|
||||
public String getDeviceDataVersionInfo() throws RemoteException {
|
||||
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() {
|
||||
|
Loading…
Reference in New Issue
Block a user