diff --git a/build.gradle b/build.gradle index 137820e03a4..26b060ac623 100644 --- a/build.gradle +++ b/build.gradle @@ -43,7 +43,7 @@ buildscript { } plugins { - id("io.gitlab.arturbosch.detekt").version("1.0.1") // Check version number in `Versions.detekt` + id("io.gitlab.arturbosch.detekt").version("1.9.1") // Check version number in `Versions.detekt` } allprojects { @@ -277,6 +277,8 @@ detekt { config = files("$projectDir/config/detekt.yml") baseline = file("$projectDir/config/detekt-baseline.xml") + failFast = false + reports { html { enabled = true @@ -285,6 +287,9 @@ detekt { xml { enabled = false } + txt { + enabled = false + } } } diff --git a/buildSrc/src/main/java/Dependencies.kt b/buildSrc/src/main/java/Dependencies.kt index fa030842442..131b0c29406 100644 --- a/buildSrc/src/main/java/Dependencies.kt +++ b/buildSrc/src/main/java/Dependencies.kt @@ -18,7 +18,7 @@ object Versions { const val android_gradle_plugin = "3.5.3" const val android_maven_publish_plugin = "3.6.2" const val lint = "26.3.2" - const val detekt = "1.2.2" + const val detekt = "1.9.1" const val sentry = "1.7.21" const val okhttp = "3.13.1" diff --git a/config/detekt-baseline.xml b/config/detekt-baseline.xml index dc272b13ee1..3a0ad4595ad 100644 --- a/config/detekt-baseline.xml +++ b/config/detekt-baseline.xml @@ -4,35 +4,79 @@ AbsentOrWrongFileLicense:AutoFitTextureView.kt$mozilla.components.feature.qr.views.AutoFitTextureView.kt AbsentOrWrongFileLicense:QrFragment.kt$mozilla.components.feature.qr.QrFragment.kt - LargeClass:BrowserToolbar.kt$BrowserToolbar : ViewGroupToolbar + ComplexMethod:AppLinksInterceptor.kt$AppLinksInterceptor$onLoadRequest + ComplexMethod:Browsers.kt$Browsers$findKnownBrowsers + ComplexMethod:Evaluator.kt$Evaluator$filterStatic + ComplexMethod:ExperimentEvaluator.kt$ExperimentEvaluator$matches + ComplexMethod:InlineAutocompleteEditText.kt$InlineAutocompleteEditText$addAutocompleteText + ComplexMethod:InlineAutocompleteEditText.kt$InlineAutocompleteEditText.TextChangeListener$afterTextChanged + ComplexMethod:LegacySessionManager.kt$LegacySessionManager$findNearbySession + ComplexMethod:MozillaSocorroService.kt$MozillaSocorroService$sendCrashData + ComplexMethod:OkHttpClient.kt$rebuildFor + ComplexMethod:SearchEngineParser.kt$SearchEngineParser$readSearchPlugin + ComplexMethod:Utils.kt$findBestSize LargeClass:ContextMenuCandidate.kt$ContextMenuCandidate$Companion - LargeClass:CustomTabsToolbarFeature.kt$CustomTabsToolbarFeature : LifecycleAwareFeatureBackHandler - LargeClass:EventsStorageEngine.kt$EventsStorageEngine : StorageEngine - LargeClass:ExperimentEvaluator.kt$ExperimentEvaluator - LargeClass:Experiments.kt$ExperimentsInternalAPI - LargeClass:GeckoPromptDelegate.kt$GeckoPromptDelegate : PromptDelegate - LargeClass:MainActivity.kt$MainActivity : AppCompatActivityOnLoginCompleteListenerCoroutineScope - LargeClass:PromptFeature.kt$PromptFeature : LifecycleAwareFeaturePermissionsFeature - LargeClass:Session.kt$Session : Observable - LargeClass:SystemEngineSession.kt$SystemEngineSession : EngineSession - LargeClass:SystemEngineView.kt$SystemEngineView : FrameLayoutEngineViewOnLongClickListener - LargeClass:SystemEngineView.kt$SystemEngineView$<no name provided> : WebChromeClient + LargeClass:GeckoPromptDelegate.kt$GeckoPromptDelegate$GeckoPromptDelegate LargeClass:SystemEngineView.kt$SystemEngineView$<no name provided> : WebViewClient - LongMethod:ByteArray.kt$ @Suppress("ComplexMethod", "NestedBlockDepth") internal fun ByteArray.binarySearch(labels: List<ByteArray>, labelIndex: Int): String? - LongMethod:DisplayToolbar.kt$DisplayToolbar$// We layout the toolbar ourselves to avoid the overhead from using complex ViewGroup implementations @Suppress("ComplexMethod") override fun onLayout(changed: Boolean, left: Int, top: Int, right: Int, bottom: Int) - LongMethod:FxaAccountManager.kt$FxaAccountManager$ @Suppress("ComplexMethod", "ReturnCount", "ThrowsCount") private suspend fun stateActions(forState: AccountState, via: Event): Event? - LongMethod:PromptFeature.kt$PromptFeature$@Suppress("ComplexMethod") @VisibleForTesting(otherwise = PRIVATE) internal fun handleDialogsRequest( promptRequest: PromptRequest, session: Session ) - LongMethod:SystemEngineSession.kt$SystemEngineSession$private fun initSettings(webView: WebView, s: WebSettings) - LongMethod:TabListReducer.kt$TabListReducer$ fun reduce(state: BrowserState, action: TabListAction): BrowserState - UndocumentedPublicClass:AccountStorage.kt$AccountStorage - UndocumentedPublicClass:AccountStorage.kt$SharedPrefAccountStorage : AccountStorage + LongMethod:TabListReducer.kt$TabListReducer$reduce + LongParameterList:AppLinksFeature.kt$AppLinksFeature$( private val context: Context, private val sessionManager: SessionManager, private val sessionId: String? = null, private val fragmentManager: FragmentManager? = null, private var dialog: RedirectDialogFragment? = null, private val launchInApp: () -> Boolean = { false }, private val useCases: AppLinksUseCases = AppLinksUseCases(context, launchInApp), private val failedToLaunchAction: () -> Unit = {} ) + LongParameterList:AppLinksInterceptor.kt$AppLinksInterceptor$( private val context: Context, private val interceptLinkClicks: Boolean = false, private val engineSupportedSchemes: Set<String> = ENGINE_SUPPORTED_SCHEMES, private val alwaysDeniedSchemes: Set<String> = ALWAYS_DENY_SCHEMES, private val launchInApp: () -> Boolean = { false }, private val useCases: AppLinksUseCases = AppLinksUseCases(context, launchInApp, alwaysDeniedSchemes), private val launchFromInterceptor: Boolean = false ) + LongParameterList:AutoPushFeature.kt$AutoPushFeature$( private val context: Context, private val service: PushService, config: PushConfig, coroutineContext: CoroutineContext = Executors.newSingleThreadExecutor().asCoroutineDispatcher(), private val connection: PushConnection = RustPushConnection( senderId = config.senderId, serverHost = config.serverHost, socketProtocol = config.protocol, serviceType = config.serviceType, databasePath = File(context.filesDir, DB_NAME).canonicalPath ), private val crashReporter: CrashReporting? = null ) + LongParameterList:AwesomeBarFeature.kt$AwesomeBarFeature$( private val awesomeBar: AwesomeBar, private val toolbar: Toolbar, private val engineView: EngineView? = null, private val icons: BrowserIcons? = null, onEditStart: (() -> Unit)? = null, onEditComplete: (() -> Unit)? = null ) + LongParameterList:BrowserGestureDetector.kt$BrowserGestureDetector.GesturesListener$( /** * Responds to scroll events for a gesture in progress. * The distance in x and y is also supplied for convenience. */ val onScroll: ((distanceX: Float, distanceY: Float) -> Unit)? = { _, _ -> run {} }, /** * Responds to an in progress scroll occuring more on the vertical axis. * The scroll distance is also supplied for convenience. */ val onVerticalScroll: ((distance: Float) -> Unit)? = {}, /** * Responds to an in progress scroll occurring more on the horizontal axis. * The scroll distance is also supplied for convenience. */ val onHorizontalScroll: ((distance: Float) -> Unit)? = {}, /** * Responds to the the beginning of a new scale gesture. * Reported by new pointers going down. */ val onScaleBegin: ((scaleFactor: Float) -> Unit)? = {}, /** * Responds to scaling events for a gesture in progress. * The scaling factor is also supplied for convenience. * This value is represents the difference from the previous scale event to the current event. */ val onScale: ((scaleFactor: Float) -> Unit)? = {}, /** * Responds to the end of a scale gesture. * Reported by existing pointers going up. */ val onScaleEnd: ((scaleFactor: Float) -> Unit)? = {} ) + LongParameterList:BrowserIcons.kt$BrowserIcons$( private val context: Context, private val httpClient: Client, private val generator: IconGenerator = DefaultIconGenerator(), private val preparers: List<IconPreprarer> = listOf( TippyTopIconPreparer(context.assets), MemoryIconPreparer(sharedMemoryCache), DiskIconPreparer(sharedDiskCache) ), private val loaders: List<IconLoader> = listOf( MemoryIconLoader(sharedMemoryCache), DiskIconLoader(sharedDiskCache), HttpIconLoader(httpClient), DataUriIconLoader() ), private val decoders: List<ImageDecoder> = listOf( AndroidImageDecoder(), ICOIconDecoder() ), private val processors: List<IconProcessor> = listOf( MemoryIconProcessor(sharedMemoryCache), DiskIconProcessor(sharedDiskCache) ), jobDispatcher: CoroutineDispatcher = Executors.newFixedThreadPool(THREADS).asCoroutineDispatcher() ) + LongParameterList:BrowserMenuHighlightableItem.kt$BrowserMenuHighlightableItem$( label: String, @DrawableRes imageResource: Int, @ColorRes iconTintColorResource: Int = NO_ID, @ColorRes textColorResource: Int = NO_ID, highlight: Highlight? = null, listener: () -> Unit = {} ) + LongParameterList:BrowserMenuHighlightableItem.kt$BrowserMenuHighlightableItem$( private val label: String, @DrawableRes private val startImageResource: Int, @ColorRes private val iconTintColorResource: Int = NO_ID, @ColorRes private val textColorResource: Int = NO_ID, override val highlight: BrowserMenuHighlight, override val isHighlighted: () -> Boolean = { true }, private val listener: () -> Unit = {} ) + LongParameterList:BrowserMenuHighlightableSwitch.kt$BrowserMenuHighlightableSwitch$( label: String, @DrawableRes private val startImageResource: Int, @ColorRes private val iconTintColorResource: Int = NO_ID, @ColorRes private val textColorResource: Int = NO_ID, override val highlight: BrowserMenuHighlight.LowPriority, override val isHighlighted: () -> Boolean = { true }, initialState: () -> Boolean = { false }, listener: (Boolean) -> Unit ) + LongParameterList:BrowserMenuItemToolbar.kt$BrowserMenuItemToolbar.TwoStateButton$( @DrawableRes val primaryImageResource: Int, val primaryContentDescription: String, @ColorRes val primaryImageTintResource: Int = NO_ID, @DrawableRes val secondaryImageResource: Int = primaryImageResource, val secondaryContentDescription: String = primaryContentDescription, @ColorRes val secondaryImageTintResource: Int = primaryImageTintResource, val isInPrimaryState: () -> Boolean = { true }, val disableInSecondaryState: Boolean = false, listener: () -> Unit ) + LongParameterList:BrowserTabsTray.kt$BrowserTabsTray$( context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0, val tabsAdapter: TabsAdapter = TabsAdapter(), layout: LayoutManager = GridLayoutManager(context, 2), itemDecoration: DividerItemDecoration? = null ) + LongParameterList:BrowserToolbar.kt$BrowserToolbar.Button$( imageDrawable: Drawable, contentDescription: String, visible: () -> Boolean = { true }, @DrawableRes background: Int = 0, val padding: Padding = DEFAULT_PADDING, listener: () -> Unit ) + LongParameterList:BrowserToolbar.kt$BrowserToolbar.ToggleButton$( image: Drawable, imageSelected: Drawable, contentDescription: String, contentDescriptionSelected: String, visible: () -> Boolean = { true }, selected: Boolean = false, @DrawableRes background: Int = 0, val padding: Padding = DEFAULT_PADDING, listener: (Boolean) -> Unit ) + LongParameterList:BrowserToolbar.kt$BrowserToolbar.TwoStateButton$( private val enabledImage: Drawable, private val enabledContentDescription: String, private val disabledImage: Drawable, private val disabledContentDescription: String, private val isEnabled: () -> Boolean = { true }, background: Int = 0, listener: () -> Unit ) + LongParameterList:ClipboardSuggestionProvider.kt$ClipboardSuggestionProvider$( private val context: Context, private val loadUrlUseCase: SessionUseCases.LoadUrlUseCase, private val icon: Bitmap? = null, private val title: String? = null, private val requireEmptyText: Boolean = true, internal val engine: Engine? = null ) + LongParameterList:ContextMenuFeature.kt$ContextMenuFeature$( private val fragmentManager: FragmentManager, private val store: BrowserStore, private val candidates: List<ContextMenuCandidate>, private val engineView: EngineView, private val useCases: ContextMenuUseCases, private val tabId: String? = null ) + LongParameterList:CrashReporter.kt$CrashReporter$( context: Context, private val services: List<CrashReporterService> = emptyList(), private val telemetryServices: List<CrashTelemetryService> = emptyList(), private val shouldPrompt: Prompt = Prompt.NEVER, var enabled: Boolean = true, internal val promptConfiguration: PromptConfiguration = PromptConfiguration(), private val nonFatalCrashIntent: PendingIntent? = null, private val scope: CoroutineScope = CoroutineScope(Dispatchers.IO) ) + LongParameterList:CustomTabsToolbarFeature.kt$CustomTabsToolbarFeature$( private val sessionManager: SessionManager, private val toolbar: BrowserToolbar, private val sessionId: String? = null, private val menuBuilder: BrowserMenuBuilder? = null, private val menuItemIndex: Int = menuBuilder?.items?.size ?: 0, private val window: Window? = null, private val shareListener: (() -> Unit)? = null, private val closeListener: () -> Unit ) + LongParameterList:CustomViewHolder.kt$CustomViewHolder.AddonViewHolder$( view: View, val iconContainer: CardView, val iconView: ImageView, val titleView: TextView, val summaryView: TextView, val ratingView: RatingBar, val ratingAccessibleView: TextView, val userCountView: TextView, val addButton: ImageView, val allowedInPrivateBrowsingLabel: ImageView ) + LongParameterList:DisplayToolbar.kt$DisplayToolbarViews$( val browserActions: ActionContainer, val pageActions: ActionContainer, val navigationActions: ActionContainer, val background: ImageView, val separator: ImageView, val emptyIndicator: ImageView, val menu: MenuButton, val securityIndicator: SiteSecurityIconView, val trackingProtectionIndicator: TrackingProtectionIconView, val origin: OriginView, val progress: ProgressBar ) + LongParameterList:DownloadsFeature.kt$DownloadsFeature$( private val applicationContext: Context, private val store: BrowserStore, private val useCases: DownloadsUseCases, override var onNeedToRequestPermissions: OnNeedToRequestPermissions = { }, onDownloadStopped: onDownloadStopped = noop, private val downloadManager: DownloadManager = AndroidDownloadManager(applicationContext), private val tabId: String? = null, private val fragmentManager: FragmentManager? = null, private val promptsStyling: PromptsStyling? = null, @VisibleForTesting(otherwise = PRIVATE) internal var dialog: DownloadDialogFragment = SimpleDownloadDialogFragment.newInstance( promptsStyling = promptsStyling ) ) + LongParameterList:FennecMigrator.kt$FennecMigrator$( private val context: Context, private val crashReporter: CrashReporting, private val migrations: List<VersionedMigration>, private val historyStorage: Lazy<PlacesHistoryStorage>?, private val bookmarksStorage: Lazy<PlacesBookmarksStorage>?, private val loginsStorage: Lazy<SyncableLoginsStorage>?, private val sessionManager: SessionManager?, private val searchEngineManager: SearchEngineManager?, private val accountManager: Lazy<FxaAccountManager>?, private val engine: Engine?, private val addonCollectionProvider: AddonCollectionProvider?, private val addonUpdater: AddonUpdater?, private val profile: FennecProfile?, private val fxaState: File?, private val browserDbPath: String?, private val signonsDbName: String, private val key4DbName: String, private val coroutineContext: CoroutineContext, private val topSiteStorage: TopSiteStorage? ) + LongParameterList:FxaAccountManager.kt$FxaAccountManager$( private val context: Context, private val serverConfig: ServerConfig, private val deviceConfig: DeviceConfig, @Volatile private var syncConfig: SyncConfig?, private val applicationScopes: Set<String> = emptySet(), private val crashReporter: CrashReporting? = null, // We want a single-threaded execution model for our account-related "actions" (state machine side-effects). // That is, we want to ensure a sequential execution flow, but on a background thread. private val coroutineContext: CoroutineContext = Executors .newSingleThreadExecutor().asCoroutineDispatcher() + SupervisorJob() ) + LongParameterList:FxaWebChannelFeature.kt$FxaWebChannelFeature$( private val context: Context, private val customTabSessionId: String?, private val runtime: WebExtensionRuntime, private val store: BrowserStore, private val accountManager: FxaAccountManager, private val serverConfig: ServerConfig, private val fxaCapabilities: Set<FxaCapability> = emptySet() ) + LongParameterList:GeckoEngineSession.kt$GeckoEngineSession$( private val runtime: GeckoRuntime, private val privateMode: Boolean = false, private val defaultSettings: Settings? = null, contextId: String? = null, private val geckoSessionProvider: () -> GeckoSession = { val settings = GeckoSessionSettings.Builder() .usePrivateMode(privateMode) .contextId(contextId) .build() GeckoSession(settings) }, private val context: CoroutineContext = Dispatchers.IO, openGeckoSession: Boolean = true ) + LongParameterList:GeckoWebExtension.kt$GeckoWebExtension$( id: String, url: String, val runtime: GeckoRuntime, allowContentMessaging: Boolean = true, supportActions: Boolean = false, @Suppress("Deprecation") // https://github.com/mozilla-mobile/android-components/issues/6356 val nativeExtension: GeckoNativeWebExtension = GeckoNativeWebExtension( url, id, createWebExtensionFlags(allowContentMessaging), runtime.webExtensionController ), private val connectedPorts: MutableMap<PortId, Port> = mutableMapOf() ) + LongParameterList:GeckoWebExtension.kt$GeckoWebExtension$( id: String, url: String, val runtime: GeckoRuntime, allowContentMessaging: Boolean = true, supportActions: Boolean = false, val nativeExtension: GeckoNativeWebExtension = GeckoNativeWebExtension( url, id, createWebExtensionFlags(allowContentMessaging), runtime.webExtensionController ), private val connectedPorts: MutableMap<PortId, Port> = mutableMapOf() ) + LongParameterList:ManifestUpdateFeature.kt$ManifestUpdateFeature$( private val applicationContext: Context, private val sessionManager: SessionManager, private val shortcutManager: WebAppShortcutManager, private val storage: ManifestStorage, private val sessionId: String, private var initialManifest: WebAppManifest ) + LongParameterList:MozillaSocorroService.kt$MozillaSocorroService$( private val applicationContext: Context, private val appName: String, private val appId: String = MOZILLA_PRODUCT_ID, private val version: String = BuildConfig.MOZILLA_VERSION, private val buildId: String = BuildConfig.MOZ_APP_BUILDID, private val vendor: String = BuildConfig.MOZ_APP_VENDOR, private var serverUrl: String? = null, private var versionName: String = DEFAULT_VERSION_NAME, private val releaseChannel: String = BuildConfig.MOZ_UPDATE_CHANNEL ) + LongParameterList:P2PFeature.kt$P2PFeature$( private val view: P2PView, private val store: BrowserStore, private val engine: Engine, private val connectionProvider: () -> NearbyConnection, private val tabsUseCases: TabsUseCases, private val sessionUseCases: SessionUseCases, private val sessionManager: SessionManager, override val onNeedToRequestPermissions: OnNeedToRequestPermissions, private val onClose: (() -> Unit) ) + LongParameterList:P2PIntegration.kt$P2PIntegration$( store: BrowserStore, engine: Engine, private val view: P2PView, thunk: () -> NearbyConnection, tabsUseCases: TabsUseCases, sessionManager: SessionManager, sessionUseCases: SessionUseCases, onNeedToRequestPermissions: OnNeedToRequestPermissions ) + LongParameterList:P2PInteractor.kt$P2PInteractor$( private val store: BrowserStore, private val view: P2PView, private val tabsUseCases: TabsUseCases, private val sessionUseCases: SessionUseCases, private val sender: P2PFeature.P2PFeatureSender, private val onClose: (() -> Unit), private val connectionProvider: () -> NearbyConnection, private val outgoingMessages: ConcurrentMap<Long, Char> // shared with P2PPresenter ) + LongParameterList:PromptFeature.kt$PromptFeature$( activity: Activity, store: BrowserStore, customTabId: String? = null, fragmentManager: FragmentManager, shareDelegate: ShareDelegate = DefaultShareDelegate(), loginValidationDelegate: LoginValidationDelegate? = null, isSaveLoginEnabled: () -> Boolean = { false }, onNeedToRequestPermissions: OnNeedToRequestPermissions ) + LongParameterList:PromptFeature.kt$PromptFeature$( activity: Activity? = null, fragment: Fragment? = null, store: BrowserStore, customTabId: String? = null, fragmentManager: FragmentManager, onNeedToRequestPermissions: OnNeedToRequestPermissions ) + LongParameterList:PromptFeature.kt$PromptFeature$( fragment: Fragment, store: BrowserStore, customTabId: String? = null, fragmentManager: FragmentManager, shareDelegate: ShareDelegate = DefaultShareDelegate(), loginValidationDelegate: LoginValidationDelegate? = null, isSaveLoginEnabled: () -> Boolean = { false }, onNeedToRequestPermissions: OnNeedToRequestPermissions ) + LongParameterList:PromptFeature.kt$PromptFeature$( private val container: PromptContainer, private val store: BrowserStore, private var customTabId: String?, private val fragmentManager: FragmentManager, private val shareDelegate: ShareDelegate, override val loginValidationDelegate: LoginValidationDelegate? = null, private val isSaveLoginEnabled: () -> Boolean = { false }, onNeedToRequestPermissions: OnNeedToRequestPermissions ) + LongParameterList:PromptRequest.kt$PromptRequest.TimeSelection$( val title: String, val initialDate: java.util.Date, val minimumDate: java.util.Date?, val maximumDate: java.util.Date?, val type: Type = Type.DATE, val onConfirm: (java.util.Date) -> Unit, val onClear: () -> Unit ) + LongParameterList:ReaderViewIntegration.kt$ReaderViewIntegration$( context: Context, engine: Engine, store: BrowserStore, toolbar: BrowserToolbar, view: ReaderViewControlsView, readerViewAppearanceButton: FloatingActionButton ) + LongParameterList:SearchSuggestionProvider.kt$SearchSuggestionProvider$( client: SearchSuggestionClient, searchUseCase: SearchUseCases.SearchUseCase, limit: Int = 15, mode: Mode = Mode.SINGLE_SUGGESTION, engine: Engine? = null, icon: Bitmap? = null, showDescription: Boolean = true ) + LongParameterList:SearchSuggestionProvider.kt$SearchSuggestionProvider$( context: Context, searchEngineManager: SearchEngineManager, searchUseCase: SearchUseCases.SearchUseCase, fetchClient: Client, limit: Int = 15, mode: Mode = Mode.SINGLE_SUGGESTION, engine: Engine? = null, icon: Bitmap? = null, showDescription: Boolean = true ) + LongParameterList:SearchSuggestionProvider.kt$SearchSuggestionProvider$( searchEngine: SearchEngine, searchUseCase: SearchUseCases.SearchUseCase, fetchClient: Client, limit: Int = 15, mode: Mode = Mode.SINGLE_SUGGESTION, engine: Engine? = null, icon: Bitmap? = null, showDescription: Boolean = true ) + LongParameterList:SentryService.kt$SentryService$( context: Context, dsn: String, tags: Map<String, String> = emptyMap(), environment: String? = null, private val sendEventForNativeCrashes: Boolean = false, private val sentryProjectUrl: String? = null, clientFactory: SentryClientFactory? = null ) + LongParameterList:Session.kt$Session$( initialUrl: String, val private: Boolean = false, val source: Source = Source.NONE, val id: String = UUID.randomUUID().toString(), val contextId: String? = null, delegate: Observable<Observer> = ObserverRegistry() ) + LongParameterList:SimpleBrowserMenuHighlightableItem.kt$SimpleBrowserMenuHighlightableItem$( private val label: String, @ColorRes private val textColorResource: Int = NO_ID, private val textSize: Float = NO_ID.toFloat(), @ColorInt val backgroundTint: Int, val itemType: Any? = null, var isHighlighted: () -> Boolean = { true }, private val listener: () -> Unit = {} ) + LongParameterList:SitePermissionsFeature.kt$SitePermissionsFeature$( private val context: Context, private val sessionManager: SessionManager, private var sessionId: String? = null, private val storage: SitePermissionsStorage = SitePermissionsStorage(context), var sitePermissionsRules: SitePermissionsRules? = null, private val fragmentManager: FragmentManager, var promptsStyling: PromptsStyling? = null, private val dialogConfig: DialogConfig? = null, override val onNeedToRequestPermissions: OnNeedToRequestPermissions, val onShouldShowRequestPermissionRationale: (permission: String) -> Boolean ) + LongParameterList:SyncedTabsFeature.kt$SyncedTabsFeature$( storage: SyncedTabsStorage, accountManager: FxaAccountManager, view: SyncedTabsView, lifecycleOwner: LifecycleOwner, coroutineContext: CoroutineContext = Dispatchers.IO, onTabClicked: (Tab) -> Unit, controller: SyncedTabsController = DefaultController( storage, accountManager, view, coroutineContext ), private val presenter: SyncedTabsPresenter = DefaultPresenter( controller, accountManager, view, lifecycleOwner ), private val interactor: SyncedTabsInteractor = DefaultInteractor( accountManager, view, coroutineContext, onTabClicked ) ) + LongParameterList:SystemWindowRequest.kt$SystemWindowRequest$( private val webView: WebView, private val newEngineSession: EngineSession? = null, private val newWebView: WebView? = null, val openAsDialog: Boolean = false, val triggeredByUser: Boolean = false, private val resultMsg: Message? = null, override val type: WindowRequest.Type = WindowRequest.Type.OPEN ) + LongParameterList:Toolbar.kt$Toolbar.ActionButton$( val imageDrawable: Drawable? = null, val contentDescription: String, override val visible: () -> Boolean = { true }, private val background: Int = 0, private val padding: Padding? = null, private val listener: () -> Unit ) + LongParameterList:Toolbar.kt$Toolbar.ActionToggleButton$( internal val imageDrawable: Drawable, internal val imageSelectedDrawable: Drawable, private val contentDescription: String, private val contentDescriptionSelected: String, override val visible: () -> Boolean = { true }, private var selected: Boolean = false, @DrawableRes private val background: Int = 0, private val padding: Padding? = null, private val listener: (Boolean) -> Unit ) + LongParameterList:ToolbarFeature.kt$ToolbarFeature$( private val toolbar: Toolbar, store: BrowserStore, loadUrlUseCase: SessionUseCases.LoadUrlUseCase, searchUseCase: SearchUseCase? = null, customTabId: String? = null, urlRenderConfiguration: UrlRenderConfiguration? = null ) + LongParameterList:TrustedWebActivityIntentProcessor.kt$TrustedWebActivityIntentProcessor$( private val sessionManager: SessionManager, private val loadUrlUseCase: SessionUseCases.DefaultLoadUrlUseCase, httpClient: Client, packageManager: PackageManager, apiKey: String?, private val store: CustomTabsServiceStore ) + LongParameterList:WebAppSiteControlsFeature.kt$WebAppSiteControlsFeature$( applicationContext: Context, sessionManager: SessionManager, reloadUrlUseCase: SessionUseCases.ReloadUrlUseCase, sessionId: String, manifest: WebAppManifest? = null, controlsBuilder: SiteControlsBuilder = SiteControlsBuilder.CopyAndRefresh(reloadUrlUseCase) ) UndocumentedPublicClass:AllSessionsObserver.kt$AllSessionsObserver$Observer : Observer UndocumentedPublicClass:AutoSave.kt$AutoSave UndocumentedPublicClass:AutoSave.kt$AutoSave$Storage UndocumentedPublicClass:Base64.kt$Base64 UndocumentedPublicClass:BrowserMenu.kt$BrowserMenu$Orientation UndocumentedPublicClass:BrowserMenuAdapter.kt$BrowserMenuItemViewHolder : ViewHolder - UndocumentedPublicClass:BrowserMenuHighlightableItem.kt$BrowserMenuHighlightableItem$Highlight UndocumentedPublicClass:Choice.kt$Choice$CREATOR : Creator UndocumentedPublicClass:ColorUtils.kt$ColorUtils UndocumentedPublicClass:Config.kt$Config @@ -56,7 +100,6 @@ UndocumentedPublicClass:DiskIconLoader.kt$DiskIconLoader$LoaderDiskCache UndocumentedPublicClass:DiskIconPreparer.kt$DiskIconPreparer$PreparerDiskCache UndocumentedPublicClass:DiskIconProcessor.kt$DiskIconProcessor$ProcessorDiskCache - UndocumentedPublicClass:Dispatchers.kt$Dispatchers$WaitableCoroutineScope UndocumentedPublicClass:DomainAutoCompleteProvider.kt$DomainAutoCompleteProvider$AutocompleteSource UndocumentedPublicClass:DomainMatcher.kt$DomainMatch UndocumentedPublicClass:DownloadManager.kt$DownloadManager @@ -66,22 +109,15 @@ UndocumentedPublicClass:DrawableUtils.kt$DrawableUtils UndocumentedPublicClass:EngineSession.kt$EngineSession.TrackingProtectionPolicy$TrackingCategory UndocumentedPublicClass:ErrorPages.kt$ErrorPages - UndocumentedPublicClass:ErrorRecording.kt$ErrorRecording - UndocumentedPublicClass:EventsStorageEngine.kt$RecordedEventData UndocumentedPublicClass:Experiment.kt$Experiment$Bucket UndocumentedPublicClass:Experiment.kt$Experiment$Matcher UndocumentedPublicClass:ExperimentsMapMeasurement.kt$ExperimentsMapMeasurement : TelemetryMeasurement - UndocumentedPublicClass:ExperimentsStorageEngine.kt$RecordedExperimentData - UndocumentedPublicClass:FindInPageIntegration.kt$FindInPageIntegration : LifecycleAwareFeatureBackHandler UndocumentedPublicClass:FindInPageView.kt$FindInPageView$Listener - UndocumentedPublicClass:FxaAccountManager.kt$AuthErrorObserver UndocumentedPublicClass:GVVersionVerifierPlugin.kt$GVVersionVerifierPlugin : Plugin UndocumentedPublicClass:Gecko.kt$Gecko UndocumentedPublicClass:GeckoEngineSessionState.kt$GeckoEngineSessionState : EngineSessionState UndocumentedPublicClass:GitHubClient.kt$GitHubClient UndocumentedPublicClass:GitHubPlugin.kt$GitHubPlugin : Plugin - UndocumentedPublicClass:Glean.kt$Glean : GleanInternalAPI - UndocumentedPublicClass:Glean.kt$GleanInternalAPI UndocumentedPublicClass:GleanApplication.kt$GleanApplication : Application UndocumentedPublicClass:Grammar.kt$GrammarElement UndocumentedPublicClass:HistoryStorage.kt$PageObservation @@ -94,8 +130,8 @@ UndocumentedPublicClass:InlineAutocompleteEditText.kt$InlineAutocompleteEditText$AutocompleteResult UndocumentedPublicClass:IntentReceiverActivity.kt$IntentReceiverActivity : Activity UndocumentedPublicClass:Jexl.kt$Jexl - UndocumentedPublicClass:LoadRequestMetadata.kt$LoadRequestMetadata UndocumentedPublicClass:LaunchIntentMetadata.kt$LaunchIntentMetadata + UndocumentedPublicClass:LoadRequestMetadata.kt$LoadRequestMetadata UndocumentedPublicClass:LogSink.kt$LogSink UndocumentedPublicClass:LoginFragment.kt$LoginFragment : Fragment UndocumentedPublicClass:LoginFragment.kt$LoginFragment$OnLoginCompleteListener @@ -103,7 +139,6 @@ UndocumentedPublicClass:MainActivity.kt$MainActivity : AppCompatActivityOnLoginCompleteListenerCoroutineScope UndocumentedPublicClass:MainActivity.kt$MainActivity : AppCompatActivityOnLoginCompleteListenerCoroutineScopeSyncStatusObserver UndocumentedPublicClass:MainActivity.kt$MainActivity : AppCompatActivityOnLoginCompleteListenerOnDeviceListInteractionListenerCoroutineScope - UndocumentedPublicClass:ManifestStorage.kt$ManifestStorage UndocumentedPublicClass:Media.kt$Media$PlaybackState UndocumentedPublicClass:MemoryIconLoader.kt$MemoryIconLoader$LoaderMemoryCache UndocumentedPublicClass:MemoryIconPreparer.kt$MemoryIconPreparer$PreparerMemoryCache @@ -119,24 +154,6 @@ UndocumentedPublicClass:OAuthAccount.kt$Profile UndocumentedPublicClass:OriginVerifierFeature.kt$OriginVerifierFeature UndocumentedPublicClass:Parser.kt$ParserException : Exception - UndocumentedPublicClass:PermissionRequest.kt$Permission$AppAudio : Permission - UndocumentedPublicClass:PermissionRequest.kt$Permission$AppCamera : Permission - UndocumentedPublicClass:PermissionRequest.kt$Permission$AppLocationCoarse : Permission - UndocumentedPublicClass:PermissionRequest.kt$Permission$AppLocationFine : Permission - UndocumentedPublicClass:PermissionRequest.kt$Permission$ContentAudioCapture : Permission - UndocumentedPublicClass:PermissionRequest.kt$Permission$ContentAudioMicrophone : Permission - UndocumentedPublicClass:PermissionRequest.kt$Permission$ContentAudioOther : Permission - UndocumentedPublicClass:PermissionRequest.kt$Permission$ContentGeoLocation : Permission - UndocumentedPublicClass:PermissionRequest.kt$Permission$ContentNotification : Permission - UndocumentedPublicClass:PermissionRequest.kt$Permission$ContentProtectedMediaId : Permission - UndocumentedPublicClass:PermissionRequest.kt$Permission$ContentVideoApplication : Permission - UndocumentedPublicClass:PermissionRequest.kt$Permission$ContentVideoBrowser : Permission - UndocumentedPublicClass:PermissionRequest.kt$Permission$ContentVideoCamera : Permission - UndocumentedPublicClass:PermissionRequest.kt$Permission$ContentVideoCapture : Permission - UndocumentedPublicClass:PermissionRequest.kt$Permission$ContentVideoOther : Permission - UndocumentedPublicClass:PermissionRequest.kt$Permission$ContentVideoScreen : Permission - UndocumentedPublicClass:PermissionRequest.kt$Permission$ContentVideoWindow : Permission - UndocumentedPublicClass:PermissionRequest.kt$Permission$Generic : Permission UndocumentedPublicClass:PreferredColorScheme.kt$PreferredColorScheme$Dark : PreferredColorScheme UndocumentedPublicClass:PreferredColorScheme.kt$PreferredColorScheme$Light : PreferredColorScheme UndocumentedPublicClass:PreferredColorScheme.kt$PreferredColorScheme$System : PreferredColorScheme @@ -156,22 +173,20 @@ UndocumentedPublicClass:PushProcessor.kt$PushError$MalformedMessage : PushError UndocumentedPublicClass:PushProcessor.kt$PushError$Network : PushError UndocumentedPublicClass:PushProcessor.kt$PushError$Registration : PushError - UndocumentedPublicClass:PushProcessor.kt$PushError$Rust : PushError UndocumentedPublicClass:PushProcessor.kt$PushError$ServiceUnavailable : PushError UndocumentedPublicClass:ReaderViewControlsView.kt$ReaderViewControlsView$Listener UndocumentedPublicClass:ReaderViewFeature.kt$ReaderViewFeature$ColorScheme UndocumentedPublicClass:ReaderViewFeature.kt$ReaderViewFeature$Config UndocumentedPublicClass:ReaderViewFeature.kt$ReaderViewFeature$FontType - UndocumentedPublicClass:ReaderViewIntegration.kt$ReaderViewIntegration : LifecycleAwareFeatureBackHandler UndocumentedPublicClass:RecordingDevicesNotificationFeature.kt$RecordingState$Camera : RecordingState UndocumentedPublicClass:RecordingDevicesNotificationFeature.kt$RecordingState$CameraAndMicrophone : RecordingState UndocumentedPublicClass:RecordingDevicesNotificationFeature.kt$RecordingState$Microphone : RecordingState UndocumentedPublicClass:RecordingDevicesNotificationFeature.kt$RecordingState$None : RecordingState UndocumentedPublicClass:Request.kt$Request$CookiePolicy UndocumentedPublicClass:Request.kt$Request$Redirect + UndocumentedPublicClass:RequestInterceptor.kt$RequestInterceptor.InterceptionResponse$AppIntent : InterceptionResponse UndocumentedPublicClass:RequestInterceptor.kt$RequestInterceptor.InterceptionResponse$Content : InterceptionResponse UndocumentedPublicClass:RequestInterceptor.kt$RequestInterceptor.InterceptionResponse$Url : InterceptionResponse - UndocumentedPublicClass:RequestInterceptor.kt$RequestInterceptor.InterceptionResponse$AppIntent : InterceptionResponse UndocumentedPublicClass:RustLog.kt$RustLog UndocumentedPublicClass:SampleApplication.kt$SampleApplication : Application UndocumentedPublicClass:SampleRequestInterceptor.kt$SampleRequestInterceptor : RequestInterceptor @@ -201,7 +216,6 @@ UndocumentedPublicClass:SessionUseCases.kt$SessionUseCases$StopLoadingUseCase UndocumentedPublicClass:SettingUpdater.kt$SettingUpdater<T> UndocumentedPublicClass:Settings.kt$UnsupportedSetting<T> - UndocumentedPublicClass:SitePermissions.kt$SitePermissions$CREATOR : Creator UndocumentedPublicClass:SitePermissions.kt$SitePermissions$Status UndocumentedPublicClass:SitePermissionsFeature.kt$SitePermissionsFeature$PromptsStyling UndocumentedPublicClass:SitePermissionsRules.kt$SitePermissionsRules$Action @@ -223,7 +237,6 @@ UndocumentedPublicClass:StatusBarUtils.kt$StatusBarUtils UndocumentedPublicClass:StorageUtils.kt$StorageUtils UndocumentedPublicClass:Store.kt$Store.Subscription$Binding - UndocumentedPublicClass:Sync.kt$StoreSyncStatus UndocumentedPublicClass:SyncWorker.kt$SyncWorker : Worker UndocumentedPublicClass:SystemEngineSession.kt$SystemEngineSession$WebSetting<T> UndocumentedPublicClass:SystemEngineSessionState.kt$SystemEngineSessionState : EngineSessionState @@ -243,57 +256,28 @@ UndocumentedPublicClass:ToolbarFeature.kt$ToolbarFeature.RenderStyle$ColoredUrl : RenderStyle UndocumentedPublicClass:ToolbarFeature.kt$ToolbarFeature.RenderStyle$RegistrableDomain : RenderStyle UndocumentedPublicClass:ToolbarFeature.kt$ToolbarFeature.RenderStyle$UncoloredUrl : RenderStyle - UndocumentedPublicClass:TrackingProtectionUseCases.kt$TrackingProtectionUseCases$FetchTrackingLogUserCase UndocumentedPublicClass:URLStringUtils.kt$URLStringUtils UndocumentedPublicClass:WebAppManifest.kt$WebAppManifest.Icon$Purpose - UndocumentedPublicClass:WebAppShortcutManager.kt$WebAppShortcutManager UndocumentedPublicClass:WorkManagerSyncManager.kt$WorkManagerSyncDispatcher : SyncDispatcherObservableCloseable UndocumentedPublicClass:WorkManagerSyncManager.kt$WorkManagerSyncWorker : CoroutineWorker - UndocumentedPublicFunction:AccountStorage.kt$AccountStorage$@Throws(Exception::class) fun read(): OAuthAccount? - UndocumentedPublicFunction:AccountStorage.kt$AccountStorage$fun clear() - UndocumentedPublicFunction:AccountStorage.kt$AccountStorage$fun write(accountState: String) UndocumentedPublicFunction:AllSessionsObserver.kt$AllSessionsObserver$fun start() UndocumentedPublicFunction:AllSessionsObserver.kt$AllSessionsObserver$fun stop() UndocumentedPublicFunction:AllSessionsObserver.kt$AllSessionsObserver.Observer$fun onRegisteredToSession(session: Session) UndocumentedPublicFunction:AllSessionsObserver.kt$AllSessionsObserver.Observer$fun onUnregisteredFromSession(session: Session) - UndocumentedPublicFunction:AppLinkRedirect.kt$AppLinkRedirect$fun hasExternalApp() - UndocumentedPublicFunction:AppLinkRedirect.kt$AppLinkRedirect$fun hasFallback() - UndocumentedPublicFunction:AppLinkRedirect.kt$AppLinkRedirect$fun isRedirect() UndocumentedPublicFunction:AppLinksUseCases.kt$AppLinksUseCases.GetAppLinkRedirect$operator fun invoke(url: String): AppLinkRedirect - UndocumentedPublicFunction:AppLinksUseCases.kt$AppLinksUseCases.OpenAppLinkRedirect$operator fun invoke( appIntent: Intent?, launchInNewTask: Boolean = true, failedToLaunchAction: () -> Unit = {} ) - UndocumentedPublicFunction:Arguments.kt$Arguments$fun assertIsNotBlank(input: String, exceptionIdentifier: String) - UndocumentedPublicFunction:Arguments.kt$Arguments$fun assertIsValidUserAgent(userAgent: String) - UndocumentedPublicFunction:AutoPushFeature.kt$DeliveryManager$fun serviceForChannelId(channelId: String): PushType - UndocumentedPublicFunction:AutoPushFeature.kt$PushSubscriptionObserver$fun onSubscriptionAvailable(subscription: AutoPushSubscription) + UndocumentedPublicFunction:AppLinksUseCases.kt$AppLinksUseCases.OpenAppLinkRedirect$operator fun invoke( appIntent: Intent?, launchInNewTask: Boolean = true, failedToLaunchAction: () -> Unit = {} ) UndocumentedPublicFunction:AutoSave.kt$AutoSave.Storage$fun save(snapshot: SessionManager.Snapshot): Boolean - UndocumentedPublicFunction:AwesomeBarFeature.kt$AwesomeBarFeature$fun addClipboardProvider( context: Context, loadUrlUseCase: SessionUseCases.LoadUrlUseCase ): AwesomeBarFeature - UndocumentedPublicFunction:Base64.kt$Base64$fun encodeToUriString(data: String) UndocumentedPublicFunction:BrowserFragment.kt$BrowserFragment.Companion$fun create(sessionId: String? = null) - UndocumentedPublicFunction:BrowserIcons.kt$BrowserIcons$fun onLowMemory() UndocumentedPublicFunction:BrowserMenu.kt$BrowserMenu$fun dismiss() UndocumentedPublicFunction:BrowserMenu.kt$BrowserMenu$fun invalidate() - UndocumentedPublicFunction:BrowserMenuBuilder.kt$BrowserMenuBuilder$fun build(context: Context): BrowserMenu - UndocumentedPublicFunction:BrowserStateReducer.kt$BrowserStateReducer$fun reduce(state: BrowserState, action: BrowserAction): BrowserState - UndocumentedPublicFunction:Bus.kt$Bus.Observer$fun onEvent(type: T, message: M) UndocumentedPublicFunction:ByteArray.kt$@Suppress("MagicNumber") fun ByteArray.toHexString(hexLength: Int): String UndocumentedPublicFunction:ByteArray.kt$fun ByteArray.toBitmap( offset: Int, length: Int, opts: BitmapFactory.Options? = null ): Bitmap? UndocumentedPublicFunction:ByteArray.kt$fun ByteArray.toBitmap(opts: BitmapFactory.Options? = null): Bitmap? UndocumentedPublicFunction:ByteArray.kt$fun ByteArray.toHexString(): String UndocumentedPublicFunction:ByteArray.kt$fun ByteArray.toSha256Digest(): ByteArray - UndocumentedPublicFunction:CommonMetricData.kt$CommonMetricData$fun shouldRecord(logger: Logger): Boolean - UndocumentedPublicFunction:Connection.kt$PushConnection$fun decrypt( channelId: String, body: String, encoding: String = "", salt: String = "", cryptoKey: String = "" ): ByteArray - UndocumentedPublicFunction:Connection.kt$PushConnection$fun isInitialized(): Boolean - UndocumentedPublicFunction:Connection.kt$PushConnection$suspend fun subscribe(channelId: String, scope: String = ""): SubscriptionResponse - UndocumentedPublicFunction:Connection.kt$PushConnection$suspend fun unsubscribe(channelId: String): Boolean - UndocumentedPublicFunction:Connection.kt$PushConnection$suspend fun unsubscribeAll(): Boolean - UndocumentedPublicFunction:Connection.kt$PushConnection$suspend fun updateToken(token: String): Boolean - UndocumentedPublicFunction:Connection.kt$PushConnection$suspend fun verifyConnection(): Boolean UndocumentedPublicFunction:Context.kt$fun Context.isPermissionGranted(vararg permission: String): Boolean UndocumentedPublicFunction:Crash.kt$Crash.Companion$fun fromIntent(intent: Intent): Crash UndocumentedPublicFunction:Crash.kt$Crash.Companion$fun isCrashIntent(intent: Intent) - UndocumentedPublicFunction:CustomTabSessionState.kt$fun createCustomTab( url: String, id: String = UUID.randomUUID().toString(), config: CustomTabConfig = CustomTabConfig() ): CustomTabSessionState - UndocumentedPublicFunction:CustomTabsServiceStateReducer.kt$CustomTabsServiceStateReducer$fun reduce(state: CustomTabsServiceState, action: CustomTabsAction): CustomTabsServiceState - UndocumentedPublicFunction:DeviceEvents.kt$DeviceEventsObserver$fun onEvents(events: List<DeviceEvent>) UndocumentedPublicFunction:DeviceFragment.kt$DeviceFragment$fun updateDevices(devices: List<Device>) UndocumentedPublicFunction:DeviceFragment.kt$DeviceFragment.OnDeviceListInteractionListener$fun onDeviceInteraction(item: Device) UndocumentedPublicFunction:Devices.kt$DeviceConstellationObserver$fun onDevicesUpdate(constellation: ConstellationState) @@ -318,21 +302,19 @@ UndocumentedPublicFunction:EngineSession.kt$EngineSession.Observer$@Suppress("LongParameterList") fun onExternalResource( url: String, fileName: String? = null, contentLength: Long? = null, contentType: String? = null, cookie: String? = null, userAgent: String? = null ) UndocumentedPublicFunction:EngineSession.kt$EngineSession.Observer$fun onAppPermissionRequest(permissionRequest: PermissionRequest) UndocumentedPublicFunction:EngineSession.kt$EngineSession.Observer$fun onCancelContentPermissionRequest(permissionRequest: PermissionRequest) - UndocumentedPublicFunction:EngineSession.kt$EngineSession.Observer$fun onCloseWindowRequest(windowRequest: WindowRequest) UndocumentedPublicFunction:EngineSession.kt$EngineSession.Observer$fun onContentPermissionRequest(permissionRequest: PermissionRequest) UndocumentedPublicFunction:EngineSession.kt$EngineSession.Observer$fun onCrash() UndocumentedPublicFunction:EngineSession.kt$EngineSession.Observer$fun onDesktopModeChange(enabled: Boolean) UndocumentedPublicFunction:EngineSession.kt$EngineSession.Observer$fun onFind(text: String) UndocumentedPublicFunction:EngineSession.kt$EngineSession.Observer$fun onFindResult(activeMatchOrdinal: Int, numberOfMatches: Int, isDoneCounting: Boolean) UndocumentedPublicFunction:EngineSession.kt$EngineSession.Observer$fun onFullScreenChange(enabled: Boolean) - UndocumentedPublicFunction:EngineSession.kt$EngineSession.Observer$fun onMetaViewportFitChanged(layoutInDisplayCutoutMode: Int) UndocumentedPublicFunction:EngineSession.kt$EngineSession.Observer$fun onLoadingStateChange(loading: Boolean) UndocumentedPublicFunction:EngineSession.kt$EngineSession.Observer$fun onLocationChange(url: String) UndocumentedPublicFunction:EngineSession.kt$EngineSession.Observer$fun onLongPress(hitResult: HitResult) UndocumentedPublicFunction:EngineSession.kt$EngineSession.Observer$fun onMediaAdded(media: Media) UndocumentedPublicFunction:EngineSession.kt$EngineSession.Observer$fun onMediaRemoved(media: Media) + UndocumentedPublicFunction:EngineSession.kt$EngineSession.Observer$fun onNavigateBack() UndocumentedPublicFunction:EngineSession.kt$EngineSession.Observer$fun onNavigationStateChange(canGoBack: Boolean? = null, canGoForward: Boolean? = null) - UndocumentedPublicFunction:EngineSession.kt$EngineSession.Observer$fun onOpenWindowRequest(windowRequest: WindowRequest) UndocumentedPublicFunction:EngineSession.kt$EngineSession.Observer$fun onProcessKilled() UndocumentedPublicFunction:EngineSession.kt$EngineSession.Observer$fun onProgress(progress: Int) UndocumentedPublicFunction:EngineSession.kt$EngineSession.Observer$fun onPromptRequest(promptRequest: PromptRequest) @@ -343,7 +325,6 @@ UndocumentedPublicFunction:EngineSession.kt$EngineSession.Observer$fun onTrackerBlocked(tracker: Tracker) UndocumentedPublicFunction:EngineSession.kt$EngineSession.Observer$fun onTrackerBlockingEnabledChange(enabled: Boolean) UndocumentedPublicFunction:EngineSession.kt$EngineSession.Observer$fun onTrackerLoaded(tracker: Tracker) - UndocumentedPublicFunction:EngineSession.kt$EngineSession.Observer$fun onNavigateBack() UndocumentedPublicFunction:EngineSession.kt$EngineSession.Observer$fun onWebAppManifestLoaded(manifest: WebAppManifest) UndocumentedPublicFunction:EngineSession.kt$EngineSession.TrackingProtectionPolicy$fun contains(category: TrackingCategory) UndocumentedPublicFunction:EngineSession.kt$EngineSession.TrackingProtectionPolicy.Companion$fun none() @@ -359,7 +340,6 @@ UndocumentedPublicFunction:Extensions.kt$fun String.toLocale(): Locale UndocumentedPublicFunction:Extentions.kt$fun Project.property(names: String, defaultValue: String): String UndocumentedPublicFunction:ExternalAppBrowserFragment.kt$ExternalAppBrowserFragment.Companion$fun create( sessionId: String, manifest: WebAppManifest? ) - UndocumentedPublicFunction:Facts.kt$Facts$@VisibleForTesting(otherwise = VisibleForTesting.PRIVATE) fun clearProcessors() UndocumentedPublicFunction:FindInPageView.kt$FindInPageView.Listener$fun onClearMatches() UndocumentedPublicFunction:FindInPageView.kt$FindInPageView.Listener$fun onClose() UndocumentedPublicFunction:FindInPageView.kt$FindInPageView.Listener$fun onFindAll(query: String) @@ -367,10 +347,7 @@ UndocumentedPublicFunction:FindInPageView.kt$FindInPageView.Listener$fun onPreviousResult() UndocumentedPublicFunction:FirefoxAccountsAuthFeature.kt$FirefoxAccountsAuthFeature$fun beginAuthentication(context: Context) UndocumentedPublicFunction:FirefoxAccountsAuthFeature.kt$FirefoxAccountsAuthFeature$fun beginPairingAuthentication(context: Context, pairingUrl: String) - UndocumentedPublicFunction:FxaAccountManager.kt$AuthErrorObserver$fun onAuthErrorAsync(e: AuthException): Deferred<Unit> UndocumentedPublicFunction:FxaAccountManager.kt$FxaAccountManager$@VisibleForTesting open fun createAccount(config: ServerConfig): OAuthAccount - UndocumentedPublicFunction:FxaAccountManager.kt$FxaAccountManager$@VisibleForTesting open fun createSyncManager(config: SyncConfig): SyncManager - UndocumentedPublicFunction:FxaAccountManager.kt$FxaAccountManager$@VisibleForTesting open fun getAccountStorage(): AccountStorage UndocumentedPublicFunction:FxaAccountManager.kt$FxaAccountManager$fun accountProfile(): Profile? UndocumentedPublicFunction:FxaAccountManager.kt$FxaAccountManager$fun beginAuthenticationAsync(pairingUrl: String? = null): Deferred<String?> UndocumentedPublicFunction:FxaAccountManager.kt$FxaAccountManager$fun logoutAsync(): Deferred<Unit> @@ -416,50 +393,25 @@ UndocumentedPublicFunction:JexlValue.kt$JexlValue$abstract operator fun plus(other: JexlValue): JexlValue UndocumentedPublicFunction:JexlValue.kt$JexlValue$abstract operator fun times(other: JexlValue): JexlValue UndocumentedPublicFunction:LegacySessionManager.kt$LegacySessionManager$fun createSessionSnapshot(session: Session): SessionManager.Snapshot.Item - UndocumentedPublicFunction:LegacySessionManager.kt$LegacySessionManager$fun link(session: Session, engineSession: EngineSession) UndocumentedPublicFunction:LifecycleAwareFeature.kt$LifecycleAwareFeature$@OnLifecycleEvent(Lifecycle.Event.ON_START) fun start() UndocumentedPublicFunction:LifecycleAwareFeature.kt$LifecycleAwareFeature$@OnLifecycleEvent(Lifecycle.Event.ON_STOP) fun stop() UndocumentedPublicFunction:LoadRequestMetadata.kt$LoadRequestMetadata$fun isSet(option: LoadRequestOption) - UndocumentedPublicFunction:LocaleManager.kt$LocaleManager.Storage$@Synchronized fun save(context: Context, localeCode: String) - UndocumentedPublicFunction:LocaleManager.kt$LocaleManager.Storage$fun clear(context: Context) - UndocumentedPublicFunction:LocaleManager.kt$LocaleManager.Storage$fun getLocale(context: Context): String? - UndocumentedPublicFunction:Log.kt$Log$// Only for testing @VisibleForTesting fun reset() UndocumentedPublicFunction:LogSink.kt$LogSink$fun log( priority: Log.Priority = Log.Priority.DEBUG, tag: String? = null, throwable: Throwable? = null, message: String? = null ) UndocumentedPublicFunction:LoginFragment.kt$LoginFragment.Companion$fun create(authUrl: String, redirectUrl: String): LoginFragment UndocumentedPublicFunction:LoginFragment.kt$LoginFragment.OnLoginCompleteListener$fun onLoginComplete(code: String, state: String, action: String, fragment: LoginFragment) UndocumentedPublicFunction:LoginFragment.kt$LoginFragment.OnLoginCompleteListener$fun onLoginComplete(code: String, state: String, fragment: LoginFragment) - UndocumentedPublicFunction:Media.kt$Media.Observer$fun onMetadataChanged(media: Media, metadata: Metadata) - UndocumentedPublicFunction:Media.kt$Media.Observer$fun onPlaybackStateChanged(media: Media, playbackState: PlaybackState) - UndocumentedPublicFunction:Media.kt$Media.Observer$fun onStateChanged(media: Media, state: State) UndocumentedPublicFunction:MemoryIconLoader.kt$MemoryIconLoader.LoaderMemoryCache$fun getBitmap(request: IconRequest, resource: IconRequest.Resource): Bitmap? UndocumentedPublicFunction:MemoryIconPreparer.kt$MemoryIconPreparer.PreparerMemoryCache$fun getResources(request: IconRequest): List<IconRequest.Resource> UndocumentedPublicFunction:MemoryIconProcessor.kt$MemoryIconProcessor.ProcessorMemoryCache$fun put(request: IconRequest, resource: IconRequest.Resource, icon: Icon) UndocumentedPublicFunction:MonthAndYearPicker.kt$MonthAndYearPicker.OnDateSetListener$fun onDateSet(picker: MonthAndYearPicker, month: Int, year: Int) - UndocumentedPublicFunction:OAuthAccount.kt$OAuthAccount$fun beginOAuthFlowAsync(scopes: Set<String>): Deferred<AuthFlowUrl?> - UndocumentedPublicFunction:OAuthAccount.kt$OAuthAccount$fun beginPairingFlowAsync(pairingUrl: String, scopes: Set<String>): Deferred<AuthFlowUrl?> - UndocumentedPublicFunction:OAuthAccount.kt$OAuthAccount$fun checkAuthorizationStatusAsync(singleScope: String): Deferred<Boolean?> - UndocumentedPublicFunction:OAuthAccount.kt$OAuthAccount$fun completeOAuthFlowAsync(code: String, state: String): Deferred<Boolean> - UndocumentedPublicFunction:OAuthAccount.kt$OAuthAccount$fun deviceConstellation(): DeviceConstellation - UndocumentedPublicFunction:OAuthAccount.kt$OAuthAccount$fun disconnectAsync(): Deferred<Boolean> - UndocumentedPublicFunction:OAuthAccount.kt$OAuthAccount$fun getAccessTokenAsync(singleScope: String): Deferred<AccessTokenInfo?> - UndocumentedPublicFunction:OAuthAccount.kt$OAuthAccount$fun getCurrentDeviceId(): String? - UndocumentedPublicFunction:OAuthAccount.kt$OAuthAccount$fun getProfileAsync(): Deferred<Profile?> - UndocumentedPublicFunction:OAuthAccount.kt$OAuthAccount$fun getProfileAsync(ignoreCache: Boolean): Deferred<Profile?> - UndocumentedPublicFunction:OAuthAccount.kt$OAuthAccount$fun getSessionToken(): String? - UndocumentedPublicFunction:OAuthAccount.kt$OAuthAccount$fun getTokenServerEndpointURL(): String - UndocumentedPublicFunction:OAuthAccount.kt$OAuthAccount$fun migrateFromSessionTokenAsync(sessionToken: String, kSync: String, kXCS: String): Deferred<Boolean> - UndocumentedPublicFunction:OAuthAccount.kt$OAuthAccount$fun registerPersistenceCallback(callback: StatePersistenceCallback) - UndocumentedPublicFunction:OAuthAccount.kt$OAuthAccount$fun toJSONString(): String UndocumentedPublicFunction:OkHttpClient.kt$OkHttpClient.Companion$fun getOrCreateCookieManager(): CookieManager UndocumentedPublicFunction:OriginVerifierFeature.kt$OriginVerifierFeature$suspend fun verify( state: CustomTabState, token: CustomTabsSessionToken, @Relation relation: Int, origin: Uri ): Boolean UndocumentedPublicFunction:PermissionRequest.kt$PermissionRequest$fun containsVideoAndAudioSources() UndocumentedPublicFunction:PictureInPictureFeature.kt$PictureInPictureFeature$fun enterPipModeCompat() UndocumentedPublicFunction:PictureInPictureFeature.kt$PictureInPictureFeature$fun onHomePressed(): Boolean UndocumentedPublicFunction:PictureInPictureFeature.kt$PictureInPictureFeature$fun onPictureInPictureModeChanged(enabled: Boolean) - UndocumentedPublicFunction:ProtectedDataAdapter.kt$ProtectedDataAdapter$fun toggleUnlock(): Boolean UndocumentedPublicFunction:Providers.kt$BaseDomainAutocompleteProvider$fun initialize(context: Context) UndocumentedPublicFunction:Providers.kt$DomainAutocompleteProvider$fun getAutocompleteSuggestion(query: String): DomainAutocompleteResult? - UndocumentedPublicFunction:PublicSuffixListLoader.kt$PublicSuffixListLoader$fun load(context: Context): PublicSuffixListData UndocumentedPublicFunction:ReaderViewControlsView.kt$ReaderViewControlsView.Listener$fun onColorSchemeChanged(scheme: ColorScheme) UndocumentedPublicFunction:ReaderViewControlsView.kt$ReaderViewControlsView.Listener$fun onFontChanged(font: FontType) UndocumentedPublicFunction:ReaderViewControlsView.kt$ReaderViewControlsView.Listener$fun onFontSizeDecreased(): Int @@ -487,28 +439,18 @@ UndocumentedPublicFunction:SendCrashReportService.kt$SendCrashReportService.Companion$fun createReportIntent( context: Context, crash: Crash, notificationTag: String? = null, notificationId: Int = 0 ): Intent UndocumentedPublicFunction:SendCrashTelemetryService.kt$SendCrashTelemetryService.Companion$fun createReportIntent(context: Context, crash: Crash): Intent UndocumentedPublicFunction:Session.kt$Session.Observer$fun onAppPermissionRequested(session: Session, permissionRequest: PermissionRequest): Boolean - UndocumentedPublicFunction:Session.kt$Session.Observer$fun onCloseWindowRequested(session: Session, windowRequest: WindowRequest): Boolean UndocumentedPublicFunction:Session.kt$Session.Observer$fun onContentPermissionRequested(session: Session, permissionRequest: PermissionRequest): Boolean UndocumentedPublicFunction:Session.kt$Session.Observer$fun onCrashStateChanged(session: Session, crashed: Boolean) UndocumentedPublicFunction:Session.kt$Session.Observer$fun onCustomTabConfigChanged(session: Session, customTabConfig: CustomTabConfig?) UndocumentedPublicFunction:Session.kt$Session.Observer$fun onDesktopModeChanged(session: Session, enabled: Boolean) - UndocumentedPublicFunction:Session.kt$Session.Observer$fun onDownload(session: Session, download: Download): Boolean UndocumentedPublicFunction:Session.kt$Session.Observer$fun onFindResult(session: Session, result: FindResult) UndocumentedPublicFunction:Session.kt$Session.Observer$fun onFullScreenChanged(session: Session, enabled: Boolean) - UndocumentedPublicFunction:Session.kt$Session.Observer$fun onMetaViewportFitChanged(session: Session, layoutInDisplayCutoutMode: Int) - UndocumentedPublicFunction:Session.kt$Session.Observer$fun onIconChanged(session: Session, icon: Bitmap?) - UndocumentedPublicFunction:Session.kt$Session.Observer$fun onLoadRequest( session: Session, url: String, triggeredByRedirect: Boolean, triggeredByWebContent: Boolean ) UndocumentedPublicFunction:Session.kt$Session.Observer$fun onLaunchIntentRequest(session: Session, url: String, appIntent: Intent?) + UndocumentedPublicFunction:Session.kt$Session.Observer$fun onLoadRequest( session: Session, url: String, triggeredByRedirect: Boolean, triggeredByWebContent: Boolean ) UndocumentedPublicFunction:Session.kt$Session.Observer$fun onLoadingStateChanged(session: Session, loading: Boolean) UndocumentedPublicFunction:Session.kt$Session.Observer$fun onLongPress(session: Session, hitResult: HitResult): Boolean - UndocumentedPublicFunction:Session.kt$Session.Observer$fun onMediaAdded(session: Session, media: List<Media>, added: Media) - UndocumentedPublicFunction:Session.kt$Session.Observer$fun onMediaRemoved(session: Session, media: List<Media>, removed: Media) UndocumentedPublicFunction:Session.kt$Session.Observer$fun onNavigationStateChanged(session: Session, canGoBack: Boolean, canGoForward: Boolean) - UndocumentedPublicFunction:Session.kt$Session.Observer$fun onOpenWindowRequested(session: Session, windowRequest: WindowRequest): Boolean UndocumentedPublicFunction:Session.kt$Session.Observer$fun onProgress(session: Session, progress: Int) - UndocumentedPublicFunction:Session.kt$Session.Observer$fun onPromptRequested(session: Session, promptRequest: PromptRequest): Boolean - UndocumentedPublicFunction:Session.kt$Session.Observer$fun onReaderModeChanged(session: Session, enabled: Boolean) - UndocumentedPublicFunction:Session.kt$Session.Observer$fun onReaderableStateUpdated(session: Session, readerable: Boolean) UndocumentedPublicFunction:Session.kt$Session.Observer$fun onRecordingDevicesChanged(session: Session, devices: List<RecordingDevice>) UndocumentedPublicFunction:Session.kt$Session.Observer$fun onSearch(session: Session, searchTerms: String) UndocumentedPublicFunction:Session.kt$Session.Observer$fun onSecurityChanged(session: Session, securityInfo: SecurityInfo) @@ -519,7 +461,6 @@ UndocumentedPublicFunction:Session.kt$Session.Observer$fun onTrackerLoaded(session: Session, tracker: Tracker, all: List<Tracker>) UndocumentedPublicFunction:Session.kt$Session.Observer$fun onUrlChanged(session: Session, url: String) UndocumentedPublicFunction:Session.kt$Session.Observer$fun onWebAppManifestChanged(session: Session, manifest: WebAppManifest?) - UndocumentedPublicFunction:SessionManager.kt$SessionManager.EngineSessionLinker$fun link(session: Session, engineSession: EngineSession) UndocumentedPublicFunction:SessionManager.kt$SessionManager.EngineSessionLinker$fun unlink(session: Session) UndocumentedPublicFunction:SessionManager.kt$SessionManager.Snapshot$fun isEmpty() UndocumentedPublicFunction:SessionManager.kt$SessionManager.Snapshot.Companion$fun empty() @@ -534,44 +475,24 @@ UndocumentedPublicFunction:SnapshotSerializer.kt$SnapshotSerializer$fun itemFromJSON(engine: Engine, json: JSONObject): SessionManager.Snapshot.Item UndocumentedPublicFunction:SnapshotSerializer.kt$SnapshotSerializer$fun itemToJSON(item: SessionManager.Snapshot.Item): JSONObject UndocumentedPublicFunction:SnapshotSerializer.kt$SnapshotSerializer$fun toJSON(snapshot: SessionManager.Snapshot): String - UndocumentedPublicFunction:StorageUtils.kt$StorageUtils$// Borrowed from https://gist.github.com/ademar111190/34d3de41308389a0d0d8 fun levenshteinDistance(a: String, b: String): Int UndocumentedPublicFunction:Store.kt$Store.Subscription.Binding$fun unbind() UndocumentedPublicFunction:String.kt$fun String.isEmail() UndocumentedPublicFunction:String.kt$fun String.isGeoLocation() UndocumentedPublicFunction:String.kt$fun String.isPhone() UndocumentedPublicFunction:String.kt$fun String.toNormalizedUrl() - UndocumentedPublicFunction:SyncAuthInfoCache.kt$SyncAuthInfoCache$fun clear() UndocumentedPublicFunction:SyncAuthInfoCache.kt$SyncAuthInfoCache$fun expired(): Boolean - UndocumentedPublicFunction:SyncAuthInfoCache.kt$SyncAuthInfoCache$fun getCached(): SyncAuthInfo? - UndocumentedPublicFunction:SyncAuthInfoCache.kt$SyncAuthInfoCache$fun setToCache(authInfo: SyncAuthInfo) - UndocumentedPublicFunction:SyncManager.kt$GlobalSyncableStoreProvider$fun configureStore(storePair: Pair<SyncEngine, SyncableStore>) - UndocumentedPublicFunction:SyncManager.kt$SyncDispatcher$fun isSyncActive(): Boolean - UndocumentedPublicFunction:SyncManager.kt$SyncDispatcher$fun startPeriodicSync(unit: TimeUnit, period: Long) - UndocumentedPublicFunction:SyncManager.kt$SyncDispatcher$fun stopPeriodicSync() - UndocumentedPublicFunction:SyncManager.kt$SyncDispatcher$fun syncNow(startup: Boolean = false, debounce: Boolean = false) - UndocumentedPublicFunction:SyncManager.kt$SyncDispatcher$fun workersStateChanged(isRunning: Boolean) UndocumentedPublicFunction:SystemEngineSession.kt$SystemEngineSession.WebSetting$operator fun getValue(thisRef: Any?, property: KProperty<*>): T UndocumentedPublicFunction:SystemEngineSession.kt$SystemEngineSession.WebSetting$operator fun setValue(thisRef: Any?, property: KProperty<*>, value: T) UndocumentedPublicFunction:SystemEngineSessionState.kt$SystemEngineSessionState.Companion$fun fromJSON(json: JSONObject): SystemEngineSessionState UndocumentedPublicFunction:TabCounter.kt$TabCounter$fun getText(): CharSequence UndocumentedPublicFunction:TabCounter.kt$TabCounter$fun setCount(count: Int) UndocumentedPublicFunction:TabCounter.kt$TabCounter$fun setCountWithAnimation(count: Int) - UndocumentedPublicFunction:TabSessionState.kt$fun createTab( url: String, private: Boolean = false, id: String = UUID.randomUUID().toString(), parent: TabSessionState? = null ): TabSessionState - UndocumentedPublicFunction:TabsAdapter.kt$TabsAdapter$fun unsubscribeHolders() - UndocumentedPublicFunction:TabsFeature.kt$TabsFeature$fun filterTabs(tabsFilter: (Session) -> Boolean) UndocumentedPublicFunction:TabsTrayInteractor.kt$TabsTrayInteractor$fun start() UndocumentedPublicFunction:TabsTrayInteractor.kt$TabsTrayInteractor$fun stop() UndocumentedPublicFunction:TabsTrayPresenter.kt$TabsTrayPresenter$fun start() UndocumentedPublicFunction:TabsTrayPresenter.kt$TabsTrayPresenter$fun stop() UndocumentedPublicFunction:TabsUseCases.kt$TabsUseCases.RemoveAllTabsUseCase$operator fun invoke() - UndocumentedPublicFunction:TabsUseCases.kt$TabsUseCases.SelectTabUseCase$operator fun invoke(session: Session) UndocumentedPublicFunction:TelemetryClient.kt$TelemetryClient$fun uploadPing(configuration: TelemetryConfiguration, path: String, serializedPing: String): Boolean - UndocumentedPublicFunction:ThreadUtils.kt$ThreadUtils$fun assertOnUiThread() - UndocumentedPublicFunction:ThreadUtils.kt$ThreadUtils$fun postToBackgroundThread(runnable: () -> Unit) - UndocumentedPublicFunction:ThreadUtils.kt$ThreadUtils$fun postToBackgroundThread(runnable: Runnable) - UndocumentedPublicFunction:ThreadUtils.kt$ThreadUtils$fun postToMainThread(runnable: Runnable) - UndocumentedPublicFunction:ThreadUtils.kt$ThreadUtils$fun postToMainThreadDelayed(runnable: Runnable, delayMillis: Long) - UndocumentedPublicFunction:ThreadUtils.kt$ThreadUtils$fun setHandlerForTest(handler: Handler) UndocumentedPublicFunction:Toolbar.kt$Toolbar.Action$fun bind(view: View) UndocumentedPublicFunction:Toolbar.kt$Toolbar.Action$fun createView(parent: ViewGroup): View UndocumentedPublicFunction:ToolbarAutocompleteFeature.kt$ToolbarAutocompleteFeature$fun addDomainProvider(provider: DomainAutocompleteProvider) @@ -581,7 +502,6 @@ UndocumentedPublicFunction:Types.kt$fun AccountEvent.into(): mozilla.components.concept.sync.AccountEvent UndocumentedPublicFunction:Types.kt$fun Device.Capability.into(): DeviceCapability UndocumentedPublicFunction:Types.kt$fun Device.PushSubscription.into(): mozilla.components.concept.sync.DevicePushSubscription - UndocumentedPublicFunction:Types.kt$fun Device.Type.into(): mozilla.components.concept.sync.DeviceType UndocumentedPublicFunction:Types.kt$fun Device.into(): mozilla.components.concept.sync.Device UndocumentedPublicFunction:Types.kt$fun DeviceCapability.into(): Device.Capability UndocumentedPublicFunction:Types.kt$fun DeviceType.into(): Device.Type @@ -591,22 +511,15 @@ UndocumentedPublicFunction:Types.kt$fun ScopedKey.into(): OAuthScopedKey UndocumentedPublicFunction:Types.kt$fun TabHistoryEntry.into(): mozilla.components.concept.sync.TabData UndocumentedPublicFunction:Types.kt$fun mozilla.components.concept.sync.Device.into(): Device - UndocumentedPublicFunction:Types.kt$fun mozilla.components.concept.sync.DeviceEvent.TabReceived.into(): AccountEvent.TabReceived UndocumentedPublicFunction:Types.kt$fun mozilla.components.concept.sync.DevicePushSubscription.into(): Device.PushSubscription UndocumentedPublicFunction:Types.kt$fun mozilla.components.concept.sync.TabData.into(): TabHistoryEntry - UndocumentedPublicFunction:URLStringUtils.kt$URLStringUtils$fun isSearchTerm(string: String) - UndocumentedPublicFunction:URLStringUtils.kt$URLStringUtils$fun isURLLike(string: String, safe: Boolean = false) UndocumentedPublicFunction:WebAppActivityFeature.kt$WebAppActivityFeature$@OnLifecycleEvent(Lifecycle.Event.ON_DESTROY) fun onDestroy() UndocumentedPublicFunction:WebAppActivityFeature.kt$WebAppActivityFeature$@OnLifecycleEvent(Lifecycle.Event.ON_RESUME) fun onResume() UndocumentedPublicFunction:WebAppManifestParser.kt$WebAppManifestParser$fun serialize(manifest: WebAppManifest) UndocumentedPublicFunction:WebAppSiteControlsFeature.kt$WebAppSiteControlsFeature$@OnLifecycleEvent(Lifecycle.Event.ON_PAUSE) fun onPause() UndocumentedPublicFunction:WebAppSiteControlsFeature.kt$WebAppSiteControlsFeature$@OnLifecycleEvent(Lifecycle.Event.ON_RESUME) fun onResume() - UndocumentedPublicFunction:WebCompatFeature.kt$WebCompatFeature$fun install(engine: Engine) UndocumentedPublicFunction:WebserverRule.kt$WebserverRule$fun url(path: String = ""): String - UndocumentedPublicFunction:WorkManagerSyncManager.kt$WorkersLiveDataObserver$@UiThread fun init() - UndocumentedPublicFunction:WorkManagerSyncManager.kt$WorkersLiveDataObserver$fun setDispatcher(dispatcher: SyncDispatcher) UndocumentedPublicFunction:WorkManagerSyncManager.kt$fun getLastSynced(context: Context): Long - UndocumentedPublicFunction:WorkManagerSyncManager.kt$fun setLastSynced(context: Context, ts: Long) UndocumentedPublicFunction:nodes.kt$AstNode$open fun toString(level: Int, isTopLevel: Boolean = true): String diff --git a/config/detekt.yml b/config/detekt.yml index 5178564aee2..1e22794f851 100644 --- a/config/detekt.yml +++ b/config/detekt.yml @@ -1,22 +1,3 @@ -failFast: false - -test-pattern: # Configure exclusions for test sources - active: true - patterns: # Test file regexes - - '.*/test/.*' - - '.*Test.kt' - exclude-rule-sets: - - 'comments' - exclude-rules: - - 'NamingRules' - - 'WildcardImport' - - 'MagicNumber' - - 'MaxLineLength' - - 'LateinitUsage' - - 'StringLiteralDuplication' - - 'SpreadOperator' - - 'TooManyFunctions' - build: maxIssues: 0 weights: @@ -43,13 +24,6 @@ console-reports: # - 'FindingsReport' # - 'BuildFailureReport' -output-reports: - active: true - exclude: - # - 'HtmlOutputReport' - - 'PlainOutputReport' - - 'XmlOutputReport' - comments: active: true CommentOverPrivateFunction: @@ -85,10 +59,12 @@ complexity: active: false LargeClass: active: true - threshold: 150 + # Had to increase the threshold as RC13 started counting lines of code + threshold: 200 LongMethod: active: true - threshold: 60 + # Had to increase the threshold as RC13 started counting lines of code + threshold: 75 LongParameterList: active: true threshold: 6 @@ -215,7 +191,7 @@ naming: active: true MemberNameEqualsClassName: active: false - ignoreOverriddenFunction: true + ignoreOverridden: true ObjectPropertyNaming: active: true propertyPattern: '[A-Za-z][_A-Za-z0-9]*' @@ -326,9 +302,6 @@ style: active: true ModifierOrder: active: true - MultiLineIfElse: - active: true - autoCorrect: true NestedClassesVisibility: active: false NewLineAtEndOfFile: