+12
−1
core/java/android/app/GameModeInfo.aidl
0 → 100644
+22
−0
core/java/android/app/GameModeInfo.java
0 → 100644
+101
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
The Game Dashboard needs to access the active game mode and the available game modes of a given game in order to provide the UX. Instead of doing two queries with two binder calls, implement a new API to capture all GameMode related states of a given package. Minor: Don't return UNSUPPORTED when querying available game modes, change MANAGE_GAME_MODE permission to allow system apps to access the APIs. Bug: b/199920468 Test: atest GameManagerServiceTests Test: atest GameManagerTests Change-Id: I45d9c2df5bffd6496f97140e44d0ca5afeee71b1