Remove more unused legacy preferences

This commit is contained in:
MM20
2022-01-25 21:30:44 +01:00
parent b01f9d3f4d
commit 11017f46bc
7 changed files with 0 additions and 89 deletions
@@ -225,7 +225,6 @@ internal class AppRepositoryImpl(
}
private fun getActivityByComponentName(componentName: ComponentName?): Application? {
if (!LauncherPreferences.instance.searchActivities) return null
componentName ?: return null
val intent = Intent().setComponent(componentName)
val lai = launcherApps.resolveActivity(intent, Process.myUserHandle())