Fix IGameSessionController permission passthrough annotation.

This should be updated to MANAGE_GAME_ACTIVITY after ag/16728687.

Bug: 216344350
Change-Id: I754b39b242f2cc2bfed822f8b8b75438dd70343d
Test: n/a
This commit is contained in:
Shannon Chen
2022-02-04 16:09:47 +00:00
parent a3f857f122
commit fe88079504

View File

@@ -24,6 +24,6 @@ import com.android.internal.infra.AndroidFuture;
*/
oneway interface IGameSessionController {
void takeScreenshot(int taskId, in AndroidFuture gameScreenshotResultFuture);
@JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.FORCE_STOP_PACKAGES)")
@JavaPassthrough(annotation="@android.annotation.RequiresPermission(android.Manifest.permission.MANAGE_GAME_ACTIVITY)")
void restartGame(in int taskId);
}