Add tests for flag-gated intent extras in RestrictedLockUtils
Adds unit tests for the `getShowAdminSupportDetailsIntent(EnforcingAdmin)` method to verify its behavior with the `enforcingAdminExtraEnabled` and `enforcingAdminGetComponentNameEnabled` feature flags. These tests ensure that the `EXTRA_ENFORCING_ADMIN` and `EXTRA_DEVICE_ADMIN` intent extras are correctly added or omitted based on the state of their respective flags. Scenarios for null admins and admins with or without a component name are also covered. Please help fill out the survey for feedback: https://forms.gle/Qz9q5boo4h4tESyd7 Original Change: ag/35143890 Bug: 431235865 Flag: TEST_ONLY ABTD Links: http://go/forrest-run/L28700030016847958 Change-Id: Ie2746dd6fdf6d4b209d7b188ff16eeb1bda4e0bf
Loading
Please register or sign in to comment