CrackMe.apk
Download file
package androidx.lifecycle;
import java.util.concurrent.atomic.AtomicReference;
public abstract class Lifecycle {
AtomicReference<Object> mInternalScopeRef = new AtomicReference<>();
public abstract void addObserver(LifecycleObserver lifecycleObserver);
public abstract State getCurrentState();
public abstract void removeObserver(LifecycleObserver lifecycleObserver);
public enum Event {
ON_CREATE,
ON_START,
ON_RESUME,
ON_PAUSE,
ON_STOP,
ON_DESTROY,
ON_ANY;
public static Event downFrom(State state) {
int i = AnonymousClass1.$SwitchMap$androidx$lifecycle$Lifecycle$State[state.ordinal()];
if (i == 1) {
return ON_DESTROY;
}
if (i == 2) {
return ON_STOP;
}
if (i != 3) {
return null;
}
return ON_PAUSE;
}
public static Event downTo(State state) {
int i = AnonymousClass1.$SwitchMap$androidx$lifecycle$Lifecycle$State[state.ordinal()];
if (i == 1) {
return ON_STOP;
}
if (i == 2) {
return ON_PAUSE;
}
if (i != 4) {
return null;
}
return ON_DESTROY;
}
public static Event upFrom(State state) {
int i = AnonymousClass1.$SwitchMap$androidx$lifecycle$Lifecycle$State[state.ordinal()];
if (i == 1) {
return ON_START;
}
if (i == 2) {
return ON_RESUME;
}
if (i != 5) {
return null;
}
return ON_CREATE;
}
public static Event upTo(State state) {
int i = AnonymousClass1.$SwitchMap$androidx$lifecycle$Lifecycle$State[state.ordinal()];
if (i == 1) {
return ON_CREATE;
}
if (i == 2) {
return ON_START;
}
if (i != 3) {
return null;
}
return ON_RESUME;
}
public State getTargetState() {
switch (AnonymousClass1.$SwitchMap$androidx$lifecycle$Lifecycle$Event[ordinal()]) {
case 1:
case 2:
return State.CREATED;
case 3:
case 4:
return State.STARTED;
case 5:
return State.RESUMED;
case 6:
return State.DESTROYED;
default:
throw new IllegalArgumentException(this + " has no target state");
}
}
}
/* renamed from: androidx.lifecycle.Lifecycle$1 reason: invalid class name */
static /* synthetic */ class AnonymousClass1 {
static final /* synthetic */ int[] $SwitchMap$androidx$lifecycle$Lifecycle$Event;
static final /* synthetic */ int[] $SwitchMap$androidx$lifecycle$Lifecycle$State;
/* JADX WARNING: Can't wrap try/catch for region: R(26:0|(2:1|2)|3|(2:5|6)|7|(2:9|10)|11|(2:13|14)|15|17|18|19|20|(2:21|22)|23|25|26|27|28|29|30|31|32|33|34|36) */
/* JADX WARNING: Can't wrap try/catch for region: R(27:0|(2:1|2)|3|(2:5|6)|7|9|10|11|(2:13|14)|15|17|18|19|20|(2:21|22)|23|25|26|27|28|29|30|31|32|33|34|36) */
/* JADX WARNING: Can't wrap try/catch for region: R(29:0|1|2|3|(2:5|6)|7|9|10|11|13|14|15|17|18|19|20|(2:21|22)|23|25|26|27|28|29|30|31|32|33|34|36) */
/* JADX WARNING: Can't wrap try/catch for region: R(30:0|1|2|3|(2:5|6)|7|9|10|11|13|14|15|17|18|19|20|21|22|23|25|26|27|28|29|30|31|32|33|34|36) */
/* JADX WARNING: Code restructure failed: missing block: B:37:?, code lost:
return;
*/
/* JADX WARNING: Failed to process nested try/catch */
/* JADX WARNING: Missing exception handler attribute for start block: B:19:0x003e */
/* JADX WARNING: Missing exception handler attribute for start block: B:21:0x0049 */
/* JADX WARNING: Missing exception handler attribute for start block: B:27:0x0065 */
/* JADX WARNING: Missing exception handler attribute for start block: B:29:0x006f */
/* JADX WARNING: Missing exception handler attribute for start block: B:31:0x0079 */
/* JADX WARNING: Missing exception handler attribute for start block: B:33:0x0083 */
static {
/*
androidx.lifecycle.Lifecycle$Event[] r0 = androidx.lifecycle.Lifecycle.Event.values()
int r0 = r0.length
int[] r0 = new int[r0]
$SwitchMap$androidx$lifecycle$Lifecycle$Event = r0
r1 = 1
androidx.lifecycle.Lifecycle$Event r2 = androidx.lifecycle.Lifecycle.Event.ON_CREATE // Catch:{ NoSuchFieldError -> 0x0012 }
int r2 = r2.ordinal() // Catch:{ NoSuchFieldError -> 0x0012 }
r0[r2] = r1 // Catch:{ NoSuchFieldError -> 0x0012 }
L_0x0012:
r0 = 2
int[] r2 = $SwitchMap$androidx$lifecycle$Lifecycle$Event // Catch:{ NoSuchFieldError -> 0x001d }
androidx.lifecycle.Lifecycle$Event r3 = androidx.lifecycle.Lifecycle.Event.ON_STOP // Catch:{ NoSuchFieldError -> 0x001d }
int r3 = r3.ordinal() // Catch:{ NoSuchFieldError -> 0x001d }
r2[r3] = r0 // Catch:{ NoSuchFieldError -> 0x001d }
L_0x001d:
r2 = 3
int[] r3 = $SwitchMap$androidx$lifecycle$Lifecycle$Event // Catch:{ NoSuchFieldError -> 0x0028 }
androidx.lifecycle.Lifecycle$Event r4 = androidx.lifecycle.Lifecycle.Event.ON_START // Catch:{ NoSuchFieldError -> 0x0028 }
int r4 = r4.ordinal() // Catch:{ NoSuchFieldError -> 0x0028 }
r3[r4] = r2 // Catch:{ NoSuchFieldError -> 0x0028 }
L_0x0028:
r3 = 4
int[] r4 = $SwitchMap$androidx$lifecycle$Lifecycle$Event // Catch:{ NoSuchFieldError -> 0x0033 }
androidx.lifecycle.Lifecycle$Event r5 = androidx.lifecycle.Lifecycle.Event.ON_PAUSE // Catch:{ NoSuchFieldError -> 0x0033 }
int r5 = r5.ordinal() // Catch:{ NoSuchFieldError -> 0x0033 }
r4[r5] = r3 // Catch:{ NoSuchFieldError -> 0x0033 }
L_0x0033:
r4 = 5
int[] r5 = $SwitchMap$androidx$lifecycle$Lifecycle$Event // Catch:{ NoSuchFieldError -> 0x003e }
androidx.lifecycle.Lifecycle$Event r6 = androidx.lifecycle.Lifecycle.Event.ON_RESUME // Catch:{ NoSuchFieldError -> 0x003e }
int r6 = r6.ordinal() // Catch:{ NoSuchFieldError -> 0x003e }
r5[r6] = r4 // Catch:{ NoSuchFieldError -> 0x003e }
L_0x003e:
int[] r5 = $SwitchMap$androidx$lifecycle$Lifecycle$Event // Catch:{ NoSuchFieldError -> 0x0049 }
androidx.lifecycle.Lifecycle$Event r6 = androidx.lifecycle.Lifecycle.Event.ON_DESTROY // Catch:{ NoSuchFieldError -> 0x0049 }
int r6 = r6.ordinal() // Catch:{ NoSuchFieldError -> 0x0049 }
r7 = 6
r5[r6] = r7 // Catch:{ NoSuchFieldError -> 0x0049 }
L_0x0049:
int[] r5 = $SwitchMap$androidx$lifecycle$Lifecycle$Event // Catch:{ NoSuchFieldError -> 0x0054 }
androidx.lifecycle.Lifecycle$Event r6 = androidx.lifecycle.Lifecycle.Event.ON_ANY // Catch:{ NoSuchFieldError -> 0x0054 }
int r6 = r6.ordinal() // Catch:{ NoSuchFieldError -> 0x0054 }
r7 = 7
r5[r6] = r7 // Catch:{ NoSuchFieldError -> 0x0054 }
L_0x0054:
androidx.lifecycle.Lifecycle$State[] r5 = androidx.lifecycle.Lifecycle.State.values()
int r5 = r5.length
int[] r5 = new int[r5]
$SwitchMap$androidx$lifecycle$Lifecycle$State = r5
androidx.lifecycle.Lifecycle$State r6 = androidx.lifecycle.Lifecycle.State.CREATED // Catch:{ NoSuchFieldError -> 0x0065 }
int r6 = r6.ordinal() // Catch:{ NoSuchFieldError -> 0x0065 }
r5[r6] = r1 // Catch:{ NoSuchFieldError -> 0x0065 }
L_0x0065:
int[] r1 = $SwitchMap$androidx$lifecycle$Lifecycle$State // Catch:{ NoSuchFieldError -> 0x006f }
androidx.lifecycle.Lifecycle$State r5 = androidx.lifecycle.Lifecycle.State.STARTED // Catch:{ NoSuchFieldError -> 0x006f }
int r5 = r5.ordinal() // Catch:{ NoSuchFieldError -> 0x006f }
r1[r5] = r0 // Catch:{ NoSuchFieldError -> 0x006f }
L_0x006f:
int[] r0 = $SwitchMap$androidx$lifecycle$Lifecycle$State // Catch:{ NoSuchFieldError -> 0x0079 }
androidx.lifecycle.Lifecycle$State r1 = androidx.lifecycle.Lifecycle.State.RESUMED // Catch:{ NoSuchFieldError -> 0x0079 }
int r1 = r1.ordinal() // Catch:{ NoSuchFieldError -> 0x0079 }
r0[r1] = r2 // Catch:{ NoSuchFieldError -> 0x0079 }
L_0x0079:
int[] r0 = $SwitchMap$androidx$lifecycle$Lifecycle$State // Catch:{ NoSuchFieldError -> 0x0083 }
androidx.lifecycle.Lifecycle$State r1 = androidx.lifecycle.Lifecycle.State.DESTROYED // Catch:{ NoSuchFieldError -> 0x0083 }
int r1 = r1.ordinal() // Catch:{ NoSuchFieldError -> 0x0083 }
r0[r1] = r3 // Catch:{ NoSuchFieldError -> 0x0083 }
L_0x0083:
int[] r0 = $SwitchMap$androidx$lifecycle$Lifecycle$State // Catch:{ NoSuchFieldError -> 0x008d }
androidx.lifecycle.Lifecycle$State r1 = androidx.lifecycle.Lifecycle.State.INITIALIZED // Catch:{ NoSuchFieldError -> 0x008d }
int r1 = r1.ordinal() // Catch:{ NoSuchFieldError -> 0x008d }
r0[r1] = r4 // Catch:{ NoSuchFieldError -> 0x008d }
L_0x008d:
return
*/
throw new UnsupportedOperationException("Method not decompiled: androidx.lifecycle.Lifecycle.AnonymousClass1.<clinit>():void");
}
}
public enum State {
DESTROYED,
INITIALIZED,
CREATED,
STARTED,
RESUMED;
public boolean isAtLeast(State state) {
return compareTo(state) >= 0;
}
}
}
Download file