Files
rr3-apk/decompiled-community/sources/androidx/browser/customtabs/CustomTabsServiceConnection.java
Daniel Elliott c080f0d97f Add Discord community version (64-bit only)
- 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
2026-02-18 15:48:36 -08:00

40 lines
1.5 KiB
Java

package androidx.browser.customtabs;
import android.content.ComponentName;
import android.content.Context;
import android.content.ServiceConnection;
import android.os.IBinder;
import android.support.customtabs.ICustomTabsService;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.RestrictTo;
/* loaded from: classes.dex */
public abstract class CustomTabsServiceConnection implements ServiceConnection {
@Nullable
private Context mApplicationContext;
@Nullable
@RestrictTo({RestrictTo.Scope.LIBRARY})
public Context getApplicationContext() {
return this.mApplicationContext;
}
public abstract void onCustomTabsServiceConnected(@NonNull ComponentName componentName, @NonNull CustomTabsClient customTabsClient);
@RestrictTo({RestrictTo.Scope.LIBRARY})
public void setApplicationContext(@NonNull Context context) {
this.mApplicationContext = context;
}
@Override // android.content.ServiceConnection
public final void onServiceConnected(@NonNull ComponentName componentName, @NonNull IBinder iBinder) {
if (this.mApplicationContext == null) {
throw new IllegalStateException("Custom Tabs Service connected before an applicationcontext has been provided.");
}
onCustomTabsServiceConnected(componentName, new CustomTabsClient(ICustomTabsService.Stub.asInterface(iBinder), componentName, this.mApplicationContext) { // from class: androidx.browser.customtabs.CustomTabsServiceConnection.1
});
}
}