mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-15 10:27:17 +01:00
33 lines
1.4 KiB
Java
33 lines
1.4 KiB
Java
package androidx.browser.customtabs;
|
|
|
|
import android.app.Service;
|
|
import android.content.Intent;
|
|
import android.os.Bundle;
|
|
import android.os.IBinder;
|
|
import android.os.RemoteException;
|
|
import android.support.customtabs.ICustomTabsCallback;
|
|
import android.support.customtabs.IPostMessageService;
|
|
import androidx.annotation.NonNull;
|
|
import androidx.annotation.Nullable;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
/* loaded from: classes.dex */
|
|
public class PostMessageService extends Service {
|
|
private IPostMessageService.Stub mBinder = new IPostMessageService.Stub() { // from class: androidx.browser.customtabs.PostMessageService.1
|
|
@Override // android.support.customtabs.IPostMessageService
|
|
public void onMessageChannelReady(@NonNull ICustomTabsCallback iCustomTabsCallback, @Nullable Bundle bundle) throws RemoteException {
|
|
iCustomTabsCallback.onMessageChannelReady(bundle);
|
|
}
|
|
|
|
@Override // android.support.customtabs.IPostMessageService
|
|
public void onPostMessage(@NonNull ICustomTabsCallback iCustomTabsCallback, @NonNull String str, @Nullable Bundle bundle) throws RemoteException {
|
|
iCustomTabsCallback.onPostMessage(str, bundle);
|
|
}
|
|
};
|
|
|
|
@Override // android.app.Service
|
|
@NonNull
|
|
public IBinder onBind(@Nullable Intent intent) {
|
|
return this.mBinder;
|
|
}
|
|
}
|