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
Loading
Please register or sign in to comment