Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 82e91751 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix display disconnected race condition in NavigationBarModule" into main

parents 84200a08 cc2db85c
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -78,7 +78,9 @@ public interface NavigationBarModule {
            SysUiState defaultState,
            PerDisplayRepository<SysUiState> repository) {
        if (ShadeWindowGoesAround.isEnabled()) {
            return repository.get(context.getDisplayId());
            SysUiState displaySpecific = repository.get(context.getDisplayId());
            if (displaySpecific == null) return defaultState;
            return displaySpecific;
        } else {
            return defaultState;
        }