summaryrefslogtreecommitdiffstats
path: root/nfc-extras
diff options
context:
space:
mode:
Diffstat (limited to 'nfc-extras')
-rw-r--r--nfc-extras/tests/src/com/android/nfc_extras/tests/BasicNfcEeTest.java (renamed from nfc-extras/tests/src/com/android/nfc_extras/BasicNfcEeTest.java)4
1 files changed, 2 insertions, 2 deletions
diff --git a/nfc-extras/tests/src/com/android/nfc_extras/BasicNfcEeTest.java b/nfc-extras/tests/src/com/android/nfc_extras/tests/BasicNfcEeTest.java
index e1025aa..389dfbe 100644
--- a/nfc-extras/tests/src/com/android/nfc_extras/BasicNfcEeTest.java
+++ b/nfc-extras/tests/src/com/android/nfc_extras/tests/BasicNfcEeTest.java
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package com.android.nfc_extras;
+package com.android.nfc_extras.tests;
import android.content.Context;
import android.nfc.NfcAdapter;
@@ -48,7 +48,7 @@ public class BasicNfcEeTest extends InstrumentationTestCase {
@Override
protected void setUp() throws Exception {
super.setUp();
- mContext = getInstrumentation().getContext();
+ mContext = getInstrumentation().getTargetContext();
mAdapterExtras = NfcAdapterExtras.get(NfcAdapter.getDefaultAdapter(mContext));
mEe = mAdapterExtras.getEmbeddedExecutionEnvironment();
}