Files
rr3-apk/decompiled/sources/com/google/firebase/messaging/WithinAppServiceBinder.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

37 lines
1.4 KiB
Java

package com.google.firebase.messaging;
import android.content.Intent;
import android.os.Binder;
import android.os.Process;
import android.util.Log;
import androidx.credentials.CredentialManager$$ExternalSyntheticLambda0;
import com.google.android.gms.tasks.OnCompleteListener;
import com.google.android.gms.tasks.Task;
import com.google.firebase.messaging.WithinAppServiceConnection;
/* loaded from: classes3.dex */
public class WithinAppServiceBinder extends Binder {
public final IntentHandler intentHandler;
public interface IntentHandler {
Task handle(Intent intent);
}
public WithinAppServiceBinder(IntentHandler intentHandler) {
this.intentHandler = intentHandler;
}
public void send(final WithinAppServiceConnection.BindRequest bindRequest) {
if (Binder.getCallingUid() != Process.myUid()) {
throw new SecurityException("Binding only allowed within app");
}
Log.isLoggable("FirebaseMessaging", 3);
this.intentHandler.handle(bindRequest.intent).addOnCompleteListener(new CredentialManager$$ExternalSyntheticLambda0(), new OnCompleteListener() { // from class: com.google.firebase.messaging.WithinAppServiceBinder$$ExternalSyntheticLambda0
@Override // com.google.android.gms.tasks.OnCompleteListener
public final void onComplete(Task task) {
WithinAppServiceConnection.BindRequest.this.finish();
}
});
}
}