diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2021-05-05 01:10:29 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2021-05-05 01:10:29 +0000 |
commit | 587c5159e5ebb6b9e5358e0ff95e188f541b62c3 (patch) | |
tree | 7a6ccf14e7ecc9cf63c6edeb638232bb09879ed5 | |
parent | 72c4b673379ebb83b25ea4d76eac8d7bd9051d57 (diff) | |
parent | d052b0b1d1abda205590db2e7db08b377a8e0cb0 (diff) | |
download | SecureElement-587c5159e5ebb6b9e5358e0ff95e188f541b62c3.tar.gz |
Snap for 7336869 from d052b0b1d1abda205590db2e7db08b377a8e0cb0 to sc-d1-releaseandroid-12.0.0_r7android-12.0.0_r6android-12.0.0_r5android-12.0.0_r4android-12.0.0_r15android-12.0.0_r14android-12.0.0_r13android-12.0.0_r12android12-d1-s6-releaseandroid12-d1-s5-releaseandroid12-d1-s4-releaseandroid12-d1-s3-releaseandroid12-d1-s2-releaseandroid12-d1-s1-releaseandroid12-d1-release
Change-Id: I5593dee7fd95877453893af443dd9ab2ba59b8bb
-rw-r--r-- | src/com/android/se/Terminal.java | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/src/com/android/se/Terminal.java b/src/com/android/se/Terminal.java index 139390b..d97dd2f 100644 --- a/src/com/android/se/Terminal.java +++ b/src/com/android/se/Terminal.java @@ -688,18 +688,10 @@ public class Terminal { // Return if not connected return null; } - // Attempt to initialize the access control enforcer if it failed in the previous attempt - // due to a kind of temporary failure or no rule was found. + // Return if the access control enforcer failed in previous attempt or no rule was found. if (mAccessControlEnforcer == null || mAccessControlEnforcer.isNoRuleFound()) { - try { - initializeAccessControl(); - Log.i(mTag, "AccessControlEnforcer initialized"); - // Just finished to initialize the access control enforcer. - // It is too much to check the refresh tag in this case. - } catch (Exception e) { - Log.i(mTag, "isNfcEventAllowed Exception: " + e.getMessage()); - return null; - } + Log.i(mTag, "isNfcEventAllowed: No access rules for checking."); + return null; } mAccessControlEnforcer.setPackageManager(packageManager); |