Revert "Replace remaining enforceXXX methods"
This reverts commit 2cc14d04. 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
Loading
Please register or sign in to comment