Skip to content

Commit

Permalink
AppSetService getAppSetIdInfo method causes some apps to crash
Browse files Browse the repository at this point in the history
  • Loading branch information
DaVinci9196 authored and ale5000-git committed Feb 20, 2024
1 parent 14c08e1 commit a573a89
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ package org.microg.gms.appset

import android.util.Log
import com.google.android.gms.appset.AppSetIdRequestParams
import com.google.android.gms.appset.AppSetInfoParcel
import com.google.android.gms.appset.internal.IAppSetIdCallback
import com.google.android.gms.appset.internal.IAppSetService
import com.google.android.gms.common.ConnectionResult
Expand Down Expand Up @@ -35,6 +36,6 @@ class AppSetService : BaseService(TAG, GmsService.APP_SET) {
class AppSetServiceImpl : IAppSetService.Stub() {
override fun getAppSetIdInfo(params: AppSetIdRequestParams?, callback: IAppSetIdCallback?) {
Log.d(TAG, "AppSetServiceImp getAppSetIdInfo is called -> ${params?.toString()} ")
callback?.onAppSetInfo(Status.SUCCESS, null)
callback?.onAppSetInfo(Status.SUCCESS, AppSetInfoParcel("", 0))
}
}

0 comments on commit a573a89

Please sign in to comment.