Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 697e97bc authored by Omer Ozer's avatar Omer Ozer Committed by Android (Google) Code Review
Browse files

Merge "Revert NFC adapter user context change." into main

parents a032e215 9d3f4d71
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -812,8 +812,8 @@ public final class NfcAdapter {
        if (context == null) {
            throw new IllegalArgumentException("context cannot be null");
        }
        Context applicationContext = context.getApplicationContext();
        if (applicationContext == null) {
        context = context.getApplicationContext();
        if (context == null) {
            throw new IllegalArgumentException(
                    "context not associated with any application (using a mock context?)");
        }