AM: make isHighEndGfx TestApi

Bug: 136784434
Test: n/a
Change-Id: Ie26de8dcf64a02b7757d4f705485cdcb7470f511
This commit is contained in:
Adrian Roos
2019-07-15 12:05:54 +02:00
parent 36151597fb
commit 5af40871ea
2 changed files with 2 additions and 1 deletions

View File

@@ -925,7 +925,7 @@ public class ActivityManager {
* (which tends to consume a lot more RAM).
* @hide
*/
@UnsupportedAppUsage
@TestApi
static public boolean isHighEndGfx() {
return !isLowRamDeviceStatic()
&& !RoSystemProperties.CONFIG_AVOID_GFX_ACCEL