From c7f625ffc79fb439b25c9ee99671e6d8013c1afd Mon Sep 17 00:00:00 2001 From: Peiyong Lin Date: Mon, 6 Dec 2021 20:37:09 +0000 Subject: 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 --- data/etc/com.android.systemui.xml | 1 + 1 file changed, 1 insertion(+) (limited to 'data/etc/com.android.systemui.xml') diff --git a/data/etc/com.android.systemui.xml b/data/etc/com.android.systemui.xml index f2a33de008d6..f5da48177051 100644 --- a/data/etc/com.android.systemui.xml +++ b/data/etc/com.android.systemui.xml @@ -30,6 +30,7 @@ + -- cgit v1.2.3-59-g8ed1b