OssLicensesMenuActivity

class OssLicensesMenuActivity : AppCompatActivity


An Activity used to display a list of all third party licenses in res/raw/third_party_license_metadata generated by the OSS licenses gradle plugin. A click on each item in the list will display the actual content of the license.

Summary

Public companion functions

Unit

Sets the title for the OSS licenses menu activity.

Public constructors

Protected functions

open Unit
onCreate(savedInstanceState: Bundle?)

Inherited functions

From android.app.Activity
open Unit
open Unit
open PendingIntent
createPendingResult(p0: Int, p1: Intent, p2: Int)
Unit

This function is deprecated. Deprecated in Java

Unit
open Boolean
open Boolean
open Boolean
open Boolean
open Unit

This function is deprecated. Deprecated in Java

open Boolean
open Unit
open Unit
open Unit

This function is deprecated. Deprecated in Java

open Unit
open Unit
open Unit
open Unit

This function is deprecated. Deprecated in Java

open ActionBar?
Application
open ComponentCaller?
@FlaggedApi(value = "android.security.content_uri_permission_apis")
getCaller()
open ComponentName?
open String?
open Int
open ComponentName
open Scene
open TransitionManager
open ComponentCaller
@FlaggedApi(value = "android.security.content_uri_permission_apis")
getCurrentCaller()
open View?
open FragmentManager

This function is deprecated. Deprecated in Java

open ComponentCaller
@FlaggedApi(value = "android.security.content_uri_permission_apis")
getInitialCaller()
open Intent
open Any?
open String?
open Int
open LayoutInflater
open LoaderManager

This function is deprecated. Deprecated in Java

open String
open Int
MediaController
open OnBackInvokedDispatcher
Activity

This function is deprecated. Deprecated in Java

open Intent?
open SharedPreferences
open Uri?
open Int
SearchEvent
SplashScreen
open Any
open Int
CharSequence
Int
open VoiceInteractor
Int
open Window
open WindowManager
open Boolean
open Boolean
open Boolean
Boolean

This function is deprecated. Deprecated in Java

open Boolean
open Boolean
Boolean
@FlaggedApi(value = "android.companion.task_continuity")
isHandoffEnabled()
open Boolean
open Boolean
open Boolean
open Boolean
open Boolean
open Boolean
open Boolean
open Boolean
Cursor
managedQuery(
    p0: Uri,
    p1: Array<String>,
    p2: String,
    p3: Array<String>,
    p4: String
)

This function is deprecated. Deprecated in Java

open Boolean
open Boolean
open Boolean

This function is deprecated. Deprecated in Java

open Unit
open Unit
open Unit
open Unit
@FlaggedApi(value = "android.security.content_uri_permission_apis")
onActivityResult(p0: Int, p1: Int, p2: Intent?, p3: ComponentCaller)
open Unit
open Unit

This function is deprecated. Deprecated in Java

open Unit
open Unit
open Boolean
open Unit
open Unit
open Unit
onCreateContextMenu(
    p0: ContextMenu,
    p1: View,
    p2: ContextMenu.ContextMenuInfo
)
open CharSequence?
open Dialog

This function is deprecated. Deprecated in Java

open Dialog?

This function is deprecated. Deprecated in Java

open Unit
open Boolean
open View?
open Boolean

This function is deprecated. Deprecated in Java

open Unit
open Unit
open Boolean
open Unit
open HandoffActivityData?
@FlaggedApi(value = "android.companion.task_continuity")
onHandoffActivityDataRequested(p0: HandoffActivityDataRequestInfo)
open Boolean
open Boolean
onKeyMultiple(p0: Int, p1: Int, p2: KeyEvent)
open Boolean
open Boolean
onKeyUp(p0: Int, p1: KeyEvent)
open Unit
open Unit
open Unit
open Boolean
open Boolean

This function is deprecated. Deprecated in Java

open Unit
@FlaggedApi(value = "android.security.content_uri_permission_apis")
onNewIntent(p0: Intent, p1: ComponentCaller)
open Boolean
open Unit
open Unit
onPerformDirectAction(
    p0: String,
    p1: Bundle,
    p2: CancellationSignal,
    p3: Consumer<Bundle>
)
open Boolean
open Unit
open Unit

This function is deprecated. Deprecated in Java

open Unit
onPrepareDialog(p0: Int, p1: Dialog, p2: Bundle)

This function is deprecated. Deprecated in Java

open Unit
open Boolean
open Unit
open Unit
open Unit
onProvideKeyboardShortcuts(
    p0: MutableList<KeyboardShortcutGroup>,
    p1: Menu?,
    p2: Int
)
open Uri
open Unit
open Unit
open Unit
open Unit
open Unit
open Boolean
open Boolean
open Unit
open Boolean
open Boolean
open Unit
open Unit

This function is deprecated. Deprecated in Java

open Unit
open Unit
open ActionMode?
open ActionMode?
open Unit
open Unit
open Unit
overrideActivityTransition(p0: Int, p1: Int, p2: Int, p3: Int)
open Unit

This function is deprecated. Deprecated in Java

open Unit
overridePendingTransition(p0: Int, p1: Int, p2: Int)

This function is deprecated. Deprecated in Java

open Unit
open Unit
open Unit
open Unit
open Unit
open Unit
open Boolean
Unit

This function is deprecated. Deprecated in Java

open DragAndDropPermissions
open Unit
Unit
@FlaggedApi(value = "com.android.window.flags.enable_desktop_windowing_app_to_web_education")
requestOpenInBrowserEducation()
Unit
Unit
requestPermissions(p0: Array<String>, p1: Int, p2: Int)
Unit
open Boolean

This function is deprecated. Deprecated in Java

Boolean
T
<T : View> requireViewById(p0: Int)
Unit
open Unit
open Unit
open Unit
Unit
open Unit
open Unit
Unit
Unit
Unit
Unit
open Unit
Unit
@FlaggedApi(value = "android.companion.task_continuity")
setHandoffEnabled(p0: Boolean, p1: HandoffActivityParams?)
open Unit
open Unit
open Unit
open Unit
@FlaggedApi(value = "android.security.content_uri_permission_apis")
setIntent(p0: Intent?, p1: ComponentCaller?)
open Unit
Unit
open Unit
Unit

This function is deprecated. Deprecated in Java

Unit

This function is deprecated. Deprecated in Java

Unit

This function is deprecated. Deprecated in Java

Unit

This function is deprecated. Deprecated in Java

open Unit
open Unit
Unit
Unit
setResult(p0: Int, p1: Intent)
Unit

This function is deprecated. Deprecated in Java

open Unit
open Unit
open Unit
open Unit
open Unit
open Unit

This function is deprecated. Deprecated in Java

open Boolean
open Unit
open Unit
Unit
open Unit
open Boolean
open Boolean
open Boolean
open Boolean
open Boolean
Unit

This function is deprecated. Deprecated in Java

Boolean
showDialog(p0: Int, p1: Bundle)

This function is deprecated. Deprecated in Java

open Unit
open ActionMode?
open ActionMode?
open Unit
open Unit
open Unit
open Unit
open Unit

This function is deprecated. Deprecated in Java

open Unit
startActivityFromChild(p0: Activity, p1: Intent, p2: Int, p3: Bundle?)

This function is deprecated. Deprecated in Java

open Unit

This function is deprecated. Deprecated in Java

open Unit
startActivityFromFragment(p0: Fragment, p1: Intent, p2: Int, p3: Bundle?)

This function is deprecated. Deprecated in Java

open Boolean
open Boolean
startActivityIfNeeded(p0: Intent, p1: Int, p2: Bundle?)
open Unit
startIntentSender(p0: IntentSender, p1: Intent?, p2: Int, p3: Int, p4: Int)
open Unit
startIntentSender(
    p0: IntentSender,
    p1: Intent?,
    p2: Int,
    p3: Int,
    p4: Int,
    p5: Bundle?
)
open Unit
startIntentSenderFromChild(
    p0: Activity,
    p1: IntentSender,
    p2: Int,
    p3: Intent,
    p4: Int,
    p5: Int,
    p6: Int
)

This function is deprecated. Deprecated in Java

open Unit
startIntentSenderFromChild(
    p0: Activity,
    p1: IntentSender,
    p2: Int,
    p3: Intent,
    p4: Int,
    p5: Int,
    p6: Int,
    p7: Bundle?
)

This function is deprecated. Deprecated in Java

open Unit
open Unit
open Unit

This function is deprecated. Deprecated in Java

open Boolean
open Boolean
open Unit
open Unit
startSearch(p0: String?, p1: Boolean, p2: Bundle?, p3: Boolean)
open Unit
open Unit
open Unit

This function is deprecated. Deprecated in Java

open Unit
open Unit
open Unit
open Unit
open Unit
open Unit
From androidx.appcompat.app.AppCompatActivity
open Unit
open Unit
open Unit
open Boolean
open T
<T : View> findViewById(p0: @IdRes Int)
open AppCompatDelegate
open ActionBarDrawerToggle.Delegate?
open MenuInflater
open Resources
open ActionBar?
open Intent?
open Unit
open Unit
open Unit
open Unit
open Unit
open Boolean
onKeyDown(p0: Int, p1: KeyEvent)
open Unit
final Boolean
onMenuItemSelected(featureId: Int, item: MenuItem)
open Boolean
onMenuOpened(p0: Int, p1: Menu)
open Unit
open Unit
onPanelClosed(featureId: Int, menu: Menu)
open Unit
open Unit
open Unit
open Unit
open Unit
open Unit
open Unit
open Unit

This function is deprecated. Deprecated in Java

open Boolean
open Unit
open ActionMode?
open Unit
open Unit
setContentView(layoutResID: @LayoutRes Int)
open Unit
open Unit
open Unit
open Unit

This function is deprecated. Deprecated in Java

open Unit

This function is deprecated. Deprecated in Java

open Unit

This function is deprecated. Deprecated in Java

open Unit

This function is deprecated. Deprecated in Java

open Unit
open ActionMode?
open Unit
open Unit
open Boolean
open Boolean
From androidx.activity.ComponentActivity
open Unit
open Unit
open Unit
addMenuProvider(
    provider: MenuProvider,
    owner: LifecycleOwner,
    state: Lifecycle.State
)
final Unit
final Unit
final Unit
final Unit
final Unit
final Unit
final Unit
final Unit
final Unit
open Unit
open Unit
open Unit

This function is deprecated. This method has been deprecated in favor of using the {@link OnBackPressedDispatcher} via {@link #getOnBackPressedDispatcher()}.

open Boolean
onCreatePanelMenu(featureId: Int, menu: Menu)
open Unit

This function is deprecated. Deprecated in android.app.Activity

open Unit
@RequiresApi(api = 26)
@CallSuper
onMultiWindowModeChanged(
    isInMultiWindowMode: Boolean,
    newConfig: Configuration
)
open Unit
open Unit
@CallSuper
onPictureInPictureModeChanged(isInPictureInPictureMode: Boolean)

This function is deprecated. Deprecated in android.app.Activity

open Unit
@RequiresApi(api = 26)
@CallSuper
onPictureInPictureModeChanged(
    isInPictureInPictureMode: Boolean,
    newConfig: Configuration
)
open Unit
open Boolean
onPreparePanel(featureId: Int, view: View?, menu: Menu)
open Any?

This function is deprecated. Use a {@link androidx.lifecycle.ViewModel} to store non config state.

final Any?
open Unit
open Unit
open Unit
open Context?
final ActivityResultLauncher<I>
<I : Any?, O : Any?> registerForActivityResult(
    contract: ActivityResultContract<I, O>,
    callback: ActivityResultCallback<O>
)
final ActivityResultLauncher<I>
<I : Any?, O : Any?> registerForActivityResult(
    contract: ActivityResultContract<I, O>,
    registry: ActivityResultRegistry,
    callback: ActivityResultCallback<O>
)
open Unit
final Unit
final Unit
final Unit
final Unit
final Unit
final Unit
final Unit
final Unit
open Unit
final Unit
open Unit
startActivityForResult(intent: Intent, requestCode: Int)

This function is deprecated. This method has been deprecated in favor of using the Activity Result API which brings increased type safety via an {@link ActivityResultContract} and the prebuilt contracts for common intents available in {@link androidx.activity.result.contract.ActivityResultContracts}, provides hooks for testing, and allow receiving results in separate, testable classes independent from your activity.

open Unit
startActivityForResult(intent: Intent, requestCode: Int, options: Bundle?)

This function is deprecated. This method has been deprecated in favor of using the Activity Result API which brings increased type safety via an {@link ActivityResultContract} and the prebuilt contracts for common intents available in {@link androidx.activity.result.contract.ActivityResultContracts}, provides hooks for testing, and allow receiving results in separate, testable classes independent from your activity.

open Unit
startIntentSenderForResult(
    intent: IntentSender,
    requestCode: Int,
    fillInIntent: Intent?,
    flagsMask: Int,
    flagsValues: Int,
    extraFlags: Int
)

This function is deprecated. This method has been deprecated in favor of using the Activity Result API which brings increased type safety via an {@link ActivityResultContract} and the prebuilt contracts for common intents available in {@link androidx.activity.result.contract.ActivityResultContracts}, provides hooks for testing, and allow receiving results in separate, testable classes independent from your activity.

open Unit
startIntentSenderForResult(
    intent: IntentSender,
    requestCode: Int,
    fillInIntent: Intent?,
    flagsMask: Int,
    flagsValues: Int,
    extraFlags: Int,
    options: Bundle?
)

This function is deprecated. This method has been deprecated in favor of using the Activity Result API which brings increased type safety via an {@link ActivityResultContract} and the prebuilt contracts for common intents available in {@link androidx.activity.result.contract.ActivityResultContracts}, provides hooks for testing, and allow receiving results in separate, testable classes independent from your activity.

From android.content.Context
From android.view.ContextThemeWrapper
From android.content.ContextWrapper
open Boolean
bindIsolatedService(
    p0: Intent,
    p1: Int,
    p2: String,
    p3: Executor,
    p4: ServiceConnection
)
open Boolean
bindService(
    p0: Intent,
    p1: ServiceConnection,
    p2: Context.BindServiceFlags
)
open Boolean
open Boolean
bindService(
    p0: Intent,
    p1: Context.BindServiceFlags,
    p2: Executor,
    p3: ServiceConnection
)
open Boolean
bindService(p0: Intent, p1: Int, p2: Executor, p3: ServiceConnection)
open Boolean
bindServiceAsUser(
    p0: Intent,
    p1: ServiceConnection,
    p2: Context.BindServiceFlags,
    p3: UserHandle
)
open Boolean
open Int
open Int
open IntArray
open Int
open Int
open IntArray
open Int
@FlaggedApi(value = "android.security.content_uri_permission_apis")
checkContentUriPermissionFull(p0: Uri, p1: Int, p2: Int, p3: Int)
open Int
checkPermission(p0: String, p1: Int, p2: Int)
open Int
open Int
checkUriPermission(p0: Uri, p1: Int, p2: Int, p3: Int)
open Int
checkUriPermission(p0: Uri?, p1: String?, p2: String?, p3: Int, p4: Int, p5: Int)
open IntArray
checkUriPermissions(p0: MutableList<Uri>, p1: Int, p2: Int, p3: Int)
open Unit

This function is deprecated. Deprecated in Java

open Context
open Context
open Context
open Context
open Context
open Context
open Context
open Context
open Context
open Context
createWindowContext(p0: Display, p1: Int, p2: Bundle?)
open Array<String>
open Boolean
open Boolean
open Boolean
open Unit
open Unit
open Unit
open Unit
open Unit
enforcePermission(p0: String, p1: Int, p2: Int, p3: String?)
open Unit
enforceUriPermission(p0: Uri, p1: Int, p2: Int, p3: Int, p4: String)
open Unit
enforceUriPermission(
    p0: Uri?,
    p1: String?,
    p2: String?,
    p3: Int,
    p4: Int,
    p5: Int,
    p6: String?
)
open Array<String>
open Context
open ApplicationInfo
open AttributionSource
open String?
open Context
open File
open ClassLoader
open File
open ContentResolver
open File
open File
open Int
open File
getDir(p0: String, p1: Int)
open Display?
open File?
open Array<File>
open File?
open Array<File>
open Array<File>
open File
open File
open Executor
open Looper
open File
open File
open Array<File>
open String
open String
open PackageManager
open String
open String
open ContextParams?
open SharedPreferences
open String?
open Drawable

This function is deprecated. Deprecated in Java

open Int

This function is deprecated. Deprecated in Java

open Int

This function is deprecated. Deprecated in Java

open Unit
grantUriPermission(p0: String, p1: Uri, p2: Int)
open Boolean
open Boolean
open Boolean
open Boolean
open Boolean
open FileInputStream
open FileOutputStream
open SQLiteDatabase
open SQLiteDatabase
openOrCreateDatabase(
    p0: String,
    p1: Int,
    p2: SQLiteDatabase.CursorFactory,
    p3: DatabaseErrorHandler?
)
open Drawable

This function is deprecated. Deprecated in Java

open Unit
open Unit
open Intent?
open Intent?
open Intent?
registerReceiver(
    p0: BroadcastReceiver?,
    p1: IntentFilter,
    p2: String?,
    p3: Handler?
)
open Intent?
registerReceiver(
    p0: BroadcastReceiver?,
    p1: IntentFilter,
    p2: String?,
    p3: Handler?,
    p4: Int
)
open Unit

This function is deprecated. Deprecated in Java

open Unit

This function is deprecated. Deprecated in Java

open Unit
open Unit
open Unit
revokeUriPermission(p0: String, p1: Uri, p2: Int)
open Unit
open Unit
open Unit
sendBroadcast(p0: Intent, p1: String?, p2: Bundle?)
open Unit
open Unit
open Unit
open Unit
open Unit
sendOrderedBroadcast(
    p0: Intent,
    p1: String?,
    p2: BroadcastReceiver?,
    p3: Handler?,
    p4: Int,
    p5: String?,
    p6: Bundle?
)
open Unit
sendOrderedBroadcast(
    p0: Intent,
    p1: String?,
    p2: Bundle?,
    p3: BroadcastReceiver?,
    p4: Handler?,
    p5: Int,
    p6: String?,
    p7: Bundle?
)
open Unit
sendOrderedBroadcast(
    p0: Intent,
    p1: String?,
    p2: String?,
    p3: BroadcastReceiver?,
    p4: Handler?,
    p5: Int,
    p6: String?,
    p7: Bundle?
)
open Unit
sendOrderedBroadcast(
    p0: Intent,
    p1: Int,
    p2: String?,
    p3: String?,
    p4: BroadcastReceiver?,
    p5: Handler?,
    p6: String?,
    p7: Bundle?,
    p8: Bundle?
)
open Unit
sendOrderedBroadcastAsUser(
    p0: Intent,
    p1: UserHandle,
    p2: String?,
    p3: BroadcastReceiver?,
    p4: Handler?,
    p5: Int,
    p6: String?,
    p7: Bundle?
)
open Unit

This function is deprecated. Deprecated in Java

open Unit

This function is deprecated. Deprecated in Java

open Unit

This function is deprecated. Deprecated in Java

open Unit
sendStickyOrderedBroadcast(
    p0: Intent,
    p1: BroadcastReceiver?,
    p2: Handler?,
    p3: Int,
    p4: String?,
    p5: Bundle?
)

This function is deprecated. Deprecated in Java

open Unit
sendStickyOrderedBroadcastAsUser(
    p0: Intent,
    p1: UserHandle,
    p2: BroadcastReceiver?,
    p3: Handler?,
    p4: Int,
    p5: String?,
    p6: Bundle?
)

This function is deprecated. Deprecated in Java

open Unit

This function is deprecated. Deprecated in Java

open Unit

This function is deprecated. Deprecated in Java

open ComponentName?
open Boolean
open ComponentName?
open Boolean
open Unit
open Unit
open Unit
open Unit
open Unit
From androidx.fragment.app.FragmentActivity
open Unit
dump(p0: String, p1: FileDescriptor?, p2: PrintWriter, p3: Array<String>?)
open FragmentManager
open LoaderManager

This function is deprecated. Deprecated in Java

open Unit
@CallSuper
onActivityResult(requestCode: Int, resultCode: Int, data: Intent?)
open Unit

This function is deprecated. Deprecated in Java

open View?
open View?
onCreateView(p0: View?, p1: String, p2: Context, p3: AttributeSet)
open Unit
open Unit
@CallSuper
onRequestPermissionsResult(
    requestCode: Int,
    permissions: Array<String>,
    grantResults: IntArray
)
open Unit
open Unit
open Unit
open Unit
open Unit
open Unit
open Unit
startActivityFromFragment(p0: Fragment, p1: Intent, p2: Int, p3: Bundle?)
open Unit
startIntentSenderFromFragment(
    p0: Fragment,
    p1: IntentSender,
    p2: Int,
    p3: Intent?,
    p4: Int,
    p5: Int,
    p6: Int,
    p7: Bundle?
)

This function is deprecated. Deprecated in Java

open Unit
open Unit
open Unit
final Unit

This function is deprecated. Deprecated in Java

From androidx.core.app.ComponentActivity
open Boolean
open T?

This function is deprecated. Use {@link View#getTag(int)} with the window's decor view.

open Unit

This function is deprecated. Use {@link View#setTag(int, Object)} with the window's decor view.

Boolean
open Boolean
From android.view.Window.Callback

Public companion functions

setActivityTitle

fun setActivityTitle(title: String): Unit

Sets the title for the OSS licenses menu activity.

Parameters
title: String

The title to be used for the activity.

Public constructors

OssLicensesMenuActivity

OssLicensesMenuActivity()

Protected functions

onCreate

protected open fun onCreate(savedInstanceState: Bundle?): Unit