AI summary
Grounded in the 10 excerpts below · verify against the source
-
package com.android.settings.language; import android.app.Application; import com.android.internal.app.LocaleStore; import java.util.Locale; … -
packages/apps/Car/Launcher/app/tests/src/com/android/car/carlauncher/CarLauncherViewModelTest.java 0.59
package com.android.car.carlauncher; import static com.google.common.truth.Truth.assertThat; import static org.junit.Assume.assumeFalse; import android.app.Activity; import android.app.Instrumentat -
package com.example.android.intentplayground; import androidx.lifecycle.LiveData; import androidx.lifecycle.MutableLiveData; import androidx.lifecycle.ViewModel; import java.util.List; import java.u -
package com.android.systemui.volume.panel.ui.viewmodel import android.content.Context import android.content.IntentFilter import android.content.res.Resources import com.android.systemui.Dumpable imp -
class LiveSafetyCenterViewModel( app: Application, private val taskId: Int, private val sameTaskSourceIds: List<String>, ) : SafetyCenterViewModel(app) { private val TAG: String = Liv -
private fun onHandleConfigurationChanged() { initDeviceProfile() AbstractFloatingView.closeOpenViews( this, true, AbstractFloatingView.TYPE_ALL and -
@Override protected void onHandleConfigurationChanged() { Trace.beginSection("Launcher#onHandleconfigurationChanged"); try { if (!initDeviceProfile(mDeviceProfile.inv)) -
fun rebindOnConfigChange() { val workspaceState = launcher.appComponent.homeScreenRepository.workspaceState if (workspaceState.value.version > 0) { bindModelWithAsyncInflat -
public static class ConfirmationViewModel extends AndroidViewModel { boolean mIsPendingConfirmation = false; @Nullable Mode mPendingMode = null; @Nullable Mode mExistingMode = -
packages/providers/MediaProvider/photopicker/src/com/android/photopicker/core/embedded/Session.kt 0.58
override fun notifyConfigurationChanged(configuration: Configuration?) { if (!isActive.get()) { callClosedSessionError() return } if (configuration == n