commit | c5c17e66ba236bcd44240308dfcf4fe0a794ccbd | [log] [tgz] |
---|---|---|
author | Peiyong Lin <lpy@google.com> | Mon Sep 28 23:17:37 2020 -0700 |
committer | Peiyong Lin <lpy@google.com> | Mon Sep 28 23:17:37 2020 -0700 |
tree | fe574fd9fbc332e61c4e7d1c02bf67d374469060 | |
parent | 64389beb167d2ca6cfa4a619eb80ab297feaa3d5 [diff] |
[GraphicsEnvironment] Avoid null access. Currently when debug layer apk is not installed, GraphicsEnvironment logs the message and proceeds, which results in null pointer access crash when later trying to access primaryAbi. Avoid null access by an early return statement. Bug: N/A Test: specify not installed debug layer apk and no crash Change-Id: I4f3b86b0a8cfff4fc608b3a59ebf0872db0465ff