summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/InputMethodService.java
diff options
context:
space:
mode:
authorTim Van Patten <timvp@google.com>2021-12-06 18:00:49 -0700
committerTim Van Patten <timvp@google.com>2021-12-09 18:45:28 -0700
commitef7aedfce6886ad6e31ede589878bf7b6e190b4d (patch)
tree4d5a47dde3fa707e06dae94cb29a09646c98372f /core/java/android/inputmethodservice/InputMethodService.java
parent95172370107e7f86b900904a36d1f4689f948021 (diff)
ANGLE: Global.Settings should override GameManagerService
If ANGLE is enabled by the Game Dashboard (GameManagerService), but the user has specified the native driver should be loaded, GraphicsEnvironment::shouldUseAngle() will still return 'true' and ANGLE will be loaded. This CL updates GraphicsEnvironment::shouldUseAngle() to not return true if the user has forced the native driver. This CL also updates GameManagerService to allow config values that only specify 'useAngle', rather than requiring 'downscaleFactor' also. Tested with the following adb commands: 1.) Enable ANGLE via DeviceConfig for Angry Birds 2: adb shell device_config put game_overlay com.rovio.baba mode=3,downscaleFactor=0.7,useAngle=true 2.) Force the native driver: adb shell settings put global angle_gl_driver_selection_pkgs com.rovio.baba adb shell settings put global angle_gl_driver_selection_values native Test: adb commands Test: atest CtsAngleIntegrationHostTestCases Bug: b/209519090 Change-Id: Ic1fb867129e0707a38470250d333fcbf486cab76
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions