2022-01-26 05:26:56 +00:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: 2022 microG Project Team
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
package com.google.android.gms.auth.api.proxy;
|
|
|
|
|
|
|
|
import android.app.PendingIntent;
|
|
|
|
import android.os.Bundle;
|
|
|
|
|
|
|
|
import org.microg.safeparcel.AutoSafeParcelable;
|
|
|
|
|
|
|
|
public class ProxyResponse extends AutoSafeParcelable {
|
|
|
|
public static final int STATUS_CODE_NO_CONNECTION = -1;
|
|
|
|
|
|
|
|
@Field(1000)
|
2022-01-29 20:23:50 +00:00
|
|
|
private final int versionCode = 1;
|
2022-01-26 05:26:56 +00:00
|
|
|
@Field(1)
|
|
|
|
public int gmsStatusCode;
|
|
|
|
@Field(2)
|
|
|
|
public PendingIntent recoveryAction;
|
|
|
|
@Field(3)
|
|
|
|
public int httpStatusCode;
|
|
|
|
@Field(4)
|
|
|
|
public Bundle headers;
|
|
|
|
@Field(5)
|
|
|
|
public byte[] body;
|
|
|
|
|
|
|
|
public static final Creator<ProxyResponse> CREATOR = new AutoCreator<>(ProxyResponse.class);
|
|
|
|
}
|