Files
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

80 lines
2.0 KiB
Java

package androidx.browser.browseractions;
import android.app.PendingIntent;
import android.net.Uri;
import androidx.annotation.DrawableRes;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.RestrictTo;
@Deprecated
/* loaded from: classes.dex */
public class BrowserActionItem {
@Nullable
private final PendingIntent mAction;
@DrawableRes
private int mIconId;
@Nullable
private Uri mIconUri;
@Nullable
private Runnable mRunnableAction;
private final String mTitle;
public int getIconId() {
return this.mIconId;
}
@Nullable
@RestrictTo({RestrictTo.Scope.LIBRARY})
public Uri getIconUri() {
return this.mIconUri;
}
@Nullable
@RestrictTo({RestrictTo.Scope.LIBRARY_GROUP_PREFIX})
public Runnable getRunnableAction() {
return this.mRunnableAction;
}
@NonNull
public String getTitle() {
return this.mTitle;
}
public BrowserActionItem(@NonNull String str, @NonNull PendingIntent pendingIntent, @DrawableRes int i) {
this.mTitle = str;
this.mAction = pendingIntent;
this.mIconId = i;
}
@RestrictTo({RestrictTo.Scope.LIBRARY_GROUP_PREFIX})
public BrowserActionItem(@NonNull String str, @NonNull PendingIntent pendingIntent, @NonNull Uri uri) {
this.mTitle = str;
this.mAction = pendingIntent;
this.mIconUri = uri;
}
public BrowserActionItem(@NonNull String str, @NonNull Runnable runnable) {
this.mTitle = str;
this.mAction = null;
this.mRunnableAction = runnable;
}
public BrowserActionItem(@NonNull String str, @NonNull PendingIntent pendingIntent) {
this(str, pendingIntent, 0);
}
@NonNull
public PendingIntent getAction() {
PendingIntent pendingIntent = this.mAction;
if (pendingIntent != null) {
return pendingIntent;
}
throw new IllegalStateException("Can't call getAction on BrowserActionItem with null action.");
}
}