diff options
author | 2024-11-11 16:08:52 -0800 | |
---|---|---|
committer | 2024-11-11 16:08:52 -0800 | |
commit | 8bc38e307bfb6d16f321aee39d4d1b0cf4a8cc54 (patch) | |
tree | 23d2e61d499c01a232ad80ac20224a9ec2517454 /cmds | |
parent | 73439919d4463f6403ff2cc4e585c577df70b6a3 (diff) |
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
Diffstat (limited to 'cmds')
-rw-r--r-- | cmds/bootanimation/BootAnimation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/bootanimation/BootAnimation.cpp b/cmds/bootanimation/BootAnimation.cpp index 14e238768f41..b43905b19239 100644 --- a/cmds/bootanimation/BootAnimation.cpp +++ b/cmds/bootanimation/BootAnimation.cpp @@ -451,7 +451,7 @@ public: 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; |