commit | 8bc38e307bfb6d16f321aee39d4d1b0cf4a8cc54 | [log] [tgz] |
---|---|---|
author | Rahul Banerjee <rahulbanerjee@google.com> | Mon Nov 11 16:08:52 2024 -0800 |
committer | Rahul Banerjee <rahulbanerjee@google.com> | Mon Nov 11 16:08:52 2024 -0800 |
tree | 23d2e61d499c01a232ad80ac20224a9ec2517454 | |
parent | 73439919d4463f6403ff2cc4e585c577df70b6a3 [diff] [blame] |
Fix "G" logo changing position during device reboot. Bug: 376214650 Flag: EXEMPT Fix typo Test: Manual (before: https://paste.googleplex.com/6201863358906368 after: https://paste.googleplex.com/6215099508588544) Change-Id: Id95f50a5c12c2ed77746c4b363464d79aacb8b6d
diff --git a/cmds/bootanimation/BootAnimation.cpp b/cmds/bootanimation/BootAnimation.cpp index 14e2387..b43905b 100644 --- a/cmds/bootanimation/BootAnimation.cpp +++ b/cmds/bootanimation/BootAnimation.cpp
@@ -451,7 +451,7 @@ auto token = SurfaceComposerClient::getPhysicalDisplayToken( event.header.displayId); - auto firstDisplay = mBootAnimation->mDisplays.front(); + auto& firstDisplay = mBootAnimation->mDisplays.front(); if (token != firstDisplay.displayToken) { // ignore hotplug of a secondary display continue;