Merge "Add OVERRIDE_COMPAT_CHANGE_CONFIG_ON_RELEASE_BUILD to PlatformCompatChangeRule." into sc-dev
diff --git a/tests/PlatformCompatGating/test-rules/src/android/compat/testing/PlatformCompatChangeRule.java b/tests/PlatformCompatGating/test-rules/src/android/compat/testing/PlatformCompatChangeRule.java
index df58da5..039ba51 100644
--- a/tests/PlatformCompatGating/test-rules/src/android/compat/testing/PlatformCompatChangeRule.java
+++ b/tests/PlatformCompatGating/test-rules/src/android/compat/testing/PlatformCompatChangeRule.java
@@ -117,6 +117,7 @@
             uiAutomation.adoptShellPermissionIdentity(
                     Manifest.permission.LOG_COMPAT_CHANGE,
                     Manifest.permission.OVERRIDE_COMPAT_CHANGE_CONFIG,
+                    Manifest.permission.OVERRIDE_COMPAT_CHANGE_CONFIG_ON_RELEASE_BUILD,
                     Manifest.permission.READ_COMPAT_CHANGE_CONFIG);
         }
     }