commit | 5e11e5e6cc38242dbf6a6709b1cfc563d3c8dc31 | [log] [tgz] |
---|---|---|
author | Luis Hector Chavez <lhchavez@google.com> | Fri Mar 23 14:37:01 2018 -0700 |
committer | Luis Hector Chavez <lhchavez@google.com> | Fri Mar 23 14:43:54 2018 -0700 |
tree | cc7252fe5077aa9890d7260908193337ad89241d | |
parent | 69d41b05219d3014cf806d1b79add7fe363a693d [diff] |
Also allow avoiding gfx acceleration at runtime This change adds a way to make ActivityManager#isHighEndGfx() return false at runtime by inspecting the value of ro.config.avoid_gfx_accel. This is useful for running Android on Chrome OS devices, since a single image can be made to run in both physical hardware and an emulator. Bug: 65602168 Test: Added `ro.config.avoid_gfx_accel`, isHighEndGfx() returned false. Change-Id: I1599ad9b385f9ef43f923886e6d5358ae07632e0