Exploit databaseDownload repository ZIP
GH-14fb583d3d1bd2da10251bb1a37b93d6
gitchw/ghostlock-cve-2026-43499
Sources for CVE-2026-43499
166 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files13
gitchw/ghostlock-cve-2026-43499Revision 96acd93156f6
- ↑..Parent directory
- ActionBar.java
- AlertController.java
- AlertDialog.java
- AppCompatActivity.java
- AppCompatCallback.java
- AppCompatDelegate.java
- AppCompatDelegateImpl.java
- AppCompatDialog.java
- AppCompatViewInflater.java
- ResourcesFlusher.java
- TwilightCalculator.java
- TwilightManager.java
- WindowDecorActionBar.java
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
workspace/decomp/HeyOTA/sources/androidx/appcompat/app/AppCompatActivity.java
Java · 11,650 bytespackage androidx.appcompat.app;
import android.content.Context;
import android.content.Intent;
import android.content.res.Configuration;
import android.content.res.Resources;
import android.os.Build;
import android.os.Bundle;
import android.view.KeyEvent;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
import android.view.Window;
import androidx.appcompat.view.ActionMode;
import androidx.appcompat.widget.VectorEnabledTintResources;
import androidx.core.app.ActivityCompat;
import androidx.core.app.NavUtils;
import androidx.core.app.TaskStackBuilder;
import androidx.fragment.app.FragmentActivity;
import androidx.lifecycle.ViewTreeLifecycleOwner;
import androidx.lifecycle.ViewTreeViewModelStoreOwner;
import androidx.savedstate.ViewTreeSavedStateRegistryOwner;
/* loaded from: classes.dex */
public class AppCompatActivity extends FragmentActivity implements AppCompatCallback, TaskStackBuilder.SupportParentable {
private AppCompatDelegate mDelegate;
private Resources mResources;
/* JADX INFO: Access modifiers changed from: protected */
public void onNightModeChanged(int i) {
}
public void onPrepareSupportNavigateUpTaskStack(TaskStackBuilder taskStackBuilder) {
}
@Override // androidx.appcompat.app.AppCompatCallback
public void onSupportActionModeFinished(ActionMode actionMode) {
}
@Override // androidx.appcompat.app.AppCompatCallback
public void onSupportActionModeStarted(ActionMode actionMode) {
}
@Deprecated
public void onSupportContentChanged() {
}
@Override // androidx.appcompat.app.AppCompatCallback
public ActionMode onWindowStartingSupportActionMode(ActionMode.Callback callback) {
return null;
}
@Override // android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
protected void attachBaseContext(Context context) {
super.attachBaseContext(getDelegate().attachBaseContext2(context));
}
/* JADX INFO: Access modifiers changed from: protected */
@Override // androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onCreate(Bundle bundle) {
AppCompatDelegate delegate = getDelegate();
delegate.installViewFactory();
delegate.onCreate(bundle);
super.onCreate(bundle);
}
@Override // android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper, android.content.Context
public void setTheme(int i) {
super.setTheme(i);
getDelegate().setTheme(i);
}
@Override // android.app.Activity
protected void onPostCreate(Bundle bundle) {
super.onPostCreate(bundle);
getDelegate().onPostCreate(bundle);
}
public ActionBar getSupportActionBar() {
return getDelegate().getSupportActionBar();
}
@Override // android.app.Activity
public MenuInflater getMenuInflater() {
return getDelegate().getMenuInflater();
}
@Override // androidx.activity.ComponentActivity, android.app.Activity
public void setContentView(int i) {
initViewTreeOwners();
getDelegate().setContentView(i);
}
@Override // androidx.activity.ComponentActivity, android.app.Activity
public void setContentView(View view) {
initViewTreeOwners();
getDelegate().setContentView(view);
}
@Override // androidx.activity.ComponentActivity, android.app.Activity
public void setContentView(View view, ViewGroup.LayoutParams layoutParams) {
initViewTreeOwners();
getDelegate().setContentView(view, layoutParams);
}
@Override // androidx.activity.ComponentActivity, android.app.Activity
public void addContentView(View view, ViewGroup.LayoutParams layoutParams) {
initViewTreeOwners();
getDelegate().addContentView(view, layoutParams);
}
private void initViewTreeOwners() {
ViewTreeLifecycleOwner.set(getWindow().getDecorView(), this);
ViewTreeViewModelStoreOwner.set(getWindow().getDecorView(), this);
ViewTreeSavedStateRegistryOwner.set(getWindow().getDecorView(), this);
}
@Override // androidx.fragment.app.FragmentActivity, android.app.Activity, android.content.ComponentCallbacks
public void onConfigurationChanged(Configuration configuration) {
super.onConfigurationChanged(configuration);
if (this.mResources != null) {
this.mResources.updateConfiguration(configuration, super.getResources().getDisplayMetrics());
}
getDelegate().onConfigurationChanged(configuration);
}
/* JADX INFO: Access modifiers changed from: protected */
@Override // androidx.fragment.app.FragmentActivity, android.app.Activity
public void onPostResume() {
super.onPostResume();
getDelegate().onPostResume();
}
/* JADX INFO: Access modifiers changed from: protected */
@Override // androidx.fragment.app.FragmentActivity, android.app.Activity
public void onStart() {
super.onStart();
getDelegate().onStart();
}
/* JADX INFO: Access modifiers changed from: protected */
@Override // androidx.fragment.app.FragmentActivity, android.app.Activity
public void onStop() {
super.onStop();
getDelegate().onStop();
}
@Override // android.app.Activity
public <T extends View> T findViewById(int i) {
return (T) getDelegate().findViewById(i);
}
@Override // androidx.fragment.app.FragmentActivity, android.app.Activity, android.view.Window.Callback
public final boolean onMenuItemSelected(int i, MenuItem menuItem) {
if (super.onMenuItemSelected(i, menuItem)) {
return true;
}
ActionBar supportActionBar = getSupportActionBar();
if (menuItem.getItemId() != 16908332 || supportActionBar == null || (supportActionBar.getDisplayOptions() & 4) == 0) {
return false;
}
return onSupportNavigateUp();
}
/* JADX INFO: Access modifiers changed from: protected */
@Override // androidx.fragment.app.FragmentActivity, android.app.Activity
public void onDestroy() {
super.onDestroy();
getDelegate().onDestroy();
}
@Override // android.app.Activity
protected void onTitleChanged(CharSequence charSequence, int i) {
super.onTitleChanged(charSequence, i);
getDelegate().setTitle(charSequence);
}
@Override // androidx.fragment.app.FragmentActivity
public void supportInvalidateOptionsMenu() {
getDelegate().invalidateOptionsMenu();
}
@Override // android.app.Activity
public void invalidateOptionsMenu() {
getDelegate().invalidateOptionsMenu();
}
public void onCreateSupportNavigateUpTaskStack(TaskStackBuilder taskStackBuilder) {
taskStackBuilder.addParentStack(this);
}
public boolean onSupportNavigateUp() {
Intent supportParentActivityIntent = getSupportParentActivityIntent();
if (supportParentActivityIntent == null) {
return false;
}
if (supportShouldUpRecreateTask(supportParentActivityIntent)) {
TaskStackBuilder create = TaskStackBuilder.create(this);
onCreateSupportNavigateUpTaskStack(create);
onPrepareSupportNavigateUpTaskStack(create);
create.startActivities();
try {
ActivityCompat.finishAffinity(this);
return true;
} catch (IllegalStateException unused) {
finish();
return true;
}
}
supportNavigateUpTo(supportParentActivityIntent);
return true;
}
@Override // androidx.core.app.TaskStackBuilder.SupportParentable
public Intent getSupportParentActivityIntent() {
return NavUtils.getParentActivityIntent(this);
}
public boolean supportShouldUpRecreateTask(Intent intent) {
return NavUtils.shouldUpRecreateTask(this, intent);
}
public void supportNavigateUpTo(Intent intent) {
NavUtils.navigateUpTo(this, intent);
}
@Override // android.app.Activity, android.view.Window.Callback
public void onContentChanged() {
onSupportContentChanged();
}
@Override // android.app.Activity, android.view.Window.Callback
public boolean onMenuOpened(int i, Menu menu) {
return super.onMenuOpened(i, menu);
}
@Override // androidx.fragment.app.FragmentActivity, android.app.Activity, android.view.Window.Callback
public void onPanelClosed(int i, Menu menu) {
super.onPanelClosed(i, menu);
}
/* JADX INFO: Access modifiers changed from: protected */
@Override // androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onSaveInstanceState(Bundle bundle) {
super.onSaveInstanceState(bundle);
getDelegate().onSaveInstanceState(bundle);
}
public AppCompatDelegate getDelegate() {
if (this.mDelegate == null) {
this.mDelegate = AppCompatDelegate.create(this, this);
}
return this.mDelegate;
}
@Override // androidx.core.app.ComponentActivity, android.app.Activity, android.view.Window.Callback
public boolean dispatchKeyEvent(KeyEvent keyEvent) {
int keyCode = keyEvent.getKeyCode();
ActionBar supportActionBar = getSupportActionBar();
if (keyCode == 82 && supportActionBar != null && supportActionBar.onMenuKeyEvent(keyEvent)) {
return true;
}
return super.dispatchKeyEvent(keyEvent);
}
@Override // android.view.ContextThemeWrapper, android.content.ContextWrapper, android.content.Context
public Resources getResources() {
if (this.mResources == null && VectorEnabledTintResources.shouldBeUsed()) {
this.mResources = new VectorEnabledTintResources(this, super.getResources());
}
Resources resources = this.mResources;
return resources == null ? super.getResources() : resources;
}
private boolean performMenuItemShortcut(KeyEvent keyEvent) {
Window window;
return (Build.VERSION.SDK_INT >= 26 || keyEvent.isCtrlPressed() || KeyEvent.metaStateHasNoModifiers(keyEvent.getMetaState()) || keyEvent.getRepeatCount() != 0 || KeyEvent.isModifierKey(keyEvent.getKeyCode()) || (window = getWindow()) == null || window.getDecorView() == null || !window.getDecorView().dispatchKeyShortcutEvent(keyEvent)) ? false : true;
}
@Override // android.app.Activity, android.view.KeyEvent.Callback
public boolean onKeyDown(int i, KeyEvent keyEvent) {
if (performMenuItemShortcut(keyEvent)) {
return true;
}
return super.onKeyDown(i, keyEvent);
}
@Override // android.app.Activity
public void openOptionsMenu() {
ActionBar supportActionBar = getSupportActionBar();
if (getWindow().hasFeature(0)) {
if (supportActionBar == null || !supportActionBar.openOptionsMenu()) {
super.openOptionsMenu();
}
}
}
@Override // android.app.Activity
public void closeOptionsMenu() {
ActionBar supportActionBar = getSupportActionBar();
if (getWindow().hasFeature(0)) {
if (supportActionBar == null || !supportActionBar.closeOptionsMenu()) {
super.closeOptionsMenu();
}
}
}
}