Implement getGameModeInfo API.
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
Loading
Please register or sign in to comment