Add Firebase auth api

This commit is contained in:
Marvin W 2016-09-16 23:03:59 +02:00
parent c6f5d25850
commit 7f5440d36e
No known key found for this signature in database
GPG Key ID: 072E9235DB996F2A
2 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,5 @@
package com.google.firebase.auth.api.internal;
interface IFirebaseAuthService {
}

View File

@ -28,9 +28,11 @@ import org.microg.safeparcel.AutoSafeParcelable;
*/ */
@PublicApi @PublicApi
public final class Status extends AutoSafeParcelable implements Result { public final class Status extends AutoSafeParcelable implements Result {
private static final int STATUS_CODE_INTERNAL_ERROR = 8;
private static final int STATUS_CODE_INTERRUPTED = 14; private static final int STATUS_CODE_INTERRUPTED = 14;
private static final int STATUS_CODE_CANCELED = 16; private static final int STATUS_CODE_CANCELED = 16;
public static final Status INTERNAL_ERROR = new Status(STATUS_CODE_INTERNAL_ERROR);
public static final Status INTERRUPTED = new Status(STATUS_CODE_INTERRUPTED); public static final Status INTERRUPTED = new Status(STATUS_CODE_INTERRUPTED);
public static final Status CANCELED = new Status(STATUS_CODE_CANCELED); public static final Status CANCELED = new Status(STATUS_CODE_CANCELED);
public static final Status SUCCESS = new Status(0); public static final Status SUCCESS = new Status(0);