commit | 0046b2c6049ce50369bc7a8cb3023b4d19e43543 | [log] [tgz] |
---|---|---|
author | Martijn Coenen <maco@google.com> | Thu Aug 16 15:44:02 2012 -0700 |
committer | Martijn Coenen <maco@google.com> | Thu Aug 16 15:44:02 2012 -0700 |
tree | 507e197eeace39a009b7e051b6816209ec69a341 | |
parent | 3120957461afd8074ec507ab6db2c5c6d466188f [diff] |
CTS NFC tests: don't write to page 4 on UL tags. Page 4 is a one-time programmable area on those tags, preventing them from being reused for any other purpose after running this test. Use page 5 instead, which is rewriteable. Change-Id: Iaee07018de5451869b3cc43044451895ebe65333
diff --git a/apps/CtsVerifier/src/com/android/cts/verifier/nfc/tech/MifareUltralightTagTester.java b/apps/CtsVerifier/src/com/android/cts/verifier/nfc/tech/MifareUltralightTagTester.java index 23f4762..038d276 100644 --- a/apps/CtsVerifier/src/com/android/cts/verifier/nfc/tech/MifareUltralightTagTester.java +++ b/apps/CtsVerifier/src/com/android/cts/verifier/nfc/tech/MifareUltralightTagTester.java
@@ -29,7 +29,7 @@ */ public class MifareUltralightTagTester implements TagTester { - private static final int USER_PAGE_OFFSET = 4; + private static final int USER_PAGE_OFFSET = 5; private static final int NUM_PAGES = 4; @@ -77,4 +77,4 @@ } }; } -} \ No newline at end of file +}