Loading src/com/android/settings/spa/app/appcompat/UserAspectRatioAppPreference.kt +0 −2 Original line number Diff line number Diff line Loading @@ -22,7 +22,6 @@ import androidx.compose.runtime.Composable import androidx.compose.runtime.remember import androidx.compose.ui.platform.LocalContext import androidx.compose.ui.res.stringResource import androidx.lifecycle.compose.ExperimentalLifecycleComposeApi import androidx.lifecycle.compose.collectAsStateWithLifecycle import com.android.settings.R import com.android.settings.applications.appcompat.UserAspectRatioDetails Loading @@ -35,7 +34,6 @@ import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.flow.flow import kotlinx.coroutines.flow.flowOn @OptIn(ExperimentalLifecycleComposeApi::class) @Composable fun UserAspectRatioAppPreference(app: ApplicationInfo) { val context = LocalContext.current Loading src/com/android/settings/spa/app/appcompat/UserAspectRatioAppsPageProvider.kt +0 −2 Original line number Diff line number Diff line Loading @@ -32,7 +32,6 @@ import androidx.compose.runtime.State import androidx.compose.runtime.remember import androidx.compose.ui.Modifier import androidx.compose.ui.res.stringResource import androidx.lifecycle.compose.ExperimentalLifecycleComposeApi import androidx.lifecycle.compose.collectAsStateWithLifecycle import com.android.settings.R import com.android.settings.applications.appcompat.UserAspectRatioManager Loading Loading @@ -184,7 +183,6 @@ class UserAspectRatioAppListModel(private val context: Context) } ) @OptIn(ExperimentalLifecycleComposeApi::class) @Composable override fun getSummary(option: Int, record: UserAspectRatioAppListItemModel) : State<String> = remember(record.override) { Loading src/com/android/settings/spa/app/appinfo/AppAllServicesPreference.kt +0 −2 Original line number Diff line number Diff line Loading @@ -28,7 +28,6 @@ import androidx.compose.runtime.remember import androidx.compose.runtime.rememberCoroutineScope import androidx.compose.ui.platform.LocalContext import androidx.compose.ui.res.stringResource import androidx.lifecycle.compose.ExperimentalLifecycleComposeApi import androidx.lifecycle.compose.collectAsStateWithLifecycle import com.android.settings.R import com.android.settingslib.spa.widget.preference.Preference Loading @@ -46,7 +45,6 @@ import kotlinx.coroutines.flow.shareIn import kotlinx.coroutines.launch import kotlinx.coroutines.plus @OptIn(ExperimentalLifecycleComposeApi::class) @Composable fun AppAllServicesPreference(app: ApplicationInfo) { val context = LocalContext.current Loading src/com/android/settings/spa/app/appinfo/AppButtons.kt +0 −2 Original line number Diff line number Diff line Loading @@ -19,7 +19,6 @@ package com.android.settings.spa.app.appinfo import android.content.pm.ApplicationInfo import androidx.compose.runtime.Composable import androidx.compose.runtime.remember import androidx.lifecycle.compose.ExperimentalLifecycleComposeApi import androidx.lifecycle.compose.collectAsStateWithLifecycle import com.android.settingslib.applications.AppUtils import com.android.settingslib.spa.widget.button.ActionButton Loading @@ -43,7 +42,6 @@ private class AppButtonsPresenter(private val packageInfoPresenter: PackageInfoP private val appClearButton = AppClearButton(packageInfoPresenter) private val appForceStopButton = AppForceStopButton(packageInfoPresenter) @OptIn(ExperimentalLifecycleComposeApi::class) @Composable fun getActionButtons() = packageInfoPresenter.flow.collectAsStateWithLifecycle(initialValue = null).value?.let { Loading src/com/android/settings/spa/app/appinfo/AppDataUsagePreference.kt +0 −2 Original line number Diff line number Diff line Loading @@ -27,7 +27,6 @@ import androidx.compose.runtime.Composable import androidx.compose.runtime.remember import androidx.compose.ui.platform.LocalContext import androidx.compose.ui.res.stringResource import androidx.lifecycle.compose.ExperimentalLifecycleComposeApi import androidx.lifecycle.compose.collectAsStateWithLifecycle import com.android.settings.R import com.android.settings.Utils Loading @@ -44,7 +43,6 @@ import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.flow.flow import kotlinx.coroutines.withContext @OptIn(ExperimentalLifecycleComposeApi::class) @Composable fun AppDataUsagePreference(app: ApplicationInfo) { val context = LocalContext.current Loading Loading
src/com/android/settings/spa/app/appcompat/UserAspectRatioAppPreference.kt +0 −2 Original line number Diff line number Diff line Loading @@ -22,7 +22,6 @@ import androidx.compose.runtime.Composable import androidx.compose.runtime.remember import androidx.compose.ui.platform.LocalContext import androidx.compose.ui.res.stringResource import androidx.lifecycle.compose.ExperimentalLifecycleComposeApi import androidx.lifecycle.compose.collectAsStateWithLifecycle import com.android.settings.R import com.android.settings.applications.appcompat.UserAspectRatioDetails Loading @@ -35,7 +34,6 @@ import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.flow.flow import kotlinx.coroutines.flow.flowOn @OptIn(ExperimentalLifecycleComposeApi::class) @Composable fun UserAspectRatioAppPreference(app: ApplicationInfo) { val context = LocalContext.current Loading
src/com/android/settings/spa/app/appcompat/UserAspectRatioAppsPageProvider.kt +0 −2 Original line number Diff line number Diff line Loading @@ -32,7 +32,6 @@ import androidx.compose.runtime.State import androidx.compose.runtime.remember import androidx.compose.ui.Modifier import androidx.compose.ui.res.stringResource import androidx.lifecycle.compose.ExperimentalLifecycleComposeApi import androidx.lifecycle.compose.collectAsStateWithLifecycle import com.android.settings.R import com.android.settings.applications.appcompat.UserAspectRatioManager Loading Loading @@ -184,7 +183,6 @@ class UserAspectRatioAppListModel(private val context: Context) } ) @OptIn(ExperimentalLifecycleComposeApi::class) @Composable override fun getSummary(option: Int, record: UserAspectRatioAppListItemModel) : State<String> = remember(record.override) { Loading
src/com/android/settings/spa/app/appinfo/AppAllServicesPreference.kt +0 −2 Original line number Diff line number Diff line Loading @@ -28,7 +28,6 @@ import androidx.compose.runtime.remember import androidx.compose.runtime.rememberCoroutineScope import androidx.compose.ui.platform.LocalContext import androidx.compose.ui.res.stringResource import androidx.lifecycle.compose.ExperimentalLifecycleComposeApi import androidx.lifecycle.compose.collectAsStateWithLifecycle import com.android.settings.R import com.android.settingslib.spa.widget.preference.Preference Loading @@ -46,7 +45,6 @@ import kotlinx.coroutines.flow.shareIn import kotlinx.coroutines.launch import kotlinx.coroutines.plus @OptIn(ExperimentalLifecycleComposeApi::class) @Composable fun AppAllServicesPreference(app: ApplicationInfo) { val context = LocalContext.current Loading
src/com/android/settings/spa/app/appinfo/AppButtons.kt +0 −2 Original line number Diff line number Diff line Loading @@ -19,7 +19,6 @@ package com.android.settings.spa.app.appinfo import android.content.pm.ApplicationInfo import androidx.compose.runtime.Composable import androidx.compose.runtime.remember import androidx.lifecycle.compose.ExperimentalLifecycleComposeApi import androidx.lifecycle.compose.collectAsStateWithLifecycle import com.android.settingslib.applications.AppUtils import com.android.settingslib.spa.widget.button.ActionButton Loading @@ -43,7 +42,6 @@ private class AppButtonsPresenter(private val packageInfoPresenter: PackageInfoP private val appClearButton = AppClearButton(packageInfoPresenter) private val appForceStopButton = AppForceStopButton(packageInfoPresenter) @OptIn(ExperimentalLifecycleComposeApi::class) @Composable fun getActionButtons() = packageInfoPresenter.flow.collectAsStateWithLifecycle(initialValue = null).value?.let { Loading
src/com/android/settings/spa/app/appinfo/AppDataUsagePreference.kt +0 −2 Original line number Diff line number Diff line Loading @@ -27,7 +27,6 @@ import androidx.compose.runtime.Composable import androidx.compose.runtime.remember import androidx.compose.ui.platform.LocalContext import androidx.compose.ui.res.stringResource import androidx.lifecycle.compose.ExperimentalLifecycleComposeApi import androidx.lifecycle.compose.collectAsStateWithLifecycle import com.android.settings.R import com.android.settings.Utils Loading @@ -44,7 +43,6 @@ import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.flow.flow import kotlinx.coroutines.withContext @OptIn(ExperimentalLifecycleComposeApi::class) @Composable fun AppDataUsagePreference(app: ApplicationInfo) { val context = LocalContext.current Loading