mirror of
https://github.com/YTVanced/VancedMicroG
synced 2024-11-28 14:13:00 +00:00
This commit is contained in:
parent
761b6dfd47
commit
312d2a1930
1 changed files with 4 additions and 2 deletions
|
@ -46,6 +46,8 @@ import java.util.zip.GZIPOutputStream;
|
||||||
public class CheckinClient {
|
public class CheckinClient {
|
||||||
private static final String TAG = "GmsCheckinClient";
|
private static final String TAG = "GmsCheckinClient";
|
||||||
private static final Object TODO = null; // TODO
|
private static final Object TODO = null; // TODO
|
||||||
|
private static final List<String> TODO_LIST_STRING = new ArrayList<String>(); // TODO
|
||||||
|
private static final List<CheckinRequest.Checkin.Statistic> TODO_LIST_CHECKIN = new ArrayList<CheckinRequest.Checkin.Statistic>(); // TODO
|
||||||
private static final String SERVICE_URL = "https://android.clients.google.com/checkin";
|
private static final String SERVICE_URL = "https://android.clients.google.com/checkin";
|
||||||
|
|
||||||
public static CheckinResponse request(CheckinRequest request) throws IOException {
|
public static CheckinResponse request(CheckinRequest request) throws IOException {
|
||||||
|
@ -108,10 +110,10 @@ public class CheckinClient {
|
||||||
.timeMs(new Date().getTime())
|
.timeMs(new Date().getTime())
|
||||||
.build()))
|
.build()))
|
||||||
.lastCheckinMs(checkinInfo.lastCheckin)
|
.lastCheckinMs(checkinInfo.lastCheckin)
|
||||||
.requestedGroup((List<String>) TODO)
|
.requestedGroup(TODO_LIST_STRING)
|
||||||
.roaming(phoneInfo.roaming)
|
.roaming(phoneInfo.roaming)
|
||||||
.simOperator(phoneInfo.simOperator)
|
.simOperator(phoneInfo.simOperator)
|
||||||
.stat((List<CheckinRequest.Checkin.Statistic>) TODO)
|
.stat(TODO_LIST_CHECKIN)
|
||||||
.userNumber(0)
|
.userNumber(0)
|
||||||
.build())
|
.build())
|
||||||
.deviceConfiguration(new CheckinRequest.DeviceConfig.Builder()
|
.deviceConfiguration(new CheckinRequest.DeviceConfig.Builder()
|
||||||
|
|
Loading…
Reference in a new issue