Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
fynngodau committed Oct 19, 2024
1 parent 655cc6f commit 4f0665c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ import com.google.android.gms.auth.account.IWorkAccountCallback
import com.google.android.gms.auth.account.IWorkAccountService
import com.google.android.gms.auth.account.authenticator.WorkAccountAuthenticator.Companion.KEY_ACCOUNT_CREATION_TOKEN
import com.google.android.gms.auth.account.authenticator.WorkAccountAuthenticator.Companion.WORK_ACCOUNT_CHANGED_BOARDCAST
import com.google.android.gms.auth.account.authenticator.WorkAccountAuthenticator.Companion.WORK_ACCOUNT_TYPE
import com.google.android.gms.auth.account.authenticator.WorkAccountAuthenticatorService
import com.google.android.gms.common.Feature
import com.google.android.gms.common.api.CommonStatusCodes
import com.google.android.gms.common.internal.ConnectionInfo
import com.google.android.gms.common.internal.GetServiceRequest
import com.google.android.gms.common.internal.IGmsCallbacks
import org.microg.gms.BaseService
import org.microg.gms.auth.AuthConstants
import org.microg.gms.common.GmsService
import org.microg.gms.common.PackageUtils

Expand Down Expand Up @@ -101,7 +101,7 @@ class WorkAccountServiceImpl(val context: Context) : IWorkAccountService.Stub()
) {
Log.d(TAG, "addWorkAccount with token $token")
val future = accountManager.addAccount(
WORK_ACCOUNT_TYPE,
AuthConstants.WORK_ACCOUNT_TYPE,
null,
null,
Bundle().apply { putString(KEY_ACCOUNT_CREATION_TOKEN, token) },
Expand Down

0 comments on commit 4f0665c

Please sign in to comment.