summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.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-06-14 01:06:48 +0000
commitb27fecd0ffb33681f8ec9b2b1ffe92cdbe390336 (patch)
treeb9c569d8099ed1f768c111779e61c4cb2d762218 /libs/androidfw/FileStream.cpp
parente0da810689c2a71d8c11ea93a0d68ddd4e2f6722 (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
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions