Do not try to initialze the access control enforcer in NFC API am: 8ca26b9e6c

Original change: https://android-review.googlesource.com/c/platform/packages/apps/SecureElement/+/1688294

Change-Id: I6cd5f1d2775b8a55e1d3e7bb6eb714434d1494f1
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 @@
             // 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);