Fix build warning about permissions for startActivityFromGameSessionForResult.
This is the warning:
[AndroidFrameworkRequiresPermission] Method startActivityFromGameSessionForResult() annotated {allOf=[android.permission.MANAGE_GAME_ACTIVITY]} but too wide; only invokes methods requiring [none]
public final void startActivityFromGameSessionForResult(
^
If calling an AIDL interface, it can be annotated by adding:
@JavaPassthrough(annotation="@android.annotation.RequiresPermission(...)")
Change-Id: Ia96dc7f922119e6e17fbb36fe5dd1039887e3fd0
Test: n/a
Bug: 202417255
Loading
Please register or sign in to comment