Merge "NFC: Enhancement of the refresh tag process"
diff --git a/src/org/simalliance/openmobileapi/service/security/arf/PKCS15/PKCS15Handler.java b/src/org/simalliance/openmobileapi/service/security/arf/PKCS15/PKCS15Handler.java
index a2e067f..e28e257 100644
--- a/src/org/simalliance/openmobileapi/service/security/arf/PKCS15/PKCS15Handler.java
+++ b/src/org/simalliance/openmobileapi/service/security/arf/PKCS15/PKCS15Handler.java
@@ -109,6 +109,12 @@
                 mACRulesObject=new EFACRules(mSEHandle);
             }
             mSEHandle.clearAccessRuleCache();
+            mACMainPath  = null;
+            if (mArfChannel!=null)
+                mSEHandle.closeArfChannel();
+
+            this.initACEntryPoint();
+
             try {
                 mACRulesObject.analyseFile(ACRulesPath);
             } catch (Exception e) {