Merge "[SF] Don't reset display state on reconnection" into rvc-dev
This commit is contained in:
commit
810a75538b
1 changed files with 2 additions and 1 deletions
|
@ -2675,7 +2675,8 @@ void SurfaceFlinger::processDisplayChanged(const wp<IBinder>& displayToken,
|
|||
}
|
||||
processDisplayAdded(displayToken, currentState);
|
||||
if (currentState.physical) {
|
||||
initializeDisplays();
|
||||
const auto display = getDisplayDeviceLocked(displayToken);
|
||||
setPowerModeInternal(display, hal::PowerMode::ON);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue