summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.cpp
diff options
context:
space:
mode:
author Peiyong Lin <lpy@google.com> 2023-06-14 01:06:48 +0000
committer Peiyong Lin <lpy@google.com> 2023-10-13 00:39:22 +0000
commit7964041d62c3415f498a10f50116c46e2452b033 (patch)
treee48ef34fdfb66eb824c781e874aabc03088f9bbf /cmds/bootanimation/BootAnimation.cpp
parent0ac140858e514a63ea6e1c95e7efde29e0855d98 (diff)
Avoid setup ANGLE again when determine whether to show toast.
Previously after the application is launched, the GraphicsEnvironment will call into setup ANGLE again to check whether the in use toast message dialog should be shown. However, this step is unnecessary and creates some overhead. This patch eliminates the call into ANGLE setup and only check whether ANGLE is used. Bug: b/283858001 Test: check toast message when opt-in and opt-out Change-Id: I91f59c17100ac43ee8eea4f3fa8c86602c26a416 Merged-In: I91f59c17100ac43ee8eea4f3fa8c86602c26a416
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions