Skip to content
Commit b27fecd0 authored by Peiyong Lin's avatar Peiyong Lin
Browse files

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
parent e0da8106
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment