diff --git a/app/detekt-baseline.xml b/app/detekt-baseline.xml index 03467cac..0db32ed5 100644 --- a/app/detekt-baseline.xml +++ b/app/detekt-baseline.xml @@ -19,7 +19,6 @@ CyclomaticComplexMethod:MyAppWidgetResizeFrame.kt$MyAppWidgetResizeFrame$override fun onTouchEvent(event: MotionEvent?): Boolean EmptyCatchBlock:Context.kt${ } EmptyCatchBlock:WidgetsFragment.kt$WidgetsFragment${ } - EmptyFunctionBlock:FolderIconsAdapter.kt$FolderIconsAdapter${} EmptyFunctionBlock:HiddenIconsAdapter.kt$HiddenIconsAdapter${} LargeClass:HomeScreenGrid.kt$HomeScreenGrid : RelativeLayout LargeClass:MainActivity.kt$MainActivity : SimpleActivityFlingListener @@ -59,7 +58,6 @@ MaxLineLength:AllAppsFragment.kt$AllAppsFragment$// some devices ACTION_MOVE keeps triggering for the whole long press duration, but we are interested in real moves only, when coords change MaxLineLength:AppLauncher.kt$AppLauncher$@ColumnInfo(name = "activity_name") var activityName: String MaxLineLength:AppLauncher.kt$AppLauncher$sorting and SORT_BY_TITLE != 0 -> title.normalizeString().lowercase().compareTo(other.title.normalizeString().lowercase()) - MaxLineLength:FolderIconsAdapter.kt$FolderIconsAdapter.<no name provided>$val yOffset = resources.getDimension(R.dimen.long_press_anchor_button_offset_y) * (visibleMenuItems - 1) MaxLineLength:HiddenIconsAdapter.kt$HiddenIconsAdapter$private fun getSelectedItems() MaxLineLength:HomeScreenGrid.kt$AnimatedGridPager$((pageChangeSwipedPercentage > 0f && item.page == currentPage - 1) || (pageChangeSwipedPercentage < 0f && item.page == currentPage + 1)) MaxLineLength:HomeScreenGrid.kt$HomeScreenGrid$(context as? MainActivity) @@ -118,7 +116,6 @@ TooGenericExceptionCaught:MainActivity.kt$MainActivity$e: Exception TooGenericExceptionCaught:WidgetsFragment.kt$WidgetsFragment$error: Error TooManyFunctions:AllAppsFragment.kt$AllAppsFragment : MyFragmentAllAppsListener - TooManyFunctions:FolderIconsAdapter.kt$FolderIconsAdapter : MyRecyclerViewAdapter TooManyFunctions:HiddenIconsAdapter.kt$HiddenIconsAdapter : MyRecyclerViewAdapter TooManyFunctions:HomeScreenGrid.kt$AnimatedGridPager TooManyFunctions:HomeScreenGrid.kt$HomeScreenGrid : RelativeLayout diff --git a/app/lint-baseline.xml b/app/lint-baseline.xml index fad8d350..2b6d8cff 100644 --- a/app/lint-baseline.xml +++ b/app/lint-baseline.xml @@ -1,5 +1,27 @@ - + + + + + + + + id="InvalidManifestAttribute" + message="Attribute `clearTaskOnLaunch` on `<activity-alias>` `.activities.SplashActivity.Red` is invalid, and will be silently ignored. This attribute is always ignored on `<activity-alias>`." + errorLine1=" android:clearTaskOnLaunch="true"" + errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> + file="src/main/AndroidManifest.xml" + line="94" + column="13"/> + id="InvalidManifestAttribute" + message="Attribute `excludeFromRecents` on `<activity-alias>` `.activities.SplashActivity.Red` is invalid, and will be silently ignored. This attribute is always ignored on `<activity-alias>`." + errorLine1=" android:excludeFromRecents="true"" + errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> + file="src/main/AndroidManifest.xml" + line="96" + column="13"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -279,7 +917,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> @@ -290,7 +928,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -301,7 +939,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -312,21 +950,10 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> - - - - - - - - + + + + + + + + @@ -605,7 +1243,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> @@ -616,7 +1254,7 @@ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">