Set the ID of TV grant layout to grant_dialog CTS now requires grant dialogs to have a UI element with the ID of "grant_dialog" or three cases in CtsPermissionTestCases will not pass. The case we need to comply with now is a parameterised test: - UndefinedGroupPermissionTest#testOtherGroupPermissionsNotGranted Test: atest android.permission.cts.UndefinedGroupPermissionTest Test: atest CtsPermissionTestCases Test: atest CtsPermission2TestCases Test: atest CtsPermission3TestCases Bug: 155356284 Change-Id: Id399dc0703b4de7e436b7ba320eabcfb033acdd0
diff --git a/res/layout-television/grant_permissions.xml b/res/layout-television/grant_permissions.xml index 14bbca3..bda9071 100644 --- a/res/layout-television/grant_permissions.xml +++ b/res/layout-television/grant_permissions.xml
@@ -16,6 +16,7 @@ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/grant_dialog" android:orientation="horizontal" android:paddingLeft="@dimen/action_dialog_padding_left" android:paddingRight="@dimen/action_dialog_padding_right"