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>
This commit is contained in:
2026-02-18 14:52:23 -08:00
parent cc210a65ea
commit f9d20bb3fc
26991 changed files with 2541449 additions and 0 deletions

View File

@@ -0,0 +1,81 @@
package androidx.core.service.quicksettings;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.core.app.PendingIntentCompat;
/* loaded from: classes.dex */
public class PendingIntentActivityWrapper {
private final Context mContext;
private final int mFlags;
@NonNull
private final Intent mIntent;
private final boolean mIsMutable;
@Nullable
private final Bundle mOptions;
@Nullable
private final PendingIntent mPendingIntent;
private final int mRequestCode;
@NonNull
public Context getContext() {
return this.mContext;
}
public int getFlags() {
return this.mFlags;
}
@NonNull
public Intent getIntent() {
return this.mIntent;
}
@NonNull
public Bundle getOptions() {
return this.mOptions;
}
@Nullable
public PendingIntent getPendingIntent() {
return this.mPendingIntent;
}
public int getRequestCode() {
return this.mRequestCode;
}
public boolean isMutable() {
return this.mIsMutable;
}
public PendingIntentActivityWrapper(@NonNull Context context, int i, @NonNull Intent intent, int i2, boolean z) {
this(context, i, intent, i2, null, z);
}
public PendingIntentActivityWrapper(@NonNull Context context, int i, @NonNull Intent intent, int i2, @Nullable Bundle bundle, boolean z) {
this.mContext = context;
this.mRequestCode = i;
this.mIntent = intent;
this.mFlags = i2;
this.mOptions = bundle;
this.mIsMutable = z;
this.mPendingIntent = createPendingIntent();
}
@Nullable
private PendingIntent createPendingIntent() {
Bundle bundle = this.mOptions;
if (bundle == null) {
return PendingIntentCompat.getActivity(this.mContext, this.mRequestCode, this.mIntent, this.mFlags, this.mIsMutable);
}
return PendingIntentCompat.getActivity(this.mContext, this.mRequestCode, this.mIntent, this.mFlags, bundle, this.mIsMutable);
}
}

View File

@@ -0,0 +1,72 @@
package androidx.core.service.quicksettings;
import android.app.PendingIntent;
import android.content.Intent;
import android.os.Build;
import android.service.quicksettings.TileService;
import androidx.annotation.NonNull;
import androidx.annotation.RequiresApi;
import androidx.annotation.RestrictTo;
/* loaded from: classes.dex */
public class TileServiceCompat {
private static TileServiceWrapper sTileServiceWrapper;
public interface TileServiceWrapper {
void startActivityAndCollapse(PendingIntent pendingIntent);
void startActivityAndCollapse(Intent intent);
}
@RestrictTo({RestrictTo.Scope.LIBRARY})
public static void clearTileServiceWrapper() {
sTileServiceWrapper = null;
}
@RestrictTo({RestrictTo.Scope.LIBRARY})
public static void setTileServiceWrapper(@NonNull TileServiceWrapper tileServiceWrapper) {
sTileServiceWrapper = tileServiceWrapper;
}
public static void startActivityAndCollapse(@NonNull TileService tileService, @NonNull PendingIntentActivityWrapper pendingIntentActivityWrapper) {
if (Build.VERSION.SDK_INT >= 34) {
TileServiceWrapper tileServiceWrapper = sTileServiceWrapper;
if (tileServiceWrapper != null) {
tileServiceWrapper.startActivityAndCollapse(pendingIntentActivityWrapper.getPendingIntent());
return;
} else {
Api34Impl.startActivityAndCollapse(tileService, pendingIntentActivityWrapper.getPendingIntent());
return;
}
}
TileServiceWrapper tileServiceWrapper2 = sTileServiceWrapper;
if (tileServiceWrapper2 != null) {
tileServiceWrapper2.startActivityAndCollapse(pendingIntentActivityWrapper.getIntent());
} else {
Api24Impl.startActivityAndCollapse(tileService, pendingIntentActivityWrapper.getIntent());
}
}
@RequiresApi(34)
public static class Api34Impl {
private Api34Impl() {
}
public static void startActivityAndCollapse(TileService tileService, PendingIntent pendingIntent) {
tileService.startActivityAndCollapse(pendingIntent);
}
}
@RequiresApi(24)
public static class Api24Impl {
private Api24Impl() {
}
public static void startActivityAndCollapse(TileService tileService, Intent intent) {
tileService.startActivityAndCollapse(intent);
}
}
private TileServiceCompat() {
}
}