| commit | ccc98bd71be0f2f4c6fd2ed0699a6330ecfbedee | [log] [tgz] |
|---|---|---|
| author | Yvonne Jiang <yvonnejiang@google.com> | Thu May 22 02:05:52 2025 -0700 |
| committer | Vitor Carvalho <vtrmc@google.com> | Fri Jun 06 14:17:45 2025 +0000 |
| tree | 4bdbcf7aee9d1562e9db46163dad37d6f3a0559d | |
| parent | 5df71874222bbfa4da295e3a601ab65e57b95610 [diff] |
Use EnforcingAdmin when EnforcedAdmin component is null for admin dialogs. This allows restrictions set non-component based authorities (like role authorities, as opposed to just DO/PO) to be represented with the correct dialog customizations. Test: atest ActionDisabledByAdminDialogHelperTest Flag: android.app.supervision.flags.deprecate_dpm_supervision_apis Bug: 399481325 Change-Id: I416b7eb9e5019f64c4a2ee8980037f7c990c242b