Loading packages/SystemUI/Android.bp +3 −0 Original line number Diff line number Diff line Loading @@ -534,6 +534,7 @@ android_library { "androidx.compose.animation_animation-graphics", "androidx.lifecycle_lifecycle-viewmodel-compose", "kairos", "displaylib", "aconfig_settings_flags_lib", ], libs: [ Loading Loading @@ -728,6 +729,7 @@ android_library { "Traceur-res", "aconfig_settings_flags_lib", "kairos", "displaylib", ], } Loading Loading @@ -770,6 +772,7 @@ android_library { "androidx.compose.runtime_runtime", "kairos", "kosmos", "displaylib", "testables", "androidx.test.rules", "platform-compat-test-rules", Loading packages/SystemUI/src/com/android/systemui/display/data/repository/DisplayRepository.kt +2 −8 Original line number Diff line number Diff line Loading @@ -27,6 +27,7 @@ import android.os.Handler import android.util.Log import android.view.Display import android.view.IWindowManager import com.android.app.displaylib.DisplayRepository as DisplayRepositoryFromLib import com.android.app.tracing.FlowTracing.traceEach import com.android.app.tracing.traceSection import com.android.systemui.dagger.SysUISingleton Loading Loading @@ -60,7 +61,7 @@ import kotlinx.coroutines.flow.scan import kotlinx.coroutines.flow.stateIn /** Repository for providing access to display related information and events. */ interface DisplayRepository { interface DisplayRepository : DisplayRepositoryFromLib { /** Display change event indicating a change to the given displayId has occurred. */ val displayChangeEvent: Flow<Int> Loading @@ -73,13 +74,6 @@ interface DisplayRepository { /** A [StateFlow] that maintains a set of display IDs that should have system decorations. */ val displayIdsWithSystemDecorations: StateFlow<Set<Int>> /** * Provides the current set of displays. * * Consider using [displayIds] if only the [Display.getDisplayId] is needed. */ val displays: StateFlow<Set<Display>> /** * Provides the current set of display ids. * Loading Loading
packages/SystemUI/Android.bp +3 −0 Original line number Diff line number Diff line Loading @@ -534,6 +534,7 @@ android_library { "androidx.compose.animation_animation-graphics", "androidx.lifecycle_lifecycle-viewmodel-compose", "kairos", "displaylib", "aconfig_settings_flags_lib", ], libs: [ Loading Loading @@ -728,6 +729,7 @@ android_library { "Traceur-res", "aconfig_settings_flags_lib", "kairos", "displaylib", ], } Loading Loading @@ -770,6 +772,7 @@ android_library { "androidx.compose.runtime_runtime", "kairos", "kosmos", "displaylib", "testables", "androidx.test.rules", "platform-compat-test-rules", Loading
packages/SystemUI/src/com/android/systemui/display/data/repository/DisplayRepository.kt +2 −8 Original line number Diff line number Diff line Loading @@ -27,6 +27,7 @@ import android.os.Handler import android.util.Log import android.view.Display import android.view.IWindowManager import com.android.app.displaylib.DisplayRepository as DisplayRepositoryFromLib import com.android.app.tracing.FlowTracing.traceEach import com.android.app.tracing.traceSection import com.android.systemui.dagger.SysUISingleton Loading Loading @@ -60,7 +61,7 @@ import kotlinx.coroutines.flow.scan import kotlinx.coroutines.flow.stateIn /** Repository for providing access to display related information and events. */ interface DisplayRepository { interface DisplayRepository : DisplayRepositoryFromLib { /** Display change event indicating a change to the given displayId has occurred. */ val displayChangeEvent: Flow<Int> Loading @@ -73,13 +74,6 @@ interface DisplayRepository { /** A [StateFlow] that maintains a set of display IDs that should have system decorations. */ val displayIdsWithSystemDecorations: StateFlow<Set<Int>> /** * Provides the current set of displays. * * Consider using [displayIds] if only the [Display.getDisplayId] is needed. */ val displays: StateFlow<Set<Display>> /** * Provides the current set of display ids. * Loading