- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
37 lines
1.4 KiB
Java
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();
|
|
}
|
|
});
|
|
}
|
|
}
|