Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix BasicNfcEeTest java package.

It was in, which caused it to get bundled with, which caused all kinds of confusion when
trying to push new versions of the test.

It should be in

Also fix getContext() -> getTargetContext().

Change-Id: I1e3afa150809a3ed8c4f88531f039fe7797aca1d
  • Loading branch information...
commit 09588f64a280b98eefc22d05fd5ff7916ba9203e 1 parent 7da48db
Nick Pelly authored
4 ...ts/src/com/android/nfc_extras/ → .../com/android/nfc_extras/tests/
@@ -14,7 +14,7 @@
* limitations under the License.
import android.content.Context;
import android.nfc.NfcAdapter;
@@ -48,7 +48,7 @@
protected void setUp() throws Exception {
- mContext = getInstrumentation().getContext();
+ mContext = getInstrumentation().getTargetContext();
mAdapterExtras = NfcAdapterExtras.get(NfcAdapter.getDefaultAdapter(mContext));
mEe = mAdapterExtras.getEmbeddedExecutionEnvironment();
Please sign in to comment.
Something went wrong with that request. Please try again.