Skip to content

Commit

Permalink
fix: PrefetchDeviceToken
Browse files Browse the repository at this point in the history
  • Loading branch information
dracupid committed Aug 25, 2023
1 parent 53b5529 commit 69e0a19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wmpf-demo/app/src/main/java/com/tencent/wmpf/demo/Api.kt
Original file line number Diff line number Diff line change
Expand Up @@ -637,9 +637,9 @@ object Api {
this.baseRequest = WMPFBaseRequestHelper.checked()
}

val result = WMPFIPCInvoker.invokeAsync<IPCInvokerTask_RegisterMiniProgramDevice, WMPFPrefetchDeviceTokenRequest, WMPFPrefetchDeviceTokenResponse>(
val result = WMPFIPCInvoker.invokeAsync<IPCInvokerTask_PrefetchDeviceToken, WMPFPrefetchDeviceTokenRequest, WMPFPrefetchDeviceTokenResponse>(
request,
IPCInvokerTask_RegisterMiniProgramDevice::class.java,
IPCInvokerTask_PrefetchDeviceToken::class.java,
object : IPCInvokeCallbackEx<WMPFPrefetchDeviceTokenResponse> {
override fun onCallback(response: WMPFPrefetchDeviceTokenResponse) {
if (isSuccess(response)) {
Expand Down

0 comments on commit 69e0a19

Please sign in to comment.