diff options
author | Luis Hector Chavez <lhchavez@google.com> | 2018-03-23 14:37:01 -0700 |
---|---|---|
committer | Luis Hector Chavez <lhchavez@google.com> | 2018-03-23 14:43:54 -0700 |
commit | 5e11e5e6cc38242dbf6a6709b1cfc563d3c8dc31 (patch) | |
tree | cc7252fe5077aa9890d7260908193337ad89241d /tools/aapt2/java/JavaClassGenerator_test.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions