# CarAppActivity

Artifact: [androidx.car.app:app-automotive](https://developer.android.com/jetpack/androidx/releases/car-app) [View Source](https://cs.android.com/search?q=file:androidx/car/app/activity/CarAppActivity.java+class:androidx.car.app.activity.CarAppActivity) Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/car-app#1.1.0)

*** ** * ** ***


```
public final class CarAppActivity extends BaseCarAppActivity
```

<br />

|---|---|---|---|---|---|---|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object.html) |||||||||
| ↳ | [android.content.Context](https://developer.android.com/reference/android/content/Context.html) ||||||||
|   | ↳ | [android.content.ContextWrapper](https://developer.android.com/reference/android/content/ContextWrapper.html) |||||||
|   |   | ↳ | [android.view.ContextThemeWrapper](https://developer.android.com/reference/android/view/ContextThemeWrapper.html) ||||||
|   |   |   | ↳ | [android.app.Activity](https://developer.android.com/reference/android/app/Activity.html) |||||
|   |   |   |   | ↳ | [androidx.activity.ComponentActivity](https://developer.android.com/reference/androidx/activity/ComponentActivity) ||||
|   |   |   |   |   | ↳ | [androidx.fragment.app.FragmentActivity](https://developer.android.com/reference/androidx/fragment/app/FragmentActivity) |||
|   |   |   |   |   |   | ↳ | [androidx.car.app.activity.BaseCarAppActivity](https://developer.android.com/reference/androidx/car/app/activity/BaseCarAppActivity) ||
|   |   |   |   |   |   |   | ↳ | [androidx.car.app.activity.CarAppActivity](https://developer.android.com/reference/androidx/car/app/activity/CarAppActivity) |

*** ** * ** ***

The class representing a car app activity in the main display.

This class is responsible for binding to the host and rendering the content given by its `https://developer.android.com/reference/androidx/car/app/CarAppService`.

Usage of `https://developer.android.com/reference/androidx/car/app/activity/CarAppActivity` is only required for applications targeting Automotive OS.

#### Activity Declaration

The app must declare and export this `https://developer.android.com/reference/androidx/car/app/activity/CarAppActivity` in their manifest. In order for it to show up in the car's app launcher. It must declare the `launchMode` to be `singleTask`, and it must include a `https://developer.android.com/reference/android/content/Intent.html#CATEGORY_LAUNCHER` intent filter. For example:

```
<activity
  android:name="androidx.car.app.activity.CarAppActivity"
  android:exported="true"
  android:launchMode="singleTask"
  android:label="@string/your_app_label">

  <intent-filter>
    <action android:name="android.intent.action.MAIN" />
    <category android:name="android.intent.category.LAUNCHER" />
  </intent-filter>
  <meta-data android:name="distractionOptimized" android:value="true"/>
</activity>
```

See `https://developer.android.com/reference/androidx/car/app/CarAppService` for how to declare your app's `https://developer.android.com/reference/androidx/car/app/CarAppService` in the manifest.

#### Distraction-optimized Activities

The activity must be the `distractionOptimized` meta-data set to `true`, in order for it to be displayed while driving. This is the only activity that can have this meta-data set to `true`, any other activities marked this way may cause the app to be rejected during app submission.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/car/app/activity/CarAppActivity#CarAppActivity()()` |

| ### Protected methods |
|---|---|
| `void` | `https://developer.android.com/reference/androidx/car/app/activity/CarAppActivity#onCreate(android.os.Bundle)(@https://jspecify.dev/docs/api/org/jspecify/annotations/Nullable.html https://developer.android.com/reference/android/os/Bundle.html savedInstanceState)` {@inheritDoc} <br /> |

### Inherited Constants

From [android.app.Activity](https://developer.android.com/reference/android/app/Activity.html) `static final int` `https://developer.android.com/reference/android/app/Activity.html#DEFAULT_KEYS_DIALER = 1` `static final int` `https://developer.android.com/reference/android/app/Activity.html#DEFAULT_KEYS_DISABLE = 0` `static final int` `https://developer.android.com/reference/android/app/Activity.html#DEFAULT_KEYS_SEARCH_GLOBAL = 4` `static final int` `https://developer.android.com/reference/android/app/Activity.html#DEFAULT_KEYS_SEARCH_LOCAL = 3` `static final int` `https://developer.android.com/reference/android/app/Activity.html#DEFAULT_KEYS_SHORTCUT = 2` `static final int[]` `https://developer.android.com/reference/android/app/Activity.html#FOCUSED_STATE_SET` `static final int` `https://developer.android.com/reference/android/app/Activity.html#FULLSCREEN_MODE_REQUEST_ENTER = 1` `static final int` `https://developer.android.com/reference/android/app/Activity.html#FULLSCREEN_MODE_REQUEST_EXIT = 0` `static final int` `https://developer.android.com/reference/android/app/Activity.html#OVERRIDE_TRANSITION_CLOSE = 1` `static final int` `https://developer.android.com/reference/android/app/Activity.html#OVERRIDE_TRANSITION_OPEN = 0` `static final int` `https://developer.android.com/reference/android/app/Activity.html#RESULT_CANCELED = 0` `static final int` `https://developer.android.com/reference/android/app/Activity.html#RESULT_FIRST_USER = 1` `static final int` `https://developer.android.com/reference/android/app/Activity.html#RESULT_OK = -1` From [android.content.ComponentCallbacks2](https://developer.android.com/reference/android/content/ComponentCallbacks2.html) `static final int` `https://developer.android.com/reference/android/content/ComponentCallbacks2.html#TRIM_MEMORY_BACKGROUND = 40` `static final int` `https://developer.android.com/reference/android/content/ComponentCallbacks2.html#TRIM_MEMORY_COMPLETE = 80`

**This field is deprecated.**
`static final int` `https://developer.android.com/reference/android/content/ComponentCallbacks2.html#TRIM_MEMORY_MODERATE = 60`

**This field is deprecated.**
`static final int` `https://developer.android.com/reference/android/content/ComponentCallbacks2.html#TRIM_MEMORY_RUNNING_CRITICAL = 15`

**This field is deprecated.**
`static final int` `https://developer.android.com/reference/android/content/ComponentCallbacks2.html#TRIM_MEMORY_RUNNING_LOW = 10`

**This field is deprecated.**
`static final int` `https://developer.android.com/reference/android/content/ComponentCallbacks2.html#TRIM_MEMORY_RUNNING_MODERATE = 5`

**This field is deprecated.**
`static final int` `https://developer.android.com/reference/android/content/ComponentCallbacks2.html#TRIM_MEMORY_UI_HIDDEN = 20` From [android.content.Context](https://developer.android.com/reference/android/content/Context.html) `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#ACCESSIBILITY_SERVICE = "accessibility"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#ACCOUNT_SERVICE = "account"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#ACTIVITY_SERVICE = "activity"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#ADVANCED_PROTECTION_SERVICE = "advanced_protection"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#ALARM_SERVICE = "alarm"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#APPWIDGET_SERVICE = "appwidget"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#APP_FUNCTION_SERVICE = "app_function"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#APP_OPS_SERVICE = "appops"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#APP_SEARCH_SERVICE = "app_search"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#AUDIO_SERVICE = "audio"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#AUTOFILL_SERVICE = "autofill"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#BATTERY_SERVICE = "batterymanager"` `static final int` `https://developer.android.com/reference/android/content/Context.html#BIND_ABOVE_CLIENT = 8` `static final int` `https://developer.android.com/reference/android/content/Context.html#BIND_ADJUST_WITH_ACTIVITY = 128` `static final int` `https://developer.android.com/reference/android/content/Context.html#BIND_ALLOW_ACTIVITY_STARTS = 512` `static final int` `https://developer.android.com/reference/android/content/Context.html#BIND_ALLOW_OOM_MANAGEMENT = 16` `static final int` `https://developer.android.com/reference/android/content/Context.html#BIND_AUTO_CREATE = 1` `static final int` `https://developer.android.com/reference/android/content/Context.html#BIND_DEBUG_UNBIND = 2` `static final int` `https://developer.android.com/reference/android/content/Context.html#BIND_EXTERNAL_SERVICE = -2147483648` `static final long` `https://developer.android.com/reference/android/content/Context.html#BIND_EXTERNAL_SERVICE_LONG = 4611686018427387904` `static final int` `https://developer.android.com/reference/android/content/Context.html#BIND_IMPORTANT = 64` `static final int` `https://developer.android.com/reference/android/content/Context.html#BIND_INCLUDE_CAPABILITIES = 4096` `static final int` `https://developer.android.com/reference/android/content/Context.html#BIND_NOT_FOREGROUND = 4` `static final int` `https://developer.android.com/reference/android/content/Context.html#BIND_NOT_PERCEPTIBLE = 256` `static final int` `https://developer.android.com/reference/android/content/Context.html#BIND_PACKAGE_ISOLATED_PROCESS = 16384` `static final int` `https://developer.android.com/reference/android/content/Context.html#BIND_SHARED_ISOLATED_PROCESS = 8192` `static final int` `https://developer.android.com/reference/android/content/Context.html#BIND_WAIVE_PRIORITY = 32` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#BIOMETRIC_SERVICE = "biometric"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#BLOB_STORE_SERVICE = "blob_store"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#BLUETOOTH_SERVICE = "bluetooth"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#BUGREPORT_SERVICE = "bugreport"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#CAMERA_SERVICE = "camera"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#CAPTIONING_SERVICE = "captioning"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#CARRIER_CONFIG_SERVICE = "carrier_config"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#CHOOSER_SERVICE = "chooser"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#CLIPBOARD_SERVICE = "clipboard"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#COMPANION_DEVICE_SERVICE = "companiondevice"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#CONNECTIVITY_DIAGNOSTICS_SERVICE = "connectivity_diagnostics"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#CONNECTIVITY_SERVICE = "connectivity"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#CONSUMER_IR_SERVICE = "consumer_ir"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#CONTACT_KEYS_SERVICE = "contact_keys"` `static final int` `https://developer.android.com/reference/android/content/Context.html#CONTEXT_IGNORE_SECURITY = 2` `static final int` `https://developer.android.com/reference/android/content/Context.html#CONTEXT_INCLUDE_CODE = 1` `static final int` `https://developer.android.com/reference/android/content/Context.html#CONTEXT_RESTRICTED = 4` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#CREDENTIAL_SERVICE = "credential"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#CROSS_PROFILE_APPS_SERVICE = "crossprofileapps"` `static final int` `https://developer.android.com/reference/android/content/Context.html#DEVICE_ID_DEFAULT = 0` `static final int` `https://developer.android.com/reference/android/content/Context.html#DEVICE_ID_INVALID = -1` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#DEVICE_LOCK_SERVICE = "device_lock"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#DEVICE_POLICY_SERVICE = "device_policy"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#DISPLAY_HASH_SERVICE = "display_hash"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#DISPLAY_SERVICE = "display"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#DOMAIN_VERIFICATION_SERVICE = "domain_verification"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#DOWNLOAD_SERVICE = "download"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#DROPBOX_SERVICE = "dropbox"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#EUICC_SERVICE = "euicc"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#FILE_INTEGRITY_SERVICE = "file_integrity"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#FILE_SERVICE = "file"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#GAME_SERVICE = "game"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#GRAMMATICAL_INFLECTION_SERVICE = "grammatical_inflection"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#HARDWARE_PROPERTIES_SERVICE = "hardware_properties"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#HEALTHCONNECT_SERVICE = "healthconnect"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#INPUT_METHOD_SERVICE = "input_method"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#INPUT_SERVICE = "input"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#IPSEC_SERVICE = "ipsec"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#JOB_SCHEDULER_SERVICE = "jobscheduler"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#KEYGUARD_SERVICE = "keyguard"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#KEYSTORE_SERVICE = "keystore"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#LAUNCHER_APPS_SERVICE = "launcherapps"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#LAYOUT_INFLATER_SERVICE = "layout_inflater"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#LOCALE_SERVICE = "locale"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#LOCATION_SERVICE = "location"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#MEDIA_COMMUNICATION_SERVICE = "media_communication"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#MEDIA_METRICS_SERVICE = "media_metrics"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#MEDIA_PROJECTION_SERVICE = "media_projection"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#MEDIA_QUALITY_SERVICE = "media_quality"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#MEDIA_ROUTER_SERVICE = "media_router"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#MEDIA_SESSION_SERVICE = "media_session"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#MIDI_SERVICE = "midi"` `static final int` `https://developer.android.com/reference/android/content/Context.html#MODE_APPEND = 32768` `static final int` `https://developer.android.com/reference/android/content/Context.html#MODE_ENABLE_WRITE_AHEAD_LOGGING = 8` `static final int` `https://developer.android.com/reference/android/content/Context.html#MODE_MULTI_PROCESS = 4`

**This field is deprecated.**
`static final int` `https://developer.android.com/reference/android/content/Context.html#MODE_NO_LOCALIZED_COLLATORS = 16` `static final int` `https://developer.android.com/reference/android/content/Context.html#MODE_PRIVATE = 0` `static final int` `https://developer.android.com/reference/android/content/Context.html#MODE_WORLD_READABLE = 1`

**This field is deprecated.**
`static final int` `https://developer.android.com/reference/android/content/Context.html#MODE_WORLD_WRITEABLE = 2`

**This field is deprecated.**
`static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#NETWORK_STATS_SERVICE = "netstats"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#NFC_SERVICE = "nfc"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#NOTIFICATION_SERVICE = "notification"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#NPU_SERVICE = "npu"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#NSD_SERVICE = "servicediscovery"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#OVERLAY_SERVICE = "overlay"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#PCC_SANDBOX_SERVICE = "pcc_sandbox"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#PEOPLE_SERVICE = "people"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#PERFORMANCE_HINT_SERVICE = "performance_hint"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#PERSISTENT_DATA_BLOCK_SERVICE = "persistent_data_block"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#POWER_SERVICE = "power"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#PRINT_SERVICE = "print"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#PROFILING_SERVICE = "profiling"` `static final int` `https://developer.android.com/reference/android/content/Context.html#RECEIVER_EXPORTED = 2` `static final int` `https://developer.android.com/reference/android/content/Context.html#RECEIVER_NOT_EXPORTED = 4` `static final int` `https://developer.android.com/reference/android/content/Context.html#RECEIVER_VISIBLE_TO_INSTANT_APPS = 1` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#RESTRICTIONS_SERVICE = "restrictions"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#ROLE_SERVICE = "role"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#SATELLITE_SERVICE = "satellite"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#SEARCH_SERVICE = "search"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#SECURITY_STATE_SERVICE = "security_state"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#SENSOR_SERVICE = "sensor"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#SERIAL_SERVICE = "serial"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#SHORTCUT_SERVICE = "shortcut"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#STATUS_BAR_SERVICE = "statusbar"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#STORAGE_SERVICE = "storage"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#STORAGE_STATS_SERVICE = "storagestats"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#SYSTEM_HEALTH_SERVICE = "systemhealth"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#TELECOM_SERVICE = "telecom"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#TELEPHONY_IMS_SERVICE = "telephony_ims"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#TELEPHONY_PHONE_NUMBER_SERVICE = "telephony_phone_number"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#TELEPHONY_SERVICE = "phone"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#TELEPHONY_SUBSCRIPTION_SERVICE = "telephony_subscription_service"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#TETHERING_SERVICE = "tethering"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#TEXT_CLASSIFICATION_SERVICE = "textclassification"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#TEXT_SERVICES_MANAGER_SERVICE = "textservices"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#TV_AD_SERVICE = "tv_ad"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#TV_INPUT_SERVICE = "tv_input"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#TV_INTERACTIVE_APP_SERVICE = "tv_interactive_app"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#UI_MODE_SERVICE = "uimode"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#USAGE_STATS_SERVICE = "usagestats"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#USB_SERVICE = "usb"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#USER_SERVICE = "user"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#VIBRATOR_MANAGER_SERVICE = "vibrator_manager"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#VIBRATOR_SERVICE = "vibrator"`

**This field is deprecated.**
`static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#VIRTUAL_DEVICE_SERVICE = "virtualdevice"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#VPN_MANAGEMENT_SERVICE = "vpn_management"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#WALLPAPER_SERVICE = "wallpaper"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#WEB_APP_SERVICE = "web_app"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#WIFI_AWARE_SERVICE = "wifiaware"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#WIFI_P2P_SERVICE = "wifip2p"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#WIFI_RTT_RANGING_SERVICE = "wifirtt"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#WIFI_SERVICE = "wifi"` `static final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#WINDOW_SERVICE = "window"`

### Inherited fields

From [androidx.activity.ComponentActivity](https://developer.android.com/reference/androidx/activity/ComponentActivity) `final https://developer.android.com/reference/androidx/activity/result/ActivityResultRegistry` `https://developer.android.com/reference/androidx/activity/ComponentActivity#activityResultRegistry()`

Get the `https://developer.android.com/reference/androidx/activity/result/ActivityResultRegistry` associated with this activity.

### Inherited methods

From [android.app.Activity](https://developer.android.com/reference/android/app/Activity.html) `void` `https://developer.android.com/reference/android/app/Activity.html#addContentView(android.view.View, android.view.ViewGroup.LayoutParams)(https://developer.android.com/reference/android/view/View.html view, https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html params)` `void` `https://developer.android.com/reference/android/app/Activity.html#attachBaseContext(android.content.Context)(https://developer.android.com/reference/android/content/Context.html newBase)` `void` `https://developer.android.com/reference/android/app/Activity.html#clearOverrideActivityTransition(int)(int overrideType)` `void` `https://developer.android.com/reference/android/app/Activity.html#closeContextMenu()()` `void` `https://developer.android.com/reference/android/app/Activity.html#closeOptionsMenu()()` `https://developer.android.com/reference/android/app/PendingIntent.html` `https://developer.android.com/reference/android/app/Activity.html#createPendingResult(int, android.content.Intent, int)(int requestCode, https://developer.android.com/reference/android/content/Intent.html data, int flags)` `final void` `https://developer.android.com/reference/android/app/Activity.html#dismissDialog(int)(int id)`

**This method is deprecated.**
`final void` `https://developer.android.com/reference/android/app/Activity.html#dismissKeyboardShortcutsHelper()()` `boolean` `https://developer.android.com/reference/android/app/Activity.html#dispatchGenericMotionEvent(android.view.MotionEvent)(https://developer.android.com/reference/android/view/MotionEvent.html ev)` `boolean` `https://developer.android.com/reference/android/app/Activity.html#dispatchKeyEvent(android.view.KeyEvent)(https://developer.android.com/reference/android/view/KeyEvent.html event)` `boolean` `https://developer.android.com/reference/android/app/Activity.html#dispatchKeyShortcutEvent(android.view.KeyEvent)(https://developer.android.com/reference/android/view/KeyEvent.html event)` `boolean` `https://developer.android.com/reference/android/app/Activity.html#dispatchPopulateAccessibilityEvent(android.view.accessibility.AccessibilityEvent)(https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html event)` `boolean` `https://developer.android.com/reference/android/app/Activity.html#dispatchTouchEvent(android.view.MotionEvent)(https://developer.android.com/reference/android/view/MotionEvent.html ev)` `boolean` `https://developer.android.com/reference/android/app/Activity.html#dispatchTrackballEvent(android.view.MotionEvent)(https://developer.android.com/reference/android/view/MotionEvent.html ev)` `void` `https://developer.android.com/reference/android/app/Activity.html#dump(java.lang.String, java.io.FileDescriptor, java.io.PrintWriter, java.lang.String[])(https://developer.android.com/reference/java/lang/String.html prefix, https://developer.android.com/reference/java/io/FileDescriptor.html fd, https://developer.android.com/reference/java/io/PrintWriter.html writer, String[] args)` `void` `https://developer.android.com/reference/android/app/Activity.html#enterPictureInPictureMode()()`

**This method is deprecated.**
`boolean` `https://developer.android.com/reference/android/app/Activity.html#enterPictureInPictureMode(android.app.PictureInPictureParams)(https://developer.android.com/reference/android/app/PictureInPictureParams.html params)` `T` `<T extends https://developer.android.com/reference/android/view/View.html> https://developer.android.com/reference/android/app/Activity.html#findViewById(int)(int id)` `void` `https://developer.android.com/reference/android/app/Activity.html#finish()()` `void` `https://developer.android.com/reference/android/app/Activity.html#finishActivity(int)(int requestCode)` `void` `https://developer.android.com/reference/android/app/Activity.html#finishActivityFromChild(android.app.Activity, int)(https://developer.android.com/reference/android/app/Activity.html child, int requestCode)`

**This method is deprecated.**
`void` `https://developer.android.com/reference/android/app/Activity.html#finishAffinity()()` `void` `https://developer.android.com/reference/android/app/Activity.html#finishAfterTransition()()` `void` `https://developer.android.com/reference/android/app/Activity.html#finishAndRemoveTask()()` `void` `https://developer.android.com/reference/android/app/Activity.html#finishFromChild(android.app.Activity)(https://developer.android.com/reference/android/app/Activity.html child)`

**This method is deprecated.**
`https://developer.android.com/reference/android/app/ActionBar.html` `https://developer.android.com/reference/android/app/Activity.html#getActionBar()()` `final https://developer.android.com/reference/android/app/Application.html` `https://developer.android.com/reference/android/app/Activity.html#getApplication()()` `https://developer.android.com/reference/android/app/ComponentCaller.html` `https://developer.android.com/reference/android/app/Activity.html#getCaller()()` `https://developer.android.com/reference/android/content/ComponentName.html` `https://developer.android.com/reference/android/app/Activity.html#getCallingActivity()()` `https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/app/Activity.html#getCallingPackage()()` `int` `https://developer.android.com/reference/android/app/Activity.html#getChangingConfigurations()()` `https://developer.android.com/reference/android/content/ComponentName.html` `https://developer.android.com/reference/android/app/Activity.html#getComponentName()()` `https://developer.android.com/reference/android/transition/Scene.html` `https://developer.android.com/reference/android/app/Activity.html#getContentScene()()` `https://developer.android.com/reference/android/transition/TransitionManager.html` `https://developer.android.com/reference/android/app/Activity.html#getContentTransitionManager()()` `https://developer.android.com/reference/android/app/ComponentCaller.html` `https://developer.android.com/reference/android/app/Activity.html#getCurrentCaller()()` `https://developer.android.com/reference/android/view/View.html` `https://developer.android.com/reference/android/app/Activity.html#getCurrentFocus()()` `https://developer.android.com/reference/android/app/FragmentManager.html` `https://developer.android.com/reference/android/app/Activity.html#getFragmentManager()()`

**This method is deprecated.**
`https://developer.android.com/reference/android/app/ComponentCaller.html` `https://developer.android.com/reference/android/app/Activity.html#getInitialCaller()()` `https://developer.android.com/reference/android/content/Intent.html` `https://developer.android.com/reference/android/app/Activity.html#getIntent()()` `https://developer.android.com/reference/java/lang/Object.html` `https://developer.android.com/reference/android/app/Activity.html#getLastNonConfigurationInstance()()` `https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/app/Activity.html#getLaunchedFromPackage()()` `int` `https://developer.android.com/reference/android/app/Activity.html#getLaunchedFromUid()()` `https://developer.android.com/reference/android/view/LayoutInflater.html` `https://developer.android.com/reference/android/app/Activity.html#getLayoutInflater()()` `https://developer.android.com/reference/android/app/LoaderManager.html` `https://developer.android.com/reference/android/app/Activity.html#getLoaderManager()()`

**This method is deprecated.**
`https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/app/Activity.html#getLocalClassName()()` `int` `https://developer.android.com/reference/android/app/Activity.html#getMaxNumPictureInPictureActions()()` `final https://developer.android.com/reference/android/media/session/MediaController.html` `https://developer.android.com/reference/android/app/Activity.html#getMediaController()()` `https://developer.android.com/reference/android/view/MenuInflater.html` `https://developer.android.com/reference/android/app/Activity.html#getMenuInflater()()` `https://developer.android.com/reference/android/window/OnBackInvokedDispatcher.html` `https://developer.android.com/reference/android/app/Activity.html#getOnBackInvokedDispatcher()()` `final https://developer.android.com/reference/android/app/Activity.html` `https://developer.android.com/reference/android/app/Activity.html#getParent()()`

**This method is deprecated.**
`https://developer.android.com/reference/android/content/Intent.html` `https://developer.android.com/reference/android/app/Activity.html#getParentActivityIntent()()` `https://developer.android.com/reference/android/content/SharedPreferences.html` `https://developer.android.com/reference/android/app/Activity.html#getPreferences(int)(int mode)` `https://developer.android.com/reference/android/net/Uri.html` `https://developer.android.com/reference/android/app/Activity.html#getReferrer()()` `int` `https://developer.android.com/reference/android/app/Activity.html#getRequestedOrientation()()` `final https://developer.android.com/reference/android/view/SearchEvent.html` `https://developer.android.com/reference/android/app/Activity.html#getSearchEvent()()` `final https://developer.android.com/reference/android/window/SplashScreen.html` `https://developer.android.com/reference/android/app/Activity.html#getSplashScreen()()` `https://developer.android.com/reference/java/lang/Object.html` `https://developer.android.com/reference/android/app/Activity.html#getSystemService(java.lang.String)(https://developer.android.com/reference/java/lang/String.html name)` `int` `https://developer.android.com/reference/android/app/Activity.html#getTaskId()()` `final https://developer.android.com/reference/java/lang/CharSequence.html` `https://developer.android.com/reference/android/app/Activity.html#getTitle()()` `final int` `https://developer.android.com/reference/android/app/Activity.html#getTitleColor()()` `https://developer.android.com/reference/android/app/VoiceInteractor.html` `https://developer.android.com/reference/android/app/Activity.html#getVoiceInteractor()()` `final int` `https://developer.android.com/reference/android/app/Activity.html#getVolumeControlStream()()` `https://developer.android.com/reference/android/view/Window.html` `https://developer.android.com/reference/android/app/Activity.html#getWindow()()` `https://developer.android.com/reference/android/view/WindowManager.html` `https://developer.android.com/reference/android/app/Activity.html#getWindowManager()()` `boolean` `https://developer.android.com/reference/android/app/Activity.html#hasWindowFocus()()` `void` `https://developer.android.com/reference/android/app/Activity.html#invalidateOptionsMenu()()` `boolean` `https://developer.android.com/reference/android/app/Activity.html#isActivityTransitionRunning()()` `boolean` `https://developer.android.com/reference/android/app/Activity.html#isChangingConfigurations()()` `final boolean` `https://developer.android.com/reference/android/app/Activity.html#isChild()()`

**This method is deprecated.**
`boolean` `https://developer.android.com/reference/android/app/Activity.html#isDestroyed()()` `boolean` `https://developer.android.com/reference/android/app/Activity.html#isFinishing()()` `final boolean` `https://developer.android.com/reference/android/app/Activity.html#isHandoffEnabled()()` `boolean` `https://developer.android.com/reference/android/app/Activity.html#isImmersive()()` `boolean` `https://developer.android.com/reference/android/app/Activity.html#isInMultiWindowMode()()` `boolean` `https://developer.android.com/reference/android/app/Activity.html#isInPictureInPictureMode()()` `boolean` `https://developer.android.com/reference/android/app/Activity.html#isLaunchedFromBubble()()` `boolean` `https://developer.android.com/reference/android/app/Activity.html#isLocalVoiceInteractionSupported()()` `boolean` `https://developer.android.com/reference/android/app/Activity.html#isTaskRoot()()` `boolean` `https://developer.android.com/reference/android/app/Activity.html#isVoiceInteraction()()` `boolean` `https://developer.android.com/reference/android/app/Activity.html#isVoiceInteractionRoot()()` `final https://developer.android.com/reference/android/database/Cursor.html` `https://developer.android.com/reference/android/app/Activity.html#managedQuery(android.net.Uri, java.lang.String[], java.lang.String, java.lang.String[], java.lang.String)(
https://developer.android.com/reference/android/net/Uri.html uri,
String[] projection,
https://developer.android.com/reference/java/lang/String.html selection,
String[] selectionArgs,
https://developer.android.com/reference/java/lang/String.html sortOrder
)`

**This method is deprecated.**
`boolean` `https://developer.android.com/reference/android/app/Activity.html#moveTaskToBack(boolean)(boolean nonRoot)` `boolean` `https://developer.android.com/reference/android/app/Activity.html#navigateUpTo(android.content.Intent)(https://developer.android.com/reference/android/content/Intent.html upIntent)` `boolean` `https://developer.android.com/reference/android/app/Activity.html#navigateUpToFromChild(android.app.Activity, android.content.Intent)(https://developer.android.com/reference/android/app/Activity.html child, https://developer.android.com/reference/android/content/Intent.html upIntent)`

**This method is deprecated.**
`void` `https://developer.android.com/reference/android/app/Activity.html#onActionModeFinished(android.view.ActionMode)(https://developer.android.com/reference/android/view/ActionMode.html mode)` `void` `https://developer.android.com/reference/android/app/Activity.html#onActionModeStarted(android.view.ActionMode)(https://developer.android.com/reference/android/view/ActionMode.html mode)` `void` `https://developer.android.com/reference/android/app/Activity.html#onActivityReenter(int, android.content.Intent)(int resultCode, https://developer.android.com/reference/android/content/Intent.html data)` `void` `https://developer.android.com/reference/android/app/Activity.html#onActivityResult(int, int, android.content.Intent)(int requestCode, int resultCode, https://developer.android.com/reference/android/content/Intent.html data)` `void` `https://developer.android.com/reference/android/app/Activity.html#onApplyThemeResource(android.content.res.Resources.Theme, int, boolean)(https://developer.android.com/reference/android/content/res/Resources.Theme.html theme, int resid, boolean first)` `void` `https://developer.android.com/reference/android/app/Activity.html#onAttachFragment(android.app.Fragment)(https://developer.android.com/reference/android/app/Fragment.html fragment)`

**This method is deprecated.**
`void` `https://developer.android.com/reference/android/app/Activity.html#onAttachedToWindow()()` `void` `https://developer.android.com/reference/android/app/Activity.html#onBackPressed()()`

**This method is deprecated.**
`void` `https://developer.android.com/reference/android/app/Activity.html#onChildTitleChanged(android.app.Activity, java.lang.CharSequence)(https://developer.android.com/reference/android/app/Activity.html childActivity, https://developer.android.com/reference/java/lang/CharSequence.html title)` `void` `https://developer.android.com/reference/android/app/Activity.html#onConfigurationChanged(android.content.res.Configuration)(https://developer.android.com/reference/android/content/res/Configuration.html newConfig)` `void` `https://developer.android.com/reference/android/app/Activity.html#onContentChanged()()` `boolean` `https://developer.android.com/reference/android/app/Activity.html#onContextItemSelected(android.view.MenuItem)(https://developer.android.com/reference/android/view/MenuItem.html item)` `void` `https://developer.android.com/reference/android/app/Activity.html#onContextMenuClosed(android.view.Menu)(https://developer.android.com/reference/android/view/Menu.html menu)` `void` `https://developer.android.com/reference/android/app/Activity.html#onCreate(android.os.Bundle)(https://developer.android.com/reference/android/os/Bundle.html savedInstanceState)` `void` `https://developer.android.com/reference/android/app/Activity.html#onCreateContextMenu(android.view.ContextMenu, android.view.View, android.view.ContextMenu.ContextMenuInfo)(
https://developer.android.com/reference/android/view/ContextMenu.html menu,
https://developer.android.com/reference/android/view/View.html v,
https://developer.android.com/reference/android/view/ContextMenu.ContextMenuInfo.html menuInfo
)` `https://developer.android.com/reference/java/lang/CharSequence.html` `https://developer.android.com/reference/android/app/Activity.html#onCreateDescription()()` `https://developer.android.com/reference/android/app/Dialog.html` `https://developer.android.com/reference/android/app/Activity.html#onCreateDialog(int)(int id)`

**This method is deprecated.**
`void` `https://developer.android.com/reference/android/app/Activity.html#onCreateNavigateUpTaskStack(android.app.TaskStackBuilder)(https://developer.android.com/reference/android/app/TaskStackBuilder.html builder)` `boolean` `https://developer.android.com/reference/android/app/Activity.html#onCreateOptionsMenu(android.view.Menu)(https://developer.android.com/reference/android/view/Menu.html menu)` `boolean` `https://developer.android.com/reference/android/app/Activity.html#onCreatePanelMenu(int, android.view.Menu)(int featureId, https://developer.android.com/reference/android/view/Menu.html menu)` `https://developer.android.com/reference/android/view/View.html` `https://developer.android.com/reference/android/app/Activity.html#onCreatePanelView(int)(int featureId)` `boolean` `https://developer.android.com/reference/android/app/Activity.html#onCreateThumbnail(android.graphics.Bitmap, android.graphics.Canvas)(https://developer.android.com/reference/android/graphics/Bitmap.html outBitmap, https://developer.android.com/reference/android/graphics/Canvas.html canvas)`

**This method is deprecated.**
`https://developer.android.com/reference/android/view/View.html` `https://developer.android.com/reference/android/app/Activity.html#onCreateView(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet)(
https://developer.android.com/reference/android/view/View.html parent,
https://developer.android.com/reference/java/lang/String.html name,
https://developer.android.com/reference/android/content/Context.html context,
https://developer.android.com/reference/android/util/AttributeSet.html attrs
)` `void` `https://developer.android.com/reference/android/app/Activity.html#onDestroy()()` `void` `https://developer.android.com/reference/android/app/Activity.html#onDetachedFromWindow()()` `void` `https://developer.android.com/reference/android/app/Activity.html#onEnterAnimationComplete()()` `boolean` `https://developer.android.com/reference/android/app/Activity.html#onGenericMotionEvent(android.view.MotionEvent)(https://developer.android.com/reference/android/view/MotionEvent.html event)` `void` `https://developer.android.com/reference/android/app/Activity.html#onGetDirectActions(android.os.CancellationSignal, java.util.function.Consumer&lt;java.util.List&lt;android.app.DirectAction&gt;&gt;)(
https://developer.android.com/reference/android/os/CancellationSignal.html cancellationSignal,
https://developer.android.com/reference/java/util/function/Consumer.html<https://developer.android.com/reference/java/util/List.html<https://developer.android.com/reference/android/app/DirectAction.html>> callback
)` `https://developer.android.com/reference/android/app/HandoffActivityData.html` `https://developer.android.com/reference/android/app/Activity.html#onHandoffActivityDataRequested(android.app.HandoffActivityDataRequestInfo)(
https://developer.android.com/reference/android/app/HandoffActivityDataRequestInfo.html requestInfo
)` `boolean` `https://developer.android.com/reference/android/app/Activity.html#onKeyDown(int, android.view.KeyEvent)(int keyCode, https://developer.android.com/reference/android/view/KeyEvent.html event)` `boolean` `https://developer.android.com/reference/android/app/Activity.html#onKeyLongPress(int, android.view.KeyEvent)(int keyCode, https://developer.android.com/reference/android/view/KeyEvent.html event)` `boolean` `https://developer.android.com/reference/android/app/Activity.html#onKeyMultiple(int, int, android.view.KeyEvent)(int keyCode, int repeatCount, https://developer.android.com/reference/android/view/KeyEvent.html event)` `boolean` `https://developer.android.com/reference/android/app/Activity.html#onKeyShortcut(int, android.view.KeyEvent)(int keyCode, https://developer.android.com/reference/android/view/KeyEvent.html event)` `boolean` `https://developer.android.com/reference/android/app/Activity.html#onKeyUp(int, android.view.KeyEvent)(int keyCode, https://developer.android.com/reference/android/view/KeyEvent.html event)` `void` `https://developer.android.com/reference/android/app/Activity.html#onLocalVoiceInteractionStarted()()` `void` `https://developer.android.com/reference/android/app/Activity.html#onLocalVoiceInteractionStopped()()` `void` `https://developer.android.com/reference/android/app/Activity.html#onLowMemory()()`

**This method is deprecated.**
`boolean` `https://developer.android.com/reference/android/app/Activity.html#onMenuItemSelected(int, android.view.MenuItem)(int featureId, https://developer.android.com/reference/android/view/MenuItem.html item)` `boolean` `https://developer.android.com/reference/android/app/Activity.html#onMenuOpened(int, android.view.Menu)(int featureId, https://developer.android.com/reference/android/view/Menu.html menu)` `void` `https://developer.android.com/reference/android/app/Activity.html#onMultiWindowModeChanged(boolean)(boolean isInMultiWindowMode)`

**This method is deprecated.**
`boolean` `https://developer.android.com/reference/android/app/Activity.html#onNavigateUp()()` `boolean` `https://developer.android.com/reference/android/app/Activity.html#onNavigateUpFromChild(android.app.Activity)(https://developer.android.com/reference/android/app/Activity.html child)`

**This method is deprecated.**
`void` `https://developer.android.com/reference/android/app/Activity.html#onNewIntent(android.content.Intent)(https://developer.android.com/reference/android/content/Intent.html intent)` `boolean` `https://developer.android.com/reference/android/app/Activity.html#onOptionsItemSelected(android.view.MenuItem)(https://developer.android.com/reference/android/view/MenuItem.html item)` `void` `https://developer.android.com/reference/android/app/Activity.html#onOptionsMenuClosed(android.view.Menu)(https://developer.android.com/reference/android/view/Menu.html menu)` `void` `https://developer.android.com/reference/android/app/Activity.html#onPanelClosed(int, android.view.Menu)(int featureId, https://developer.android.com/reference/android/view/Menu.html menu)` `void` `https://developer.android.com/reference/android/app/Activity.html#onPause()()` `void` `https://developer.android.com/reference/android/app/Activity.html#onPerformDirectAction(java.lang.String, android.os.Bundle, android.os.CancellationSignal, java.util.function.Consumer&lt;android.os.Bundle&gt;)(
https://developer.android.com/reference/java/lang/String.html actionId,
https://developer.android.com/reference/android/os/Bundle.html arguments,
https://developer.android.com/reference/android/os/CancellationSignal.html cancellationSignal,
https://developer.android.com/reference/java/util/function/Consumer.html<https://developer.android.com/reference/android/os/Bundle.html> resultListener
)` `void` `https://developer.android.com/reference/android/app/Activity.html#onPictureInPictureModeChanged(boolean)(boolean isInPictureInPictureMode)`

**This method is deprecated.**
`boolean` `https://developer.android.com/reference/android/app/Activity.html#onPictureInPictureRequested()()` `void` `https://developer.android.com/reference/android/app/Activity.html#onPictureInPictureUiStateChanged(android.app.PictureInPictureUiState)(https://developer.android.com/reference/android/app/PictureInPictureUiState.html pipState)` `void` `https://developer.android.com/reference/android/app/Activity.html#onPostCreate(android.os.Bundle)(https://developer.android.com/reference/android/os/Bundle.html savedInstanceState)` `void` `https://developer.android.com/reference/android/app/Activity.html#onPostResume()()` `void` `https://developer.android.com/reference/android/app/Activity.html#onPrepareDialog(int, android.app.Dialog)(int id, https://developer.android.com/reference/android/app/Dialog.html dialog)`

**This method is deprecated.**
`void` `https://developer.android.com/reference/android/app/Activity.html#onPrepareNavigateUpTaskStack(android.app.TaskStackBuilder)(https://developer.android.com/reference/android/app/TaskStackBuilder.html builder)` `boolean` `https://developer.android.com/reference/android/app/Activity.html#onPrepareOptionsMenu(android.view.Menu)(https://developer.android.com/reference/android/view/Menu.html menu)` `boolean` `https://developer.android.com/reference/android/app/Activity.html#onPreparePanel(int, android.view.View, android.view.Menu)(int featureId, https://developer.android.com/reference/android/view/View.html view, https://developer.android.com/reference/android/view/Menu.html menu)` `void` `https://developer.android.com/reference/android/app/Activity.html#onProvideAssistContent(android.app.assist.AssistContent)(https://developer.android.com/reference/android/app/assist/AssistContent.html outContent)` `void` `https://developer.android.com/reference/android/app/Activity.html#onProvideAssistData(android.os.Bundle)(https://developer.android.com/reference/android/os/Bundle.html data)` `void` `https://developer.android.com/reference/android/app/Activity.html#onProvideKeyboardShortcuts(java.util.List&lt;android.view.KeyboardShortcutGroup&gt;, android.view.Menu, int)(
https://developer.android.com/reference/java/util/List.html<https://developer.android.com/reference/android/view/KeyboardShortcutGroup.html> data,
https://developer.android.com/reference/android/view/Menu.html menu,
int deviceId
)` `https://developer.android.com/reference/android/net/Uri.html` `https://developer.android.com/reference/android/app/Activity.html#onProvideReferrer()()` `void` `https://developer.android.com/reference/android/app/Activity.html#onRequestPermissionsResult(int, java.lang.String[], int[])(
int requestCode,
String[] permissions,
int[] grantResults
)` `void` `https://developer.android.com/reference/android/app/Activity.html#onRestart()()` `void` `https://developer.android.com/reference/android/app/Activity.html#onRestoreInstanceState(android.os.Bundle)(https://developer.android.com/reference/android/os/Bundle.html savedInstanceState)` `void` `https://developer.android.com/reference/android/app/Activity.html#onResume()()` `https://developer.android.com/reference/java/lang/Object.html` `https://developer.android.com/reference/android/app/Activity.html#onRetainNonConfigurationInstance()()` `void` `https://developer.android.com/reference/android/app/Activity.html#onSaveInstanceState(android.os.Bundle)(https://developer.android.com/reference/android/os/Bundle.html outState)` `boolean` `https://developer.android.com/reference/android/app/Activity.html#onSearchRequested()()` `void` `https://developer.android.com/reference/android/app/Activity.html#onStart()()` `void` `https://developer.android.com/reference/android/app/Activity.html#onStateNotSaved()()`

**This method is deprecated.**
`void` `https://developer.android.com/reference/android/app/Activity.html#onStop()()` `void` `https://developer.android.com/reference/android/app/Activity.html#onTitleChanged(java.lang.CharSequence, int)(https://developer.android.com/reference/java/lang/CharSequence.html title, int color)` `void` `https://developer.android.com/reference/android/app/Activity.html#onTopResumedActivityChanged(boolean)(boolean isTopResumedActivity)` `boolean` `https://developer.android.com/reference/android/app/Activity.html#onTouchEvent(android.view.MotionEvent)(https://developer.android.com/reference/android/view/MotionEvent.html event)` `boolean` `https://developer.android.com/reference/android/app/Activity.html#onTrackballEvent(android.view.MotionEvent)(https://developer.android.com/reference/android/view/MotionEvent.html event)` `void` `https://developer.android.com/reference/android/app/Activity.html#onTrimMemory(int)(int level)` `void` `https://developer.android.com/reference/android/app/Activity.html#onUserInteraction()()` `void` `https://developer.android.com/reference/android/app/Activity.html#onUserLeaveHint()()` `void` `https://developer.android.com/reference/android/app/Activity.html#onVisibleBehindCanceled()()`

**This method is deprecated.**
`void` `https://developer.android.com/reference/android/app/Activity.html#onWindowAttributesChanged(android.view.WindowManager.LayoutParams)(https://developer.android.com/reference/android/view/WindowManager.LayoutParams.html params)` `void` `https://developer.android.com/reference/android/app/Activity.html#onWindowFocusChanged(boolean)(boolean hasFocus)` `https://developer.android.com/reference/android/view/ActionMode.html` `https://developer.android.com/reference/android/app/Activity.html#onWindowStartingActionMode(android.view.ActionMode.Callback)(https://developer.android.com/reference/android/view/ActionMode.Callback.html callback)` `void` `https://developer.android.com/reference/android/app/Activity.html#openContextMenu(android.view.View)(https://developer.android.com/reference/android/view/View.html view)` `void` `https://developer.android.com/reference/android/app/Activity.html#openOptionsMenu()()` `void` `https://developer.android.com/reference/android/app/Activity.html#overrideActivityTransition(int, int, int)(
int overrideType,
int enterAnim,
int exitAnim
)` `void` `https://developer.android.com/reference/android/app/Activity.html#overridePendingTransition(int, int)(int enterAnim, int exitAnim)`

**This method is deprecated.**
`void` `https://developer.android.com/reference/android/app/Activity.html#postponeEnterTransition()()` `void` `https://developer.android.com/reference/android/app/Activity.html#recreate()()` `void` `https://developer.android.com/reference/android/app/Activity.html#registerActivityLifecycleCallbacks(android.app.Application.ActivityLifecycleCallbacks)(
https://developer.android.com/reference/android/app/Application.ActivityLifecycleCallbacks.html callback
)` `void` `https://developer.android.com/reference/android/app/Activity.html#registerComponentCallbacks(android.content.ComponentCallbacks)(https://developer.android.com/reference/android/content/ComponentCallbacks.html callback)` `void` `https://developer.android.com/reference/android/app/Activity.html#registerForContextMenu(android.view.View)(https://developer.android.com/reference/android/view/View.html view)` `void` `https://developer.android.com/reference/android/app/Activity.html#registerScreenCaptureCallback(java.util.concurrent.Executor, android.app.Activity.ScreenCaptureCallback)(
https://developer.android.com/reference/java/util/concurrent/Executor.html executor,
https://developer.android.com/reference/android/app/Activity.ScreenCaptureCallback.html callback
)` `boolean` `https://developer.android.com/reference/android/app/Activity.html#releaseInstance()()` `final void` `https://developer.android.com/reference/android/app/Activity.html#removeDialog(int)(int id)`

**This method is deprecated.**
`void` `https://developer.android.com/reference/android/app/Activity.html#reportFullyDrawn()()` `https://developer.android.com/reference/android/view/DragAndDropPermissions.html` `https://developer.android.com/reference/android/app/Activity.html#requestDragAndDropPermissions(android.view.DragEvent)(https://developer.android.com/reference/android/view/DragEvent.html event)` `void` `https://developer.android.com/reference/android/app/Activity.html#requestFullscreenMode(int, android.os.OutcomeReceiver&lt;java.lang.Void,java.lang.Throwable&gt;)(
int request,
https://developer.android.com/reference/android/os/OutcomeReceiver.html<https://developer.android.com/reference/java/lang/Void.html, https://developer.android.com/reference/java/lang/Throwable.html> approvalCallback
)` `final void` `https://developer.android.com/reference/android/app/Activity.html#requestOpenInBrowserEducation()()` `final void` `https://developer.android.com/reference/android/app/Activity.html#requestPermissions(java.lang.String[], int)(String[] permissions, int requestCode)` `final void` `https://developer.android.com/reference/android/app/Activity.html#requestShowKeyboardShortcuts()()` `boolean` `https://developer.android.com/reference/android/app/Activity.html#requestVisibleBehind(boolean)(boolean visible)`

**This method is deprecated.**
`final boolean` `https://developer.android.com/reference/android/app/Activity.html#requestWindowFeature(int)(int featureId)` `final T` `<T extends https://developer.android.com/reference/android/view/View.html> https://developer.android.com/reference/android/app/Activity.html#requireViewById(int)(int id)` `final void` `https://developer.android.com/reference/android/app/Activity.html#runOnUiThread(java.lang.Runnable)(https://developer.android.com/reference/java/lang/Runnable.html action)` `void` `https://developer.android.com/reference/android/app/Activity.html#setActionBar(android.widget.Toolbar)(https://developer.android.com/reference/android/widget/Toolbar.html toolbar)` `void` `https://developer.android.com/reference/android/app/Activity.html#setAllowCrossUidActivitySwitchFromBelow(boolean)(boolean allowed)` `void` `https://developer.android.com/reference/android/app/Activity.html#setContentTransitionManager(android.transition.TransitionManager)(https://developer.android.com/reference/android/transition/TransitionManager.html tm)` `void` `https://developer.android.com/reference/android/app/Activity.html#setContentView(android.view.View)(https://developer.android.com/reference/android/view/View.html view)` `final void` `https://developer.android.com/reference/android/app/Activity.html#setDefaultKeyMode(int)(int mode)` `void` `https://developer.android.com/reference/android/app/Activity.html#setEnterSharedElementCallback(android.app.SharedElementCallback)(https://developer.android.com/reference/android/app/SharedElementCallback.html callback)` `void` `https://developer.android.com/reference/android/app/Activity.html#setExitSharedElementCallback(android.app.SharedElementCallback)(https://developer.android.com/reference/android/app/SharedElementCallback.html callback)` `final void` `https://developer.android.com/reference/android/app/Activity.html#setFeatureDrawable(int, android.graphics.drawable.Drawable)(int featureId, https://developer.android.com/reference/android/graphics/drawable/Drawable.html drawable)` `final void` `https://developer.android.com/reference/android/app/Activity.html#setFeatureDrawableAlpha(int, int)(int featureId, int alpha)` `final void` `https://developer.android.com/reference/android/app/Activity.html#setFeatureDrawableResource(int, int)(int featureId, int resId)` `final void` `https://developer.android.com/reference/android/app/Activity.html#setFeatureDrawableUri(int, android.net.Uri)(int featureId, https://developer.android.com/reference/android/net/Uri.html uri)` `void` `https://developer.android.com/reference/android/app/Activity.html#setFinishOnTouchOutside(boolean)(boolean finish)` `final void` `https://developer.android.com/reference/android/app/Activity.html#setHandoffEnabled(boolean, android.app.HandoffActivityParams)(
boolean handoffEnabled,
https://developer.android.com/reference/android/app/HandoffActivityParams.html handoffActivityParams
)` `void` `https://developer.android.com/reference/android/app/Activity.html#setImmersive(boolean)(boolean i)` `void` `https://developer.android.com/reference/android/app/Activity.html#setInheritShowWhenLocked(boolean)(boolean inheritShowWhenLocked)` `void` `https://developer.android.com/reference/android/app/Activity.html#setIntent(android.content.Intent)(https://developer.android.com/reference/android/content/Intent.html newIntent)` `void` `https://developer.android.com/reference/android/app/Activity.html#setLocusContext(android.content.LocusId, android.os.Bundle)(https://developer.android.com/reference/android/content/LocusId.html locusId, https://developer.android.com/reference/android/os/Bundle.html bundle)` `final void` `https://developer.android.com/reference/android/app/Activity.html#setMediaController(android.media.session.MediaController)(https://developer.android.com/reference/android/media/session/MediaController.html controller)` `void` `https://developer.android.com/reference/android/app/Activity.html#setPictureInPictureParams(android.app.PictureInPictureParams)(https://developer.android.com/reference/android/app/PictureInPictureParams.html params)` `final void` `https://developer.android.com/reference/android/app/Activity.html#setProgress(int)(int progress)`

**This method is deprecated.**
`final void` `https://developer.android.com/reference/android/app/Activity.html#setProgressBarIndeterminate(boolean)(boolean indeterminate)`

**This method is deprecated.**
`final void` `https://developer.android.com/reference/android/app/Activity.html#setProgressBarIndeterminateVisibility(boolean)(boolean visible)`

**This method is deprecated.**
`final void` `https://developer.android.com/reference/android/app/Activity.html#setProgressBarVisibility(boolean)(boolean visible)`

**This method is deprecated.**
`void` `https://developer.android.com/reference/android/app/Activity.html#setRecentsScreenshotEnabled(boolean)(boolean enabled)` `void` `https://developer.android.com/reference/android/app/Activity.html#setRequestedOrientation(int)(int requestedOrientation)` `final void` `https://developer.android.com/reference/android/app/Activity.html#setResult(int)(int resultCode)` `final void` `https://developer.android.com/reference/android/app/Activity.html#setSecondaryProgress(int)(int secondaryProgress)`

**This method is deprecated.**
`void` `https://developer.android.com/reference/android/app/Activity.html#setShouldDockBigOverlays(boolean)(boolean shouldDockBigOverlays)` `void` `https://developer.android.com/reference/android/app/Activity.html#setShowWhenLocked(boolean)(boolean showWhenLocked)` `void` `https://developer.android.com/reference/android/app/Activity.html#setTaskDescription(android.app.ActivityManager.TaskDescription)(https://developer.android.com/reference/android/app/ActivityManager.TaskDescription.html taskDescription)` `void` `https://developer.android.com/reference/android/app/Activity.html#setTheme(int)(int resid)` `void` `https://developer.android.com/reference/android/app/Activity.html#setTitle(int)(int titleId)` `void` `https://developer.android.com/reference/android/app/Activity.html#setTitleColor(int)(int textColor)`

**This method is deprecated.**
`boolean` `https://developer.android.com/reference/android/app/Activity.html#setTranslucent(boolean)(boolean translucent)` `void` `https://developer.android.com/reference/android/app/Activity.html#setTurnScreenOn(boolean)(boolean turnScreenOn)` `void` `https://developer.android.com/reference/android/app/Activity.html#setVisible(boolean)(boolean visible)` `final void` `https://developer.android.com/reference/android/app/Activity.html#setVolumeControlStream(int)(int streamType)` `void` `https://developer.android.com/reference/android/app/Activity.html#setVrModeEnabled(boolean, android.content.ComponentName)(boolean enabled, https://developer.android.com/reference/android/content/ComponentName.html requestedComponent)` `boolean` `https://developer.android.com/reference/android/app/Activity.html#shouldDockBigOverlays()()` `boolean` `https://developer.android.com/reference/android/app/Activity.html#shouldShowRequestPermissionRationale(java.lang.String)(https://developer.android.com/reference/java/lang/String.html permission)` `boolean` `https://developer.android.com/reference/android/app/Activity.html#shouldUpRecreateTask(android.content.Intent)(https://developer.android.com/reference/android/content/Intent.html targetIntent)` `boolean` `https://developer.android.com/reference/android/app/Activity.html#showAssist(android.os.Bundle)(https://developer.android.com/reference/android/os/Bundle.html args)` `final void` `https://developer.android.com/reference/android/app/Activity.html#showDialog(int)(int id)`

**This method is deprecated.**
`final boolean` `https://developer.android.com/reference/android/app/Activity.html#showDialog(int, android.os.Bundle)(int id, https://developer.android.com/reference/android/os/Bundle.html args)`

**This method is deprecated.**
`void` `https://developer.android.com/reference/android/app/Activity.html#showLockTaskEscapeMessage()()` `https://developer.android.com/reference/android/view/ActionMode.html` `https://developer.android.com/reference/android/app/Activity.html#startActionMode(android.view.ActionMode.Callback)(https://developer.android.com/reference/android/view/ActionMode.Callback.html callback)` `void` `https://developer.android.com/reference/android/app/Activity.html#startActivities(android.content.Intent[])(Intent[] intents)` `void` `https://developer.android.com/reference/android/app/Activity.html#startActivity(android.content.Intent)(https://developer.android.com/reference/android/content/Intent.html intent)` `void` `https://developer.android.com/reference/android/app/Activity.html#startActivityForResult(android.content.Intent, int)(https://developer.android.com/reference/android/content/Intent.html intent, int requestCode)` `void` `https://developer.android.com/reference/android/app/Activity.html#startActivityFromChild(android.app.Activity, android.content.Intent, int)(https://developer.android.com/reference/android/app/Activity.html child, https://developer.android.com/reference/android/content/Intent.html intent, int requestCode)`

**This method is deprecated.**
`void` `https://developer.android.com/reference/android/app/Activity.html#startActivityFromFragment(android.app.Fragment, android.content.Intent, int)(
https://developer.android.com/reference/android/app/Fragment.html fragment,
https://developer.android.com/reference/android/content/Intent.html intent,
int requestCode
)`

**This method is deprecated.**
`boolean` `https://developer.android.com/reference/android/app/Activity.html#startActivityIfNeeded(android.content.Intent, int)(https://developer.android.com/reference/android/content/Intent.html intent, int requestCode)` `void` `https://developer.android.com/reference/android/app/Activity.html#startIntentSender(android.content.IntentSender, android.content.Intent, int, int, int)(
https://developer.android.com/reference/android/content/IntentSender.html intent,
https://developer.android.com/reference/android/content/Intent.html fillInIntent,
int flagsMask,
int flagsValues,
int extraFlags
)` `void` `https://developer.android.com/reference/android/app/Activity.html#startIntentSenderForResult(android.content.IntentSender, int, android.content.Intent, int, int, int)(
https://developer.android.com/reference/android/content/IntentSender.html intent,
int requestCode,
https://developer.android.com/reference/android/content/Intent.html fillInIntent,
int flagsMask,
int flagsValues,
int extraFlags
)` `void` `https://developer.android.com/reference/android/app/Activity.html#startIntentSenderFromChild(android.app.Activity, android.content.IntentSender, int, android.content.Intent, int, int, int)(
https://developer.android.com/reference/android/app/Activity.html child,
https://developer.android.com/reference/android/content/IntentSender.html intent,
int requestCode,
https://developer.android.com/reference/android/content/Intent.html fillInIntent,
int flagsMask,
int flagsValues,
int extraFlags
)`

**This method is deprecated.**
`void` `https://developer.android.com/reference/android/app/Activity.html#startLocalVoiceInteraction(android.os.Bundle)(https://developer.android.com/reference/android/os/Bundle.html privateOptions)` `void` `https://developer.android.com/reference/android/app/Activity.html#startLockTask()()` `void` `https://developer.android.com/reference/android/app/Activity.html#startManagingCursor(android.database.Cursor)(https://developer.android.com/reference/android/database/Cursor.html c)`

**This method is deprecated.**
`boolean` `https://developer.android.com/reference/android/app/Activity.html#startNextMatchingActivity(android.content.Intent)(https://developer.android.com/reference/android/content/Intent.html intent)` `void` `https://developer.android.com/reference/android/app/Activity.html#startPostponedEnterTransition()()` `void` `https://developer.android.com/reference/android/app/Activity.html#startSearch(java.lang.String, boolean, android.os.Bundle, boolean)(
https://developer.android.com/reference/java/lang/String.html initialQuery,
boolean selectInitialQuery,
https://developer.android.com/reference/android/os/Bundle.html appSearchData,
boolean globalSearch
)` `void` `https://developer.android.com/reference/android/app/Activity.html#stopLocalVoiceInteraction()()` `void` `https://developer.android.com/reference/android/app/Activity.html#stopLockTask()()` `void` `https://developer.android.com/reference/android/app/Activity.html#stopManagingCursor(android.database.Cursor)(https://developer.android.com/reference/android/database/Cursor.html c)`

**This method is deprecated.**
`void` `https://developer.android.com/reference/android/app/Activity.html#takeKeyEvents(boolean)(boolean get)` `void` `https://developer.android.com/reference/android/app/Activity.html#triggerSearch(java.lang.String, android.os.Bundle)(https://developer.android.com/reference/java/lang/String.html query, https://developer.android.com/reference/android/os/Bundle.html appSearchData)` `void` `https://developer.android.com/reference/android/app/Activity.html#unregisterActivityLifecycleCallbacks(android.app.Application.ActivityLifecycleCallbacks)(
https://developer.android.com/reference/android/app/Application.ActivityLifecycleCallbacks.html callback
)` `void` `https://developer.android.com/reference/android/app/Activity.html#unregisterComponentCallbacks(android.content.ComponentCallbacks)(https://developer.android.com/reference/android/content/ComponentCallbacks.html callback)` `void` `https://developer.android.com/reference/android/app/Activity.html#unregisterForContextMenu(android.view.View)(https://developer.android.com/reference/android/view/View.html view)` `void` `https://developer.android.com/reference/android/app/Activity.html#unregisterScreenCaptureCallback(android.app.Activity.ScreenCaptureCallback)(
https://developer.android.com/reference/android/app/Activity.ScreenCaptureCallback.html callback
)` From [androidx.core.app.ActivityCompat.OnRequestPermissionsResultCallback](https://developer.android.com/reference/androidx/core/app/ActivityCompat.OnRequestPermissionsResultCallback) `abstract void` `https://developer.android.com/reference/androidx/core/app/ActivityCompat.OnRequestPermissionsResultCallback#onRequestPermissionsResult(int,java.lang.String[],int[])(
int requestCode,
@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html String[] permissions,
@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html int[] grantResults
)`

Callback for the result from requesting permissions.
From [androidx.activity.result.ActivityResultCaller](https://developer.android.com/reference/androidx/activity/result/ActivityResultCaller) `abstract https://developer.android.com/reference/androidx/activity/result/ActivityResultLauncher<I>` `<I, O> https://developer.android.com/reference/androidx/activity/result/ActivityResultCaller#registerForActivityResult(androidx.activity.result.contract.ActivityResultContract<I,O>,androidx.activity.result.ActivityResultCallback<O>)(
https://developer.android.com/reference/androidx/activity/result/contract/ActivityResultContract<I, O> contract,
https://developer.android.com/reference/androidx/activity/result/ActivityResultCallback<O> callback
)`

Register a request to `https://developer.android.com/reference/android/app/Activity.html#startActivityForResult(android.content.Intent, int)`, designated by the given `https://developer.android.com/reference/androidx/activity/result/contract/ActivityResultContract`.
From [androidx.car.app.activity.BaseCarAppActivity](https://developer.android.com/reference/androidx/car/app/activity/BaseCarAppActivity) `void` `https://developer.android.com/reference/androidx/car/app/activity/BaseCarAppActivity#bindToViewModel(androidx.car.app.SessionInfo)(@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/androidx/car/app/SessionInfo sessionInfo)`

Binds the `https://developer.android.com/reference/androidx/car/app/activity/BaseCarAppActivity` and it's view against the view model.
`@https://jspecify.dev/docs/api/org/jspecify/annotations/Nullable.html https://developer.android.com/reference/android/content/ComponentName.html` `https://developer.android.com/reference/androidx/car/app/activity/BaseCarAppActivity#getServiceComponentName()()`

Retrieves the `https://developer.android.com/reference/android/content/ComponentName.html` to which the view model will talk in order to render.
`void` `https://developer.android.com/reference/androidx/car/app/activity/BaseCarAppActivity#onBackPressed()()`

Called when the activity has detected the user's press of the back key.
`void` `https://developer.android.com/reference/androidx/car/app/activity/BaseCarAppActivity#onDestroy()()`

Destroy all fragments.
`void` `https://developer.android.com/reference/androidx/car/app/activity/BaseCarAppActivity#onNewIntent(android.content.Intent)(@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/android/content/Intent.html intent)`

{@inheritDoc}
`void` `https://developer.android.com/reference/androidx/car/app/activity/BaseCarAppActivity#onPause()()`

Dispatch onPause() to fragments.
From [androidx.activity.ComponentActivity](https://developer.android.com/reference/androidx/activity/ComponentActivity) `void` `https://developer.android.com/reference/androidx/activity/ComponentActivity#addContentView(android.view.View,android.view.ViewGroup.LayoutParams)(https://developer.android.com/reference/android/view/View.html view, https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html params)` `void` `https://developer.android.com/reference/androidx/activity/ComponentActivity#addMenuProvider(androidx.core.view.MenuProvider)(https://developer.android.com/reference/androidx/core/view/MenuProvider provider)`

Adds the given `https://developer.android.com/reference/androidx/core/view/MenuProvider` to this `https://developer.android.com/reference/androidx/core/view/MenuHost`.
`final void` `https://developer.android.com/reference/androidx/activity/ComponentActivity#addOnConfigurationChangedListener(androidx.core.util.Consumer<android.content.res.Configuration>)(https://developer.android.com/reference/androidx/core/util/Consumer<https://developer.android.com/reference/android/content/res/Configuration.html> listener)`

Add a new listener that will get a callback associated with `https://developer.android.com/reference/android/content/ComponentCallbacks.html#onConfigurationChanged(android.content.res.Configuration)` with the new `https://developer.android.com/reference/android/content/res/Configuration.html`.
`final void` `https://developer.android.com/reference/androidx/activity/ComponentActivity#addOnContextAvailableListener(androidx.activity.contextaware.OnContextAvailableListener)(https://developer.android.com/reference/androidx/activity/contextaware/OnContextAvailableListener listener)`

{@inheritDoc}
`final void` `https://developer.android.com/reference/androidx/activity/ComponentActivity#addOnMultiWindowModeChangedListener(androidx.core.util.Consumer<androidx.core.app.MultiWindowModeChangedInfo>)(
https://developer.android.com/reference/androidx/core/util/Consumer<https://developer.android.com/reference/androidx/core/app/MultiWindowModeChangedInfo> listener
)`

Add a new listener that will get a callback associated with `https://developer.android.com/reference/android/app/Activity.html#onMultiWindowModeChanged(boolean)` with the new `https://developer.android.com/reference/androidx/core/app/MultiWindowModeChangedInfo`.
`final void` `https://developer.android.com/reference/androidx/activity/ComponentActivity#addOnNewIntentListener(androidx.core.util.Consumer<android.content.Intent>)(https://developer.android.com/reference/androidx/core/util/Consumer<https://developer.android.com/reference/android/content/Intent.html> listener)`

Add a new listener that will get a callback associated with `https://developer.android.com/reference/android/app/Activity.html#onNewIntent(android.content.Intent)` with the new `https://developer.android.com/reference/android/content/Intent.html`.
`final void` `https://developer.android.com/reference/androidx/activity/ComponentActivity#addOnPictureInPictureModeChangedListener(androidx.core.util.Consumer<androidx.core.app.PictureInPictureModeChangedInfo>)(
https://developer.android.com/reference/androidx/core/util/Consumer<https://developer.android.com/reference/androidx/core/app/PictureInPictureModeChangedInfo> listener
)`

Add a new listener that will get a callback associated with `https://developer.android.com/reference/android/app/Activity.html#onPictureInPictureModeChanged(boolean)` with the new `https://developer.android.com/reference/androidx/core/app/PictureInPictureModeChangedInfo`.
`final void` `https://developer.android.com/reference/androidx/activity/ComponentActivity#addOnPictureInPictureUiStateChangedListener(androidx.core.util.Consumer<androidx.core.app.PictureInPictureUiStateCompat>)(
https://developer.android.com/reference/androidx/core/util/Consumer<https://developer.android.com/reference/androidx/core/app/PictureInPictureUiStateCompat> listener
)`

Add a new listener that will get a callback associated with `https://developer.android.com/reference/android/app/Activity.html#onPictureInPictureUiStateChanged(android.app.PictureInPictureUiState)` with the new `https://developer.android.com/reference/androidx/core/app/PictureInPictureUiStateCompat`.
`final void` `https://developer.android.com/reference/androidx/activity/ComponentActivity#addOnTrimMemoryListener(androidx.core.util.Consumer<java.lang.Integer>)(https://developer.android.com/reference/androidx/core/util/Consumer<https://developer.android.com/reference/java/lang/Integer.html> listener)`

Add a new listener that will get a callback associated with `https://developer.android.com/reference/android/content/ComponentCallbacks2.html#onTrimMemory(int)` with the `int` representing the level of trimming.
`final void` `https://developer.android.com/reference/androidx/activity/ComponentActivity#addOnUserLeaveHintListener(java.lang.Runnable)(https://developer.android.com/reference/java/lang/Runnable.html listener)`

Add a new listener that will get a callback associated with `https://developer.android.com/reference/android/app/Activity.html#onUserLeaveHint()`
`final void` `https://developer.android.com/reference/androidx/activity/ComponentActivity#enterPictureInPictureMode(androidx.core.app.PictureInPictureParamsCompat)(https://developer.android.com/reference/androidx/core/app/PictureInPictureParamsCompat params)`

Available since API 24 in the framework Activity class, puts the activity in picture-in-picture mode if possible in the current system state.
`final https://developer.android.com/reference/androidx/activity/result/ActivityResultRegistry` `https://developer.android.com/reference/androidx/activity/ComponentActivity#getActivityResultRegistry()()`

Get the `https://developer.android.com/reference/androidx/activity/result/ActivityResultRegistry` associated with this activity.
`https://developer.android.com/reference/android/os/Bundle.html` `https://developer.android.com/reference/androidx/activity/ComponentActivity#getDefaultViewModelArgs()()`

The default arguments `https://developer.android.com/reference/android/os/Bundle.html` to pass to `https://developer.android.com/reference/androidx/lifecycle/package-summary#DEFAULT_ARGS_KEY()` in `https://developer.android.com/reference/androidx/activity/ComponentActivity#defaultViewModelCreationExtras()`.
`https://developer.android.com/reference/androidx/lifecycle/viewmodel/CreationExtras` `https://developer.android.com/reference/androidx/activity/ComponentActivity#getDefaultViewModelCreationExtras()()`

The default `https://developer.android.com/reference/androidx/lifecycle/viewmodel/CreationExtras` to pass into `https://developer.android.com/reference/androidx/lifecycle/ViewModelProvider.Factory#create(kotlin.reflect.KClass,androidx.lifecycle.viewmodel.CreationExtras)` when no overriding `https://developer.android.com/reference/androidx/lifecycle/viewmodel/CreationExtras` are provided.
`https://developer.android.com/reference/androidx/lifecycle/ViewModelProvider.Factory` `https://developer.android.com/reference/androidx/activity/ComponentActivity#getDefaultViewModelProviderFactory()()`

The default `https://developer.android.com/reference/androidx/lifecycle/ViewModelProvider.Factory` to use when no custom `https://developer.android.com/reference/androidx/lifecycle/ViewModelProvider.Factory` is provided to the `https://developer.android.com/reference/androidx/lifecycle/ViewModelProvider`.
`https://developer.android.com/reference/androidx/activity/FullyDrawnReporter` `https://developer.android.com/reference/androidx/activity/ComponentActivity#getFullyDrawnReporter()()`

Retrieve the `https://developer.android.com/reference/androidx/activity/FullyDrawnReporter` that should handle the independent parts of the UI that separately report that they are fully drawn.
`https://developer.android.com/reference/java/lang/Object.html` `https://developer.android.com/reference/androidx/activity/ComponentActivity#getLastCustomNonConfigurationInstance()()` `https://developer.android.com/reference/androidx/lifecycle/Lifecycle` `https://developer.android.com/reference/androidx/activity/ComponentActivity#getLifecycle()()`

{@inheritDoc}
`https://developer.android.com/reference/androidx/navigationevent/NavigationEventDispatcher` `https://developer.android.com/reference/androidx/activity/ComponentActivity#getNavigationEventDispatcher()()`

Lazily provides a `https://developer.android.com/reference/androidx/navigationevent/NavigationEventDispatcher` for back navigation handling, including support for predictive back gestures introduced in Android 13 (API 33+).
`final https://developer.android.com/reference/androidx/activity/OnBackPressedDispatcher` `https://developer.android.com/reference/androidx/activity/ComponentActivity#getOnBackPressedDispatcher()()`

Retrieve the `https://developer.android.com/reference/androidx/activity/OnBackPressedDispatcher` that will be triggered when `https://developer.android.com/reference/androidx/activity/ComponentActivity#onBackPressed()` is called.
`final https://developer.android.com/reference/androidx/savedstate/SavedStateRegistry` `https://developer.android.com/reference/androidx/activity/ComponentActivity#getSavedStateRegistry()()`

The `https://developer.android.com/reference/androidx/savedstate/SavedStateRegistry` owned by this `https://developer.android.com/reference/androidx/savedstate/SavedStateRegistryOwner`.
`https://developer.android.com/reference/androidx/lifecycle/ViewModelStore` `https://developer.android.com/reference/androidx/activity/ComponentActivity#getViewModelStore()()`

The owned `https://developer.android.com/reference/androidx/lifecycle/ViewModelStore`
`void` `https://developer.android.com/reference/androidx/activity/ComponentActivity#initializeViewTreeOwners()()`

Sets the view tree owners before setting the content view so that the inflation process and attach listeners will see them already present.
`void` `https://developer.android.com/reference/androidx/activity/ComponentActivity#invalidateMenu()()`

Invalidates the `https://developer.android.com/reference/android/view/Menu.html` to ensure that what is displayed matches the current internal state of the menu.
`void` `https://developer.android.com/reference/androidx/activity/ComponentActivity#onActivityResult(int,int,android.content.Intent)(int requestCode, int resultCode, https://developer.android.com/reference/android/content/Intent.html data)`

{@inheritDoc}
`void` `https://developer.android.com/reference/androidx/activity/ComponentActivity#onBackPressed()()`

Called when the activity has detected the user's press of the back key.
`void` `https://developer.android.com/reference/androidx/activity/ComponentActivity#onConfigurationChanged(android.content.res.Configuration)(https://developer.android.com/reference/android/content/res/Configuration.html newConfig)`

{@inheritDoc}
`void` `https://developer.android.com/reference/androidx/activity/ComponentActivity#onCreate(android.os.Bundle)(https://developer.android.com/reference/android/os/Bundle.html savedInstanceState)`

{@inheritDoc}
`boolean` `https://developer.android.com/reference/androidx/activity/ComponentActivity#onCreatePanelMenu(int,android.view.Menu)(int featureId, https://developer.android.com/reference/android/view/Menu.html menu)` `boolean` `https://developer.android.com/reference/androidx/activity/ComponentActivity#onMenuItemSelected(int,android.view.MenuItem)(int featureId, https://developer.android.com/reference/android/view/MenuItem.html item)` `void` `https://developer.android.com/reference/androidx/activity/ComponentActivity#onMultiWindowModeChanged(boolean)(boolean isInMultiWindowMode)`

{@inheritDoc}
`void` `https://developer.android.com/reference/androidx/activity/ComponentActivity#onNewIntent(android.content.Intent)(https://developer.android.com/reference/android/content/Intent.html intent)`

{@inheritDoc}
`void` `https://developer.android.com/reference/androidx/activity/ComponentActivity#onPanelClosed(int,android.view.Menu)(int featureId, https://developer.android.com/reference/android/view/Menu.html menu)` `void` `https://developer.android.com/reference/androidx/activity/ComponentActivity#onPictureInPictureModeChanged(boolean)(boolean isInPictureInPictureMode)`

{@inheritDoc}
`void` `https://developer.android.com/reference/androidx/activity/ComponentActivity#onPictureInPictureUiStateChanged(android.app.PictureInPictureUiState)(https://developer.android.com/reference/android/app/PictureInPictureUiState.html pipState)`

{@inheritDoc}
`boolean` `https://developer.android.com/reference/androidx/activity/ComponentActivity#onPreparePanel(int,android.view.View,android.view.Menu)(int featureId, https://developer.android.com/reference/android/view/View.html view, https://developer.android.com/reference/android/view/Menu.html menu)` `void` `https://developer.android.com/reference/androidx/activity/ComponentActivity#onRequestPermissionsResult(int,java.lang.String[],int[])(
int requestCode,
String[] permissions,
int[] grantResults
)`

{@inheritDoc}
`https://developer.android.com/reference/java/lang/Object.html` `https://developer.android.com/reference/androidx/activity/ComponentActivity#onRetainCustomNonConfigurationInstance()()`

Use this instead of `https://developer.android.com/reference/androidx/activity/ComponentActivity#onRetainNonConfigurationInstance()`.
`final https://developer.android.com/reference/java/lang/Object.html` `https://developer.android.com/reference/androidx/activity/ComponentActivity#onRetainNonConfigurationInstance()()`

Retain all appropriate non-config state.
`void` `https://developer.android.com/reference/androidx/activity/ComponentActivity#onSaveInstanceState(android.os.Bundle)(https://developer.android.com/reference/android/os/Bundle.html outState)` `void` `https://developer.android.com/reference/androidx/activity/ComponentActivity#onTrimMemory(int)(int level)`

{@inheritDoc}
`void` `https://developer.android.com/reference/androidx/activity/ComponentActivity#onUserLeaveHint()()`

{@inheritDoc}
`https://developer.android.com/reference/android/content/Context.html` `https://developer.android.com/reference/androidx/activity/ComponentActivity#peekAvailableContext()()`

Get the `https://developer.android.com/reference/android/content/Context.html` if it is currently available.
`final https://developer.android.com/reference/androidx/activity/result/ActivityResultLauncher<I>` `<I, O> https://developer.android.com/reference/androidx/activity/ComponentActivity#registerForActivityResult(androidx.activity.result.contract.ActivityResultContract<I,O>,androidx.activity.result.ActivityResultRegistry,androidx.activity.result.ActivityResultCallback<O>)(
https://developer.android.com/reference/androidx/activity/result/contract/ActivityResultContract<I, O> contract,
https://developer.android.com/reference/androidx/activity/result/ActivityResultRegistry registry,
https://developer.android.com/reference/androidx/activity/result/ActivityResultCallback<O> callback
)`

Register a request to `https://developer.android.com/reference/android/app/Activity.html#startActivityForResult(android.content.Intent, int)`, designated by the given `https://developer.android.com/reference/androidx/activity/result/contract/ActivityResultContract`.
`void` `https://developer.android.com/reference/androidx/activity/ComponentActivity#removeMenuProvider(androidx.core.view.MenuProvider)(https://developer.android.com/reference/androidx/core/view/MenuProvider provider)`

Removes the given `https://developer.android.com/reference/androidx/core/view/MenuProvider` from this `https://developer.android.com/reference/androidx/core/view/MenuHost`.
`final void` `https://developer.android.com/reference/androidx/activity/ComponentActivity#removeOnConfigurationChangedListener(androidx.core.util.Consumer<android.content.res.Configuration>)(https://developer.android.com/reference/androidx/core/util/Consumer<https://developer.android.com/reference/android/content/res/Configuration.html> listener)`

Remove a previously added listener.
`final void` `https://developer.android.com/reference/androidx/activity/ComponentActivity#removeOnContextAvailableListener(androidx.activity.contextaware.OnContextAvailableListener)(https://developer.android.com/reference/androidx/activity/contextaware/OnContextAvailableListener listener)`

Remove a `https://developer.android.com/reference/androidx/activity/contextaware/OnContextAvailableListener` previously added via `https://developer.android.com/reference/androidx/activity/contextaware/ContextAware#addOnContextAvailableListener(androidx.activity.contextaware.OnContextAvailableListener)`.
`final void` `https://developer.android.com/reference/androidx/activity/ComponentActivity#removeOnMultiWindowModeChangedListener(androidx.core.util.Consumer<androidx.core.app.MultiWindowModeChangedInfo>)(
https://developer.android.com/reference/androidx/core/util/Consumer<https://developer.android.com/reference/androidx/core/app/MultiWindowModeChangedInfo> listener
)`

Remove a previously added listener.
`final void` `https://developer.android.com/reference/androidx/activity/ComponentActivity#removeOnNewIntentListener(androidx.core.util.Consumer<android.content.Intent>)(https://developer.android.com/reference/androidx/core/util/Consumer<https://developer.android.com/reference/android/content/Intent.html> listener)`

Remove a previously added listener.
`final void` `https://developer.android.com/reference/androidx/activity/ComponentActivity#removeOnPictureInPictureModeChangedListener(androidx.core.util.Consumer<androidx.core.app.PictureInPictureModeChangedInfo>)(
https://developer.android.com/reference/androidx/core/util/Consumer<https://developer.android.com/reference/androidx/core/app/PictureInPictureModeChangedInfo> listener
)`

Remove a previously added listener.
`final void` `https://developer.android.com/reference/androidx/activity/ComponentActivity#removeOnPictureInPictureUiStateChangedListener(androidx.core.util.Consumer<androidx.core.app.PictureInPictureUiStateCompat>)(
https://developer.android.com/reference/androidx/core/util/Consumer<https://developer.android.com/reference/androidx/core/app/PictureInPictureUiStateCompat> listener
)`

Remove a previously added listener.
`final void` `https://developer.android.com/reference/androidx/activity/ComponentActivity#removeOnTrimMemoryListener(androidx.core.util.Consumer<java.lang.Integer>)(https://developer.android.com/reference/androidx/core/util/Consumer<https://developer.android.com/reference/java/lang/Integer.html> listener)`

Remove a previously added listener.
`final void` `https://developer.android.com/reference/androidx/activity/ComponentActivity#removeOnUserLeaveHintListener(java.lang.Runnable)(https://developer.android.com/reference/java/lang/Runnable.html listener)`

Remove a previously added listener.
`void` `https://developer.android.com/reference/androidx/activity/ComponentActivity#reportFullyDrawn()()` `void` `https://developer.android.com/reference/androidx/activity/ComponentActivity#setContentView(int)(int layoutResID)` `final void` `https://developer.android.com/reference/androidx/activity/ComponentActivity#setPictureInPictureParams(androidx.core.app.PictureInPictureParamsCompat)(https://developer.android.com/reference/androidx/core/app/PictureInPictureParamsCompat params)`

Available since API 26 in the framework Activity class, updates the properties of the picture-in-picture activity, or sets it to be used later when `https://developer.android.com/reference/androidx/core/app/PictureInPictureProvider#enterPictureInPictureMode(androidx.core.app.PictureInPictureParamsCompat)` is called
`void` `https://developer.android.com/reference/androidx/activity/ComponentActivity#startActivityForResult(android.content.Intent,int)(https://developer.android.com/reference/android/content/Intent.html intent, int requestCode)`

{@inheritDoc}
`void` `https://developer.android.com/reference/androidx/activity/ComponentActivity#startIntentSenderForResult(android.content.IntentSender,int,android.content.Intent,int,int,int)(
https://developer.android.com/reference/android/content/IntentSender.html intent,
int requestCode,
https://developer.android.com/reference/android/content/Intent.html fillInIntent,
int flagsMask,
int flagsValues,
int extraFlags
)`

{@inheritDoc}
From [android.content.Context](https://developer.android.com/reference/android/content/Context.html) `final int` `https://developer.android.com/reference/android/content/Context.html#getColor(int)(int id)` `final https://developer.android.com/reference/android/content/res/ColorStateList.html` `https://developer.android.com/reference/android/content/Context.html#getColorStateList(int)(int id)` `final https://developer.android.com/reference/android/graphics/drawable/Drawable.html` `https://developer.android.com/reference/android/content/Context.html#getDrawable(int)(int id)` `final https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/Context.html#getString(int)(int resId)` `final T` `<T> https://developer.android.com/reference/android/content/Context.html#getSystemService(java.lang.Class&lt;T&gt;)(https://developer.android.com/reference/java/lang/Class.html<T> serviceClass)` `final https://developer.android.com/reference/java/lang/CharSequence.html` `https://developer.android.com/reference/android/content/Context.html#getText(int)(int resId)` `https://developer.android.com/reference/android/content/Context.BindServiceFlags.html` `https://developer.android.com/reference/android/content/Context.html#getUpdateableFlags()()` `final https://developer.android.com/reference/android/content/res/TypedArray.html` `https://developer.android.com/reference/android/content/Context.html#obtainStyledAttributes(android.util.AttributeSet, int[])(https://developer.android.com/reference/android/util/AttributeSet.html set, int[] attrs)` `void` `https://developer.android.com/reference/android/content/Context.html#revokeSelfPermissionOnKill(java.lang.String)(https://developer.android.com/reference/java/lang/String.html permName)` `void` `https://developer.android.com/reference/android/content/Context.html#sendBroadcastWithMultiplePermissions(android.content.Intent, java.lang.String[])(
https://developer.android.com/reference/android/content/Intent.html intent,
String[] receiverPermissions
)` From [androidx.activity.contextaware.ContextAware](https://developer.android.com/reference/androidx/activity/contextaware/ContextAware) `abstract void` `https://developer.android.com/reference/androidx/activity/contextaware/ContextAware#addOnContextAvailableListener(androidx.activity.contextaware.OnContextAvailableListener)(https://developer.android.com/reference/androidx/activity/contextaware/OnContextAvailableListener listener)`

Add a new `https://developer.android.com/reference/androidx/activity/contextaware/OnContextAvailableListener` for receiving a callback for when this class is associated with a `https://developer.android.com/reference/android/content/Context.html`.
`abstract https://developer.android.com/reference/android/content/Context.html` `https://developer.android.com/reference/androidx/activity/contextaware/ContextAware#peekAvailableContext()()`

Get the `https://developer.android.com/reference/android/content/Context.html` if it is currently available.
`abstract void` `https://developer.android.com/reference/androidx/activity/contextaware/ContextAware#removeOnContextAvailableListener(androidx.activity.contextaware.OnContextAvailableListener)(https://developer.android.com/reference/androidx/activity/contextaware/OnContextAvailableListener listener)`

Remove a `https://developer.android.com/reference/androidx/activity/contextaware/OnContextAvailableListener` previously added via `https://developer.android.com/reference/androidx/activity/contextaware/ContextAware#addOnContextAvailableListener(androidx.activity.contextaware.OnContextAvailableListener)`.
From [android.view.ContextThemeWrapper](https://developer.android.com/reference/android/view/ContextThemeWrapper.html) `void` `https://developer.android.com/reference/android/view/ContextThemeWrapper.html#applyOverrideConfiguration(android.content.res.Configuration)(https://developer.android.com/reference/android/content/res/Configuration.html overrideConfiguration)` `https://developer.android.com/reference/android/content/res/AssetManager.html` `https://developer.android.com/reference/android/view/ContextThemeWrapper.html#getAssets()()` `https://developer.android.com/reference/android/content/res/Resources.html` `https://developer.android.com/reference/android/view/ContextThemeWrapper.html#getResources()()` `https://developer.android.com/reference/android/content/res/Resources.Theme.html` `https://developer.android.com/reference/android/view/ContextThemeWrapper.html#getTheme()()` From [android.content.ContextWrapper](https://developer.android.com/reference/android/content/ContextWrapper.html) `boolean` `https://developer.android.com/reference/android/content/ContextWrapper.html#bindIsolatedService(android.content.Intent, int, java.lang.String, java.util.concurrent.Executor, android.content.ServiceConnection)(
https://developer.android.com/reference/android/content/Intent.html service,
int flags,
https://developer.android.com/reference/java/lang/String.html instanceName,
https://developer.android.com/reference/java/util/concurrent/Executor.html executor,
https://developer.android.com/reference/android/content/ServiceConnection.html conn
)` `boolean` `https://developer.android.com/reference/android/content/ContextWrapper.html#bindService(android.content.Intent, android.content.Context.BindServiceFlags, java.util.concurrent.Executor, android.content.ServiceConnection)(
https://developer.android.com/reference/android/content/Intent.html service,
https://developer.android.com/reference/android/content/Context.BindServiceFlags.html flags,
https://developer.android.com/reference/java/util/concurrent/Executor.html executor,
https://developer.android.com/reference/android/content/ServiceConnection.html conn
)` `boolean` `https://developer.android.com/reference/android/content/ContextWrapper.html#bindServiceAsUser(android.content.Intent, android.content.ServiceConnection, android.content.Context.BindServiceFlags, android.os.UserHandle)(
https://developer.android.com/reference/android/content/Intent.html service,
https://developer.android.com/reference/android/content/ServiceConnection.html conn,
https://developer.android.com/reference/android/content/Context.BindServiceFlags.html flags,
https://developer.android.com/reference/android/os/UserHandle.html user
)` `int` `https://developer.android.com/reference/android/content/ContextWrapper.html#checkCallingOrSelfPermission(java.lang.String)(https://developer.android.com/reference/java/lang/String.html permission)` `int` `https://developer.android.com/reference/android/content/ContextWrapper.html#checkCallingOrSelfUriPermission(android.net.Uri, int)(https://developer.android.com/reference/android/net/Uri.html uri, int modeFlags)` `int[]` `https://developer.android.com/reference/android/content/ContextWrapper.html#checkCallingOrSelfUriPermissions(java.util.List&lt;android.net.Uri&gt;, int)(https://developer.android.com/reference/java/util/List.html<https://developer.android.com/reference/android/net/Uri.html> uris, int modeFlags)` `int` `https://developer.android.com/reference/android/content/ContextWrapper.html#checkCallingPermission(java.lang.String)(https://developer.android.com/reference/java/lang/String.html permission)` `int` `https://developer.android.com/reference/android/content/ContextWrapper.html#checkCallingUriPermission(android.net.Uri, int)(https://developer.android.com/reference/android/net/Uri.html uri, int modeFlags)` `int[]` `https://developer.android.com/reference/android/content/ContextWrapper.html#checkCallingUriPermissions(java.util.List&lt;android.net.Uri&gt;, int)(https://developer.android.com/reference/java/util/List.html<https://developer.android.com/reference/android/net/Uri.html> uris, int modeFlags)` `int` `https://developer.android.com/reference/android/content/ContextWrapper.html#checkContentUriPermissionFull(android.net.Uri, int, int, int)(https://developer.android.com/reference/android/net/Uri.html uri, int pid, int uid, int modeFlags)` `int` `https://developer.android.com/reference/android/content/ContextWrapper.html#checkPermission(java.lang.String, int, int)(https://developer.android.com/reference/java/lang/String.html permission, int pid, int uid)` `int` `https://developer.android.com/reference/android/content/ContextWrapper.html#checkSelfPermission(java.lang.String)(https://developer.android.com/reference/java/lang/String.html permission)` `int` `https://developer.android.com/reference/android/content/ContextWrapper.html#checkUriPermission(android.net.Uri, int, int, int)(https://developer.android.com/reference/android/net/Uri.html uri, int pid, int uid, int modeFlags)` `int[]` `https://developer.android.com/reference/android/content/ContextWrapper.html#checkUriPermissions(java.util.List&lt;android.net.Uri&gt;, int, int, int)(https://developer.android.com/reference/java/util/List.html<https://developer.android.com/reference/android/net/Uri.html> uris, int pid, int uid, int modeFlags)` `void` `https://developer.android.com/reference/android/content/ContextWrapper.html#clearWallpaper()()`

**This method is deprecated.**
`https://developer.android.com/reference/android/content/Context.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#createAttributionContext(java.lang.String)(https://developer.android.com/reference/java/lang/String.html attributionTag)` `https://developer.android.com/reference/android/content/Context.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#createConfigurationContext(android.content.res.Configuration)(https://developer.android.com/reference/android/content/res/Configuration.html overrideConfiguration)` `https://developer.android.com/reference/android/content/Context.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#createContext(android.content.ContextParams)(https://developer.android.com/reference/android/content/ContextParams.html contextParams)` `https://developer.android.com/reference/android/content/Context.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#createContextForSplit(java.lang.String)(https://developer.android.com/reference/java/lang/String.html splitName)` `https://developer.android.com/reference/android/content/Context.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#createDeviceContext(int)(int deviceId)` `https://developer.android.com/reference/android/content/Context.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#createDeviceProtectedStorageContext()()` `https://developer.android.com/reference/android/content/Context.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#createDisplayContext(android.view.Display)(https://developer.android.com/reference/android/view/Display.html display)` `https://developer.android.com/reference/android/content/Context.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#createPackageContext(java.lang.String, int)(https://developer.android.com/reference/java/lang/String.html packageName, int flags)` `https://developer.android.com/reference/android/content/Context.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#createWindowContext(android.view.Display, int, android.os.Bundle)(https://developer.android.com/reference/android/view/Display.html display, int type, https://developer.android.com/reference/android/os/Bundle.html options)` `String[]` `https://developer.android.com/reference/android/content/ContextWrapper.html#databaseList()()` `boolean` `https://developer.android.com/reference/android/content/ContextWrapper.html#deleteDatabase(java.lang.String)(https://developer.android.com/reference/java/lang/String.html name)` `boolean` `https://developer.android.com/reference/android/content/ContextWrapper.html#deleteFile(java.lang.String)(https://developer.android.com/reference/java/lang/String.html name)` `boolean` `https://developer.android.com/reference/android/content/ContextWrapper.html#deleteSharedPreferences(java.lang.String)(https://developer.android.com/reference/java/lang/String.html name)` `void` `https://developer.android.com/reference/android/content/ContextWrapper.html#enforceCallingOrSelfPermission(java.lang.String, java.lang.String)(https://developer.android.com/reference/java/lang/String.html permission, https://developer.android.com/reference/java/lang/String.html message)` `void` `https://developer.android.com/reference/android/content/ContextWrapper.html#enforceCallingOrSelfUriPermission(android.net.Uri, int, java.lang.String)(
https://developer.android.com/reference/android/net/Uri.html uri,
int modeFlags,
https://developer.android.com/reference/java/lang/String.html message
)` `void` `https://developer.android.com/reference/android/content/ContextWrapper.html#enforceCallingPermission(java.lang.String, java.lang.String)(https://developer.android.com/reference/java/lang/String.html permission, https://developer.android.com/reference/java/lang/String.html message)` `void` `https://developer.android.com/reference/android/content/ContextWrapper.html#enforceCallingUriPermission(android.net.Uri, int, java.lang.String)(https://developer.android.com/reference/android/net/Uri.html uri, int modeFlags, https://developer.android.com/reference/java/lang/String.html message)` `void` `https://developer.android.com/reference/android/content/ContextWrapper.html#enforcePermission(java.lang.String, int, int, java.lang.String)(https://developer.android.com/reference/java/lang/String.html permission, int pid, int uid, https://developer.android.com/reference/java/lang/String.html message)` `void` `https://developer.android.com/reference/android/content/ContextWrapper.html#enforceUriPermission(android.net.Uri, int, int, int, java.lang.String)(
https://developer.android.com/reference/android/net/Uri.html uri,
int pid,
int uid,
int modeFlags,
https://developer.android.com/reference/java/lang/String.html message
)` `String[]` `https://developer.android.com/reference/android/content/ContextWrapper.html#fileList()()` `https://developer.android.com/reference/android/content/Context.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#getApplicationContext()()` `https://developer.android.com/reference/android/content/pm/ApplicationInfo.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#getApplicationInfo()()` `https://developer.android.com/reference/android/content/AttributionSource.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#getAttributionSource()()` `https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#getAttributionTag()()` `https://developer.android.com/reference/android/content/Context.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#getBaseContext()()` `https://developer.android.com/reference/java/io/File.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#getCacheDir()()` `https://developer.android.com/reference/java/lang/ClassLoader.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#getClassLoader()()` `https://developer.android.com/reference/java/io/File.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#getCodeCacheDir()()` `https://developer.android.com/reference/android/content/ContentResolver.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#getContentResolver()()` `https://developer.android.com/reference/java/io/File.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#getDataDir()()` `https://developer.android.com/reference/java/io/File.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#getDatabasePath(java.lang.String)(https://developer.android.com/reference/java/lang/String.html name)` `int` `https://developer.android.com/reference/android/content/ContextWrapper.html#getDeviceId()()` `https://developer.android.com/reference/java/io/File.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#getDir(java.lang.String, int)(https://developer.android.com/reference/java/lang/String.html name, int mode)` `https://developer.android.com/reference/android/view/Display.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#getDisplay()()` `https://developer.android.com/reference/java/io/File.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#getExternalCacheDir()()` `File[]` `https://developer.android.com/reference/android/content/ContextWrapper.html#getExternalCacheDirs()()` `https://developer.android.com/reference/java/io/File.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#getExternalFilesDir(java.lang.String)(https://developer.android.com/reference/java/lang/String.html type)` `File[]` `https://developer.android.com/reference/android/content/ContextWrapper.html#getExternalFilesDirs(java.lang.String)(https://developer.android.com/reference/java/lang/String.html type)` `File[]` `https://developer.android.com/reference/android/content/ContextWrapper.html#getExternalMediaDirs()()`

**This method is deprecated.**
`https://developer.android.com/reference/java/io/File.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#getFileStreamPath(java.lang.String)(https://developer.android.com/reference/java/lang/String.html name)` `https://developer.android.com/reference/java/io/File.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#getFilesDir()()` `https://developer.android.com/reference/java/util/concurrent/Executor.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#getMainExecutor()()` `https://developer.android.com/reference/android/os/Looper.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#getMainLooper()()` `https://developer.android.com/reference/java/io/File.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#getNoBackupFilesDir()()` `https://developer.android.com/reference/java/io/File.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#getObbDir()()` `File[]` `https://developer.android.com/reference/android/content/ContextWrapper.html#getObbDirs()()` `https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#getOpPackageName()()` `https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#getPackageCodePath()()` `https://developer.android.com/reference/android/content/pm/PackageManager.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#getPackageManager()()` `https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#getPackageName()()` `https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#getPackageResourcePath()()` `https://developer.android.com/reference/android/content/ContextParams.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#getParams()()` `https://developer.android.com/reference/android/content/SharedPreferences.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#getSharedPreferences(java.lang.String, int)(https://developer.android.com/reference/java/lang/String.html name, int mode)` `https://developer.android.com/reference/java/lang/String.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#getSystemServiceName(java.lang.Class&lt;?&gt;)(https://developer.android.com/reference/java/lang/Class.html<@https://developer.android.com/reference/androidx/annotation/NonNull ?> serviceClass)` `https://developer.android.com/reference/android/graphics/drawable/Drawable.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#getWallpaper()()`

**This method is deprecated.**
`int` `https://developer.android.com/reference/android/content/ContextWrapper.html#getWallpaperDesiredMinimumHeight()()`

**This method is deprecated.**
`int` `https://developer.android.com/reference/android/content/ContextWrapper.html#getWallpaperDesiredMinimumWidth()()`

**This method is deprecated.**
`void` `https://developer.android.com/reference/android/content/ContextWrapper.html#grantUriPermission(java.lang.String, android.net.Uri, int)(https://developer.android.com/reference/java/lang/String.html toPackage, https://developer.android.com/reference/android/net/Uri.html uri, int modeFlags)` `boolean` `https://developer.android.com/reference/android/content/ContextWrapper.html#isDeviceProtectedStorage()()` `boolean` `https://developer.android.com/reference/android/content/ContextWrapper.html#isRestricted()()` `boolean` `https://developer.android.com/reference/android/content/ContextWrapper.html#isUiContext()()` `boolean` `https://developer.android.com/reference/android/content/ContextWrapper.html#moveDatabaseFrom(android.content.Context, java.lang.String)(https://developer.android.com/reference/android/content/Context.html sourceContext, https://developer.android.com/reference/java/lang/String.html name)` `boolean` `https://developer.android.com/reference/android/content/ContextWrapper.html#moveSharedPreferencesFrom(android.content.Context, java.lang.String)(https://developer.android.com/reference/android/content/Context.html sourceContext, https://developer.android.com/reference/java/lang/String.html name)` `https://developer.android.com/reference/java/io/FileInputStream.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#openFileInput(java.lang.String)(https://developer.android.com/reference/java/lang/String.html name)` `https://developer.android.com/reference/java/io/FileOutputStream.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#openFileOutput(java.lang.String, int)(https://developer.android.com/reference/java/lang/String.html name, int mode)` `https://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#openOrCreateDatabase(java.lang.String, int, android.database.sqlite.SQLiteDatabase.CursorFactory)(
https://developer.android.com/reference/java/lang/String.html name,
int mode,
https://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.CursorFactory.html factory
)` `https://developer.android.com/reference/android/graphics/drawable/Drawable.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#peekWallpaper()()`

**This method is deprecated.**
`void` `https://developer.android.com/reference/android/content/ContextWrapper.html#rebindService(android.content.ServiceConnection, android.content.Context.BindServiceFlags)(https://developer.android.com/reference/android/content/ServiceConnection.html conn, https://developer.android.com/reference/android/content/Context.BindServiceFlags.html flags)` `void` `https://developer.android.com/reference/android/content/ContextWrapper.html#registerDeviceIdChangeListener(java.util.concurrent.Executor, java.util.function.IntConsumer)(https://developer.android.com/reference/java/util/concurrent/Executor.html executor, https://developer.android.com/reference/java/util/function/IntConsumer.html listener)` `https://developer.android.com/reference/android/content/Intent.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#registerReceiver(android.content.BroadcastReceiver, android.content.IntentFilter)(https://developer.android.com/reference/android/content/BroadcastReceiver.html receiver, https://developer.android.com/reference/android/content/IntentFilter.html filter)` `void` `https://developer.android.com/reference/android/content/ContextWrapper.html#removeStickyBroadcast(android.content.Intent)(https://developer.android.com/reference/android/content/Intent.html intent)`

**This method is deprecated.**
`void` `https://developer.android.com/reference/android/content/ContextWrapper.html#removeStickyBroadcastAsUser(android.content.Intent, android.os.UserHandle)(https://developer.android.com/reference/android/content/Intent.html intent, https://developer.android.com/reference/android/os/UserHandle.html user)`

**This method is deprecated.**
`void` `https://developer.android.com/reference/android/content/ContextWrapper.html#revokeSelfPermissionsOnKill(java.util.Collection&lt;java.lang.String&gt;)(https://developer.android.com/reference/java/util/Collection.html<https://developer.android.com/reference/java/lang/String.html> permissions)` `void` `https://developer.android.com/reference/android/content/ContextWrapper.html#revokeUriPermission(android.net.Uri, int)(https://developer.android.com/reference/android/net/Uri.html uri, int modeFlags)` `void` `https://developer.android.com/reference/android/content/ContextWrapper.html#sendBroadcast(android.content.Intent)(https://developer.android.com/reference/android/content/Intent.html intent)` `void` `https://developer.android.com/reference/android/content/ContextWrapper.html#sendBroadcastAsUser(android.content.Intent, android.os.UserHandle)(https://developer.android.com/reference/android/content/Intent.html intent, https://developer.android.com/reference/android/os/UserHandle.html user)` `void` `https://developer.android.com/reference/android/content/ContextWrapper.html#sendOrderedBroadcast(android.content.Intent, int, java.lang.String, java.lang.String, android.content.BroadcastReceiver, android.os.Handler, java.lang.String, android.os.Bundle, android.os.Bundle)(
https://developer.android.com/reference/android/content/Intent.html intent,
int initialCode,
https://developer.android.com/reference/java/lang/String.html receiverPermission,
https://developer.android.com/reference/java/lang/String.html receiverAppOp,
https://developer.android.com/reference/android/content/BroadcastReceiver.html resultReceiver,
https://developer.android.com/reference/android/os/Handler.html scheduler,
https://developer.android.com/reference/java/lang/String.html initialData,
https://developer.android.com/reference/android/os/Bundle.html initialExtras,
https://developer.android.com/reference/android/os/Bundle.html options
)` `void` `https://developer.android.com/reference/android/content/ContextWrapper.html#sendOrderedBroadcastAsUser(android.content.Intent, android.os.UserHandle, java.lang.String, android.content.BroadcastReceiver, android.os.Handler, int, java.lang.String, android.os.Bundle)(
https://developer.android.com/reference/android/content/Intent.html intent,
https://developer.android.com/reference/android/os/UserHandle.html user,
https://developer.android.com/reference/java/lang/String.html receiverPermission,
https://developer.android.com/reference/android/content/BroadcastReceiver.html resultReceiver,
https://developer.android.com/reference/android/os/Handler.html scheduler,
int initialCode,
https://developer.android.com/reference/java/lang/String.html initialData,
https://developer.android.com/reference/android/os/Bundle.html initialExtras
)` `void` `https://developer.android.com/reference/android/content/ContextWrapper.html#sendStickyBroadcast(android.content.Intent)(https://developer.android.com/reference/android/content/Intent.html intent)`

**This method is deprecated.**
`void` `https://developer.android.com/reference/android/content/ContextWrapper.html#sendStickyBroadcastAsUser(android.content.Intent, android.os.UserHandle)(https://developer.android.com/reference/android/content/Intent.html intent, https://developer.android.com/reference/android/os/UserHandle.html user)`

**This method is deprecated.**
`void` `https://developer.android.com/reference/android/content/ContextWrapper.html#sendStickyOrderedBroadcast(android.content.Intent, android.content.BroadcastReceiver, android.os.Handler, int, java.lang.String, android.os.Bundle)(
https://developer.android.com/reference/android/content/Intent.html intent,
https://developer.android.com/reference/android/content/BroadcastReceiver.html resultReceiver,
https://developer.android.com/reference/android/os/Handler.html scheduler,
int initialCode,
https://developer.android.com/reference/java/lang/String.html initialData,
https://developer.android.com/reference/android/os/Bundle.html initialExtras
)`

**This method is deprecated.**
`void` `https://developer.android.com/reference/android/content/ContextWrapper.html#sendStickyOrderedBroadcastAsUser(android.content.Intent, android.os.UserHandle, android.content.BroadcastReceiver, android.os.Handler, int, java.lang.String, android.os.Bundle)(
https://developer.android.com/reference/android/content/Intent.html intent,
https://developer.android.com/reference/android/os/UserHandle.html user,
https://developer.android.com/reference/android/content/BroadcastReceiver.html resultReceiver,
https://developer.android.com/reference/android/os/Handler.html scheduler,
int initialCode,
https://developer.android.com/reference/java/lang/String.html initialData,
https://developer.android.com/reference/android/os/Bundle.html initialExtras
)`

**This method is deprecated.**
`void` `https://developer.android.com/reference/android/content/ContextWrapper.html#setWallpaper(android.graphics.Bitmap)(https://developer.android.com/reference/android/graphics/Bitmap.html bitmap)`

**This method is deprecated.**
`https://developer.android.com/reference/android/content/ComponentName.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#startForegroundService(android.content.Intent)(https://developer.android.com/reference/android/content/Intent.html service)` `boolean` `https://developer.android.com/reference/android/content/ContextWrapper.html#startInstrumentation(android.content.ComponentName, java.lang.String, android.os.Bundle)(
https://developer.android.com/reference/android/content/ComponentName.html className,
https://developer.android.com/reference/java/lang/String.html profileFile,
https://developer.android.com/reference/android/os/Bundle.html arguments
)` `https://developer.android.com/reference/android/content/ComponentName.html` `https://developer.android.com/reference/android/content/ContextWrapper.html#startService(android.content.Intent)(https://developer.android.com/reference/android/content/Intent.html service)` `boolean` `https://developer.android.com/reference/android/content/ContextWrapper.html#stopService(android.content.Intent)(https://developer.android.com/reference/android/content/Intent.html name)` `void` `https://developer.android.com/reference/android/content/ContextWrapper.html#unbindService(android.content.ServiceConnection)(https://developer.android.com/reference/android/content/ServiceConnection.html conn)` `void` `https://developer.android.com/reference/android/content/ContextWrapper.html#unregisterDeviceIdChangeListener(java.util.function.IntConsumer)(https://developer.android.com/reference/java/util/function/IntConsumer.html listener)` `void` `https://developer.android.com/reference/android/content/ContextWrapper.html#unregisterReceiver(android.content.BroadcastReceiver)(https://developer.android.com/reference/android/content/BroadcastReceiver.html receiver)` `void` `https://developer.android.com/reference/android/content/ContextWrapper.html#updateServiceBindings(java.util.Collection&lt;android.content.Context.UpdateBindingParams&gt;)(https://developer.android.com/reference/java/util/Collection.html<https://developer.android.com/reference/android/content/Context.UpdateBindingParams.html> params)` `void` `https://developer.android.com/reference/android/content/ContextWrapper.html#updateServiceGroup(android.content.ServiceConnection, int, int)(https://developer.android.com/reference/android/content/ServiceConnection.html conn, int group, int importance)` From [androidx.fragment.app.FragmentActivity](https://developer.android.com/reference/androidx/fragment/app/FragmentActivity) `void` `https://developer.android.com/reference/androidx/fragment/app/FragmentActivity#dump(java.lang.String,java.io.FileDescriptor,java.io.PrintWriter,java.lang.String[])(
@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/java/lang/String.html prefix,
@https://jspecify.dev/docs/api/org/jspecify/annotations/Nullable.html https://developer.android.com/reference/java/io/FileDescriptor.html fd,
@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/java/io/PrintWriter.html writer,
@https://jspecify.dev/docs/api/org/jspecify/annotations/Nullable.html String[] args
)`

Print the Activity's state into the given stream.
`@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/androidx/fragment/app/FragmentManager` `https://developer.android.com/reference/androidx/fragment/app/FragmentActivity#getSupportFragmentManager()()`

Return the FragmentManager for interacting with fragments associated with this activity.
`@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/androidx/loader/app/LoaderManager` `[getSupportLoaderManager](https://developer.android.com/reference/androidx/fragment/app/FragmentActivity#getSupportLoaderManager())()`

**This method is deprecated.**

Use `https://developer.android.com/reference/androidx/loader/app/LoaderManager#getInstance(T)`.

<br />

`void` `@https://developer.android.com/reference/androidx/annotation/CallSuper
https://developer.android.com/reference/androidx/fragment/app/FragmentActivity#onActivityResult(int,int,android.content.Intent)(int requestCode, int resultCode, @https://jspecify.dev/docs/api/org/jspecify/annotations/Nullable.html https://developer.android.com/reference/android/content/Intent.html data)`

{@inheritDoc}
`void` `@https://developer.android.com/reference/androidx/annotation/MainThread
[onAttachFragment](https://developer.android.com/reference/androidx/fragment/app/FragmentActivity#onAttachFragment(androidx.fragment.app.Fragment))(@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/androidx/fragment/app/Fragment fragment)`

**This method is deprecated.**

The responsibility for listening for fragments being attached has been moved to FragmentManager.

<br />

`@https://jspecify.dev/docs/api/org/jspecify/annotations/Nullable.html https://developer.android.com/reference/android/view/View.html` `https://developer.android.com/reference/androidx/fragment/app/FragmentActivity#onCreateView(java.lang.String,android.content.Context,android.util.AttributeSet)(
@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/java/lang/String.html name,
@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/android/content/Context.html context,
@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/android/util/AttributeSet.html attrs
)` `@https://jspecify.dev/docs/api/org/jspecify/annotations/Nullable.html https://developer.android.com/reference/android/view/View.html` `https://developer.android.com/reference/androidx/fragment/app/FragmentActivity#onCreateView(android.view.View,java.lang.String,android.content.Context,android.util.AttributeSet)(
@https://jspecify.dev/docs/api/org/jspecify/annotations/Nullable.html https://developer.android.com/reference/android/view/View.html parent,
@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/java/lang/String.html name,
@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/android/content/Context.html context,
@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/android/util/AttributeSet.html attrs
)` `boolean` `https://developer.android.com/reference/androidx/fragment/app/FragmentActivity#onMenuItemSelected(int,android.view.MenuItem)(int featureId, @https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/android/view/MenuItem.html item)` `void` `https://developer.android.com/reference/androidx/fragment/app/FragmentActivity#onPostResume()()`

Dispatch onResume() to fragments.
`void` `@https://developer.android.com/reference/androidx/annotation/CallSuper
https://developer.android.com/reference/androidx/fragment/app/FragmentActivity#onRequestPermissionsResult(int,java.lang.String[],int[])(
int requestCode,
@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html String[] permissions,
@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html int[] grantResults
)`

{@inheritDoc}
`void` `https://developer.android.com/reference/androidx/fragment/app/FragmentActivity#onResume()()`

Dispatch onResume() to fragments.
`void` `https://developer.android.com/reference/androidx/fragment/app/FragmentActivity#onResumeFragments()()`

This is the fragment-orientated version of `https://developer.android.com/reference/androidx/fragment/app/FragmentActivity#onResume()` that you can override to perform operations in the Activity at the same point where its fragments are resumed.
`void` `https://developer.android.com/reference/androidx/fragment/app/FragmentActivity#onStart()()`

Dispatch onStart() to all fragments.
`void` `https://developer.android.com/reference/androidx/fragment/app/FragmentActivity#onStateNotSaved()()`

Hook in to note that fragment state is no longer saved.
`void` `https://developer.android.com/reference/androidx/fragment/app/FragmentActivity#onStop()()`

Dispatch onStop() to all fragments.
`void` `https://developer.android.com/reference/androidx/fragment/app/FragmentActivity#setEnterSharedElementCallback(androidx.core.app.SharedElementCallback)(@https://jspecify.dev/docs/api/org/jspecify/annotations/Nullable.html https://developer.android.com/reference/androidx/core/app/SharedElementCallback callback)`

When `https://developer.android.com/reference/android/app/ActivityOptions.html#makeSceneTransitionAnimation(android.app.Activity, android.view.View, java.lang.String)` was used to start an Activity, <var translate="no">callback</var> will be called to handle shared elements on the *launched* Activity.
`void` `https://developer.android.com/reference/androidx/fragment/app/FragmentActivity#setExitSharedElementCallback(androidx.core.app.SharedElementCallback)(@https://jspecify.dev/docs/api/org/jspecify/annotations/Nullable.html https://developer.android.com/reference/androidx/core/app/SharedElementCallback listener)`

When `https://developer.android.com/reference/android/app/ActivityOptions.html#makeSceneTransitionAnimation(android.app.Activity, android.view.View, java.lang.String)` was used to start an Activity, <var translate="no">listener</var> will be called to handle shared elements on the *launching* Activity.
`void` `https://developer.android.com/reference/androidx/fragment/app/FragmentActivity#startActivityFromFragment(androidx.fragment.app.Fragment,android.content.Intent,int)(
@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/androidx/fragment/app/Fragment fragment,
@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/android/content/Intent.html intent,
int requestCode
)`

Called by Fragment.startActivityForResult() to implement its behavior.
`void` `https://developer.android.com/reference/androidx/fragment/app/FragmentActivity#startActivityFromFragment(androidx.fragment.app.Fragment,android.content.Intent,int,android.os.Bundle)(
@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/androidx/fragment/app/Fragment fragment,
@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/android/content/Intent.html intent,
int requestCode,
@https://jspecify.dev/docs/api/org/jspecify/annotations/Nullable.html https://developer.android.com/reference/android/os/Bundle.html options
)`

Called by Fragment.startActivityForResult() to implement its behavior.
`void` `[startIntentSenderFromFragment](https://developer.android.com/reference/androidx/fragment/app/FragmentActivity#startIntentSenderFromFragment(androidx.fragment.app.Fragment,android.content.IntentSender,int,android.content.Intent,int,int,int,android.os.Bundle))(
@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/androidx/fragment/app/Fragment fragment,
@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/android/content/IntentSender.html intent,
int requestCode,
@https://jspecify.dev/docs/api/org/jspecify/annotations/Nullable.html https://developer.android.com/reference/android/content/Intent.html fillInIntent,
int flagsMask,
int flagsValues,
int extraFlags,
@https://jspecify.dev/docs/api/org/jspecify/annotations/Nullable.html https://developer.android.com/reference/android/os/Bundle.html options
)`

**This method is deprecated.**

Fragments should use `https://developer.android.com/reference/androidx/fragment/app/Fragment#registerForActivityResult(androidx.activity.result.contract.ActivityResultContract<I,O>,androidx.activity.result.ActivityResultCallback<O>)` with the `https://developer.android.com/reference/androidx/activity/result/contract/ActivityResultContracts.StartIntentSenderForResult` contract.

<br />

`void` `https://developer.android.com/reference/androidx/fragment/app/FragmentActivity#supportFinishAfterTransition()()`

Reverses the Activity Scene entry Transition and triggers the calling Activity to reverse its exit Transition.
`void` `[supportInvalidateOptionsMenu](https://developer.android.com/reference/androidx/fragment/app/FragmentActivity#supportInvalidateOptionsMenu())()`

**This method is deprecated.**

Call `https://developer.android.com/reference/android/app/Activity.html#invalidateOptionsMenu()` directly.

<br />

`void` `https://developer.android.com/reference/androidx/fragment/app/FragmentActivity#supportPostponeEnterTransition()()`

Support library version of `https://developer.android.com/reference/android/app/Activity.html#postponeEnterTransition()` that works only on API 21 and later.
`void` `https://developer.android.com/reference/androidx/fragment/app/FragmentActivity#supportStartPostponedEnterTransition()()`

Support library version of `https://developer.android.com/reference/android/app/Activity.html#startPostponedEnterTransition()` that only works with API 21 and later.
`final void` `[validateRequestPermissionsRequestCode](https://developer.android.com/reference/androidx/fragment/app/FragmentActivity#validateRequestPermissionsRequestCode(int))(int requestCode)`

**This method is deprecated.**

there are no longer any restrictions on permissions requestCodes.

<br />

From [androidx.activity.FullyDrawnReporterOwner](https://developer.android.com/reference/androidx/activity/FullyDrawnReporterOwner) `abstract https://developer.android.com/reference/androidx/activity/FullyDrawnReporter` `https://developer.android.com/reference/androidx/activity/FullyDrawnReporterOwner#getFullyDrawnReporter()()`

Retrieve the `https://developer.android.com/reference/androidx/activity/FullyDrawnReporter` that should handle the independent parts of the UI that separately report that they are fully drawn.
From [androidx.lifecycle.HasDefaultViewModelProviderFactory](https://developer.android.com/reference/androidx/lifecycle/HasDefaultViewModelProviderFactory) `https://developer.android.com/reference/androidx/lifecycle/viewmodel/CreationExtras` `https://developer.android.com/reference/androidx/lifecycle/HasDefaultViewModelProviderFactory#getDefaultViewModelCreationExtras()()`

The default `https://developer.android.com/reference/androidx/lifecycle/viewmodel/CreationExtras` to pass into `https://developer.android.com/reference/androidx/lifecycle/ViewModelProvider.Factory#create(kotlin.reflect.KClass,androidx.lifecycle.viewmodel.CreationExtras)` when no overriding `https://developer.android.com/reference/androidx/lifecycle/viewmodel/CreationExtras` are provided.
`https://developer.android.com/reference/androidx/lifecycle/ViewModelProvider.Factory` `https://developer.android.com/reference/androidx/lifecycle/HasDefaultViewModelProviderFactory#getDefaultViewModelProviderFactory()()`

The default `https://developer.android.com/reference/androidx/lifecycle/ViewModelProvider.Factory` to use when no custom `https://developer.android.com/reference/androidx/lifecycle/ViewModelProvider.Factory` is provided to the `https://developer.android.com/reference/androidx/lifecycle/ViewModelProvider`.
From [androidx.lifecycle.LifecycleOwner](https://developer.android.com/reference/androidx/lifecycle/LifecycleOwner) `abstract https://developer.android.com/reference/androidx/lifecycle/Lifecycle` `https://developer.android.com/reference/androidx/lifecycle/LifecycleOwner#getLifecycle()()`

The `https://developer.android.com/reference/androidx/lifecycle/Lifecycle` of this owner.
From [androidx.core.view.MenuHost](https://developer.android.com/reference/androidx/core/view/MenuHost) `abstract void` `https://developer.android.com/reference/androidx/core/view/MenuHost#addMenuProvider(androidx.core.view.MenuProvider)(@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/androidx/core/view/MenuProvider provider)`

Adds the given `https://developer.android.com/reference/androidx/core/view/MenuProvider` to this `https://developer.android.com/reference/androidx/core/view/MenuHost`.
`abstract void` `https://developer.android.com/reference/androidx/core/view/MenuHost#addMenuProvider(androidx.core.view.MenuProvider,androidx.lifecycle.LifecycleOwner)(
@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/androidx/core/view/MenuProvider provider,
@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/androidx/lifecycle/LifecycleOwner owner
)`

Adds the given `https://developer.android.com/reference/androidx/core/view/MenuProvider` to this `https://developer.android.com/reference/androidx/core/view/MenuHost`.
`abstract void` `https://developer.android.com/reference/androidx/core/view/MenuHost#addMenuProvider(androidx.core.view.MenuProvider,androidx.lifecycle.LifecycleOwner,androidx.lifecycle.Lifecycle.State)(
@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/androidx/core/view/MenuProvider provider,
@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/androidx/lifecycle/LifecycleOwner owner,
@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/androidx/lifecycle/Lifecycle.State state
)`

Adds the given `https://developer.android.com/reference/androidx/core/view/MenuProvider` to this `https://developer.android.com/reference/androidx/core/view/MenuHost` once the given `https://developer.android.com/reference/androidx/lifecycle/LifecycleOwner` reaches the given `https://developer.android.com/reference/androidx/lifecycle/Lifecycle.State`.
`abstract void` `https://developer.android.com/reference/androidx/core/view/MenuHost#invalidateMenu()()`

Invalidates the `https://developer.android.com/reference/android/view/Menu.html` to ensure that what is displayed matches the current internal state of the menu.
`abstract void` `https://developer.android.com/reference/androidx/core/view/MenuHost#removeMenuProvider(androidx.core.view.MenuProvider)(@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/androidx/core/view/MenuProvider provider)`

Removes the given `https://developer.android.com/reference/androidx/core/view/MenuProvider` from this `https://developer.android.com/reference/androidx/core/view/MenuHost`.
From [androidx.navigationevent.NavigationEventDispatcherOwner](https://developer.android.com/reference/androidx/navigationevent/NavigationEventDispatcherOwner) `abstract https://developer.android.com/reference/androidx/navigationevent/NavigationEventDispatcher` `https://developer.android.com/reference/androidx/navigationevent/NavigationEventDispatcherOwner#getNavigationEventDispatcher()()`

The `https://developer.android.com/reference/androidx/navigationevent/NavigationEventDispatcher` that should handle the navigation events.
From [androidx.activity.OnBackPressedDispatcherOwner](https://developer.android.com/reference/androidx/activity/OnBackPressedDispatcherOwner) `abstract https://developer.android.com/reference/androidx/activity/OnBackPressedDispatcher` `https://developer.android.com/reference/androidx/activity/OnBackPressedDispatcherOwner#getOnBackPressedDispatcher()()`

The `https://developer.android.com/reference/androidx/activity/OnBackPressedDispatcher` that should handle the system back button.
From [androidx.core.content.OnConfigurationChangedProvider](https://developer.android.com/reference/androidx/core/content/OnConfigurationChangedProvider) `abstract void` `https://developer.android.com/reference/androidx/core/content/OnConfigurationChangedProvider#addOnConfigurationChangedListener(androidx.core.util.Consumer<android.content.res.Configuration>)(https://developer.android.com/reference/androidx/core/util/Consumer<https://developer.android.com/reference/android/content/res/Configuration.html> listener)`

Add a new listener that will get a callback associated with `https://developer.android.com/reference/android/content/ComponentCallbacks.html#onConfigurationChanged(android.content.res.Configuration)` with the new `https://developer.android.com/reference/android/content/res/Configuration.html`.
`abstract void` `https://developer.android.com/reference/androidx/core/content/OnConfigurationChangedProvider#removeOnConfigurationChangedListener(androidx.core.util.Consumer<android.content.res.Configuration>)(https://developer.android.com/reference/androidx/core/util/Consumer<https://developer.android.com/reference/android/content/res/Configuration.html> listener)`

Remove a previously added listener.
From [androidx.core.app.OnMultiWindowModeChangedProvider](https://developer.android.com/reference/androidx/core/app/OnMultiWindowModeChangedProvider) `abstract void` `https://developer.android.com/reference/androidx/core/app/OnMultiWindowModeChangedProvider#addOnMultiWindowModeChangedListener(androidx.core.util.Consumer<androidx.core.app.MultiWindowModeChangedInfo>)(
https://developer.android.com/reference/androidx/core/util/Consumer<https://developer.android.com/reference/androidx/core/app/MultiWindowModeChangedInfo> listener
)`

Add a new listener that will get a callback associated with `https://developer.android.com/reference/android/app/Activity.html#onMultiWindowModeChanged(boolean)` with the new `https://developer.android.com/reference/androidx/core/app/MultiWindowModeChangedInfo`.
`abstract void` `https://developer.android.com/reference/androidx/core/app/OnMultiWindowModeChangedProvider#removeOnMultiWindowModeChangedListener(androidx.core.util.Consumer<androidx.core.app.MultiWindowModeChangedInfo>)(
https://developer.android.com/reference/androidx/core/util/Consumer<https://developer.android.com/reference/androidx/core/app/MultiWindowModeChangedInfo> listener
)`

Remove a previously added listener.
From [androidx.core.app.OnNewIntentProvider](https://developer.android.com/reference/androidx/core/app/OnNewIntentProvider) `abstract void` `https://developer.android.com/reference/androidx/core/app/OnNewIntentProvider#addOnNewIntentListener(androidx.core.util.Consumer<android.content.Intent>)(https://developer.android.com/reference/androidx/core/util/Consumer<https://developer.android.com/reference/android/content/Intent.html> listener)`

Add a new listener that will get a callback associated with `https://developer.android.com/reference/android/app/Activity.html#onNewIntent(android.content.Intent)` with the new `https://developer.android.com/reference/android/content/Intent.html`.
`abstract void` `https://developer.android.com/reference/androidx/core/app/OnNewIntentProvider#removeOnNewIntentListener(androidx.core.util.Consumer<android.content.Intent>)(https://developer.android.com/reference/androidx/core/util/Consumer<https://developer.android.com/reference/android/content/Intent.html> listener)`

Remove a previously added listener.
From [androidx.core.app.OnPictureInPictureModeChangedProvider](https://developer.android.com/reference/androidx/core/app/OnPictureInPictureModeChangedProvider) `abstract void` `https://developer.android.com/reference/androidx/core/app/OnPictureInPictureModeChangedProvider#addOnPictureInPictureModeChangedListener(androidx.core.util.Consumer<androidx.core.app.PictureInPictureModeChangedInfo>)(
https://developer.android.com/reference/androidx/core/util/Consumer<https://developer.android.com/reference/androidx/core/app/PictureInPictureModeChangedInfo> listener
)`

Add a new listener that will get a callback associated with `https://developer.android.com/reference/android/app/Activity.html#onPictureInPictureModeChanged(boolean)` with the new `https://developer.android.com/reference/androidx/core/app/PictureInPictureModeChangedInfo`.
`abstract void` `https://developer.android.com/reference/androidx/core/app/OnPictureInPictureModeChangedProvider#removeOnPictureInPictureModeChangedListener(androidx.core.util.Consumer<androidx.core.app.PictureInPictureModeChangedInfo>)(
https://developer.android.com/reference/androidx/core/util/Consumer<https://developer.android.com/reference/androidx/core/app/PictureInPictureModeChangedInfo> listener
)`

Remove a previously added listener.
From [androidx.core.app.OnPictureInPictureUiStateChangedProvider](https://developer.android.com/reference/androidx/core/app/OnPictureInPictureUiStateChangedProvider) `abstract void` `https://developer.android.com/reference/androidx/core/app/OnPictureInPictureUiStateChangedProvider#addOnPictureInPictureUiStateChangedListener(androidx.core.util.Consumer<androidx.core.app.PictureInPictureUiStateCompat>)(
https://developer.android.com/reference/androidx/core/util/Consumer<https://developer.android.com/reference/androidx/core/app/PictureInPictureUiStateCompat> listener
)`

Add a new listener that will get a callback associated with `https://developer.android.com/reference/android/app/Activity.html#onPictureInPictureUiStateChanged(android.app.PictureInPictureUiState)` with the new `https://developer.android.com/reference/androidx/core/app/PictureInPictureUiStateCompat`.
`abstract void` `https://developer.android.com/reference/androidx/core/app/OnPictureInPictureUiStateChangedProvider#removeOnPictureInPictureUiStateChangedListener(androidx.core.util.Consumer<androidx.core.app.PictureInPictureUiStateCompat>)(
https://developer.android.com/reference/androidx/core/util/Consumer<https://developer.android.com/reference/androidx/core/app/PictureInPictureUiStateCompat> listener
)`

Remove a previously added listener.
From [androidx.core.content.OnTrimMemoryProvider](https://developer.android.com/reference/androidx/core/content/OnTrimMemoryProvider) `abstract void` `https://developer.android.com/reference/androidx/core/content/OnTrimMemoryProvider#addOnTrimMemoryListener(androidx.core.util.Consumer<java.lang.Integer>)(https://developer.android.com/reference/androidx/core/util/Consumer<https://developer.android.com/reference/java/lang/Integer.html> listener)`

Add a new listener that will get a callback associated with `https://developer.android.com/reference/android/content/ComponentCallbacks2.html#onTrimMemory(int)` with the `int` representing the level of trimming.
`abstract void` `https://developer.android.com/reference/androidx/core/content/OnTrimMemoryProvider#removeOnTrimMemoryListener(androidx.core.util.Consumer<java.lang.Integer>)(https://developer.android.com/reference/androidx/core/util/Consumer<https://developer.android.com/reference/java/lang/Integer.html> listener)`

Remove a previously added listener.
From [androidx.core.app.OnUserLeaveHintProvider](https://developer.android.com/reference/androidx/core/app/OnUserLeaveHintProvider) `abstract void` `https://developer.android.com/reference/androidx/core/app/OnUserLeaveHintProvider#addOnUserLeaveHintListener(java.lang.Runnable)(https://developer.android.com/reference/java/lang/Runnable.html listener)`

Add a new listener that will get a callback associated with `https://developer.android.com/reference/android/app/Activity.html#onUserLeaveHint()`
`abstract void` `https://developer.android.com/reference/androidx/core/app/OnUserLeaveHintProvider#removeOnUserLeaveHintListener(java.lang.Runnable)(https://developer.android.com/reference/java/lang/Runnable.html listener)`

Remove a previously added listener.
From [androidx.core.app.PictureInPictureProvider](https://developer.android.com/reference/androidx/core/app/PictureInPictureProvider) `abstract void` `https://developer.android.com/reference/androidx/core/app/PictureInPictureProvider#enterPictureInPictureMode(androidx.core.app.PictureInPictureParamsCompat)(https://developer.android.com/reference/androidx/core/app/PictureInPictureParamsCompat params)`

Available since API 24 in the framework Activity class, puts the activity in picture-in-picture mode if possible in the current system state.
`abstract void` `https://developer.android.com/reference/androidx/core/app/PictureInPictureProvider#setPictureInPictureParams(androidx.core.app.PictureInPictureParamsCompat)(https://developer.android.com/reference/androidx/core/app/PictureInPictureParamsCompat params)`

Available since API 26 in the framework Activity class, updates the properties of the picture-in-picture activity, or sets it to be used later when `https://developer.android.com/reference/androidx/core/app/PictureInPictureProvider#enterPictureInPictureMode(androidx.core.app.PictureInPictureParamsCompat)` is called
From [androidx.savedstate.SavedStateRegistryOwner](https://developer.android.com/reference/androidx/savedstate/SavedStateRegistryOwner) `abstract https://developer.android.com/reference/androidx/savedstate/SavedStateRegistry` `https://developer.android.com/reference/androidx/savedstate/SavedStateRegistryOwner#getSavedStateRegistry()()`

The `https://developer.android.com/reference/androidx/savedstate/SavedStateRegistry` owned by this `https://developer.android.com/reference/androidx/savedstate/SavedStateRegistryOwner`.
From [androidx.lifecycle.ViewModelStoreOwner](https://developer.android.com/reference/androidx/lifecycle/ViewModelStoreOwner) `abstract https://developer.android.com/reference/androidx/lifecycle/ViewModelStore` `https://developer.android.com/reference/androidx/lifecycle/ViewModelStoreOwner#getViewModelStore()()`

The owned `https://developer.android.com/reference/androidx/lifecycle/ViewModelStore`
From [android.view.Window.Callback](https://developer.android.com/reference/android/view/Window.Callback.html) `void` `https://developer.android.com/reference/android/view/Window.Callback.html#onPointerCaptureChanged(boolean)(boolean hasCapture)`

## Public constructors

### CarAppActivity

Added in 1.1.0

```
public CarAppActivity()
```

## Protected methods

### onCreate

```
protected void onCreate(@Nullable Bundle savedInstanceState)
```


{@inheritDoc}

If your ComponentActivity is annotated with `https://developer.android.com/reference/androidx/annotation/ContentView`, this will call `https://developer.android.com/reference/androidx/activity/ComponentActivity#setContentView(kotlin.Int)` for you.
Perform initialization of all fragments.

<br />