commit | 25e26d905530af917717267aff234871ab0e6e7c | [log] [tgz] |
---|---|---|
author | Alex Johnston <acjohnston@google.com> | Mon Oct 05 11:01:47 2020 +0000 |
committer | Alex Johnston <acjohnston@google.com> | Mon Oct 05 11:10:13 2020 +0000 |
tree | 390a4cee202f57a85c729489a94c87568f07c2c4 | |
parent | 2cc14d046eacce9816d4e1afba081ad625080fe0 [diff] |
Revert "Replace remaining enforceXXX methods" This reverts commit 2cc14d046eacce9816d4e1afba081ad625080fe0. Reason for revert: Factory reset function can not work This was caused by the method getCallerIdentityOptionalAdmin(). When the component name is null and no active admin is found, getCallerIdentity() should be called instead of throwing a security exception. Bug: 170057677 Change-Id: I46f181a5be5bf6cff7be6ea0f8965c4cd7be1f01