| commit | a6b1efb38087664f51eea1e8b04b2b2af940e426 | [log] [tgz] |
|---|---|---|
| author | Peiyong Lin <lpy@google.com> | Thu Jun 15 22:34:35 2023 +0000 |
| committer | Peiyong Lin <lpy@google.com> | Thu Jun 15 22:39:20 2023 +0000 |
| tree | 42ccd040b65112b1c0e956f118a1ab4490ace0d7 | |
| parent | 0daaa3f1f931448579f74ca0d38da0e244881396 [diff] |
Clean up ANGLE integration logic. Avoid unncessary JNI call. The application process will be determined whether it should use ANGLE or not before it determines whether it should show the dialog box. This patch cleans up the unnecessary JNI call and bookkeeps the ANGLE usage status. Bug: b/283858001 Test: test with camera with dialog on Test: atest CtsAngleIntegrationHostTestCases Change-Id: I2d398a36e0320b16de8664909ceb024089128aad