Loading core/java/android/nfc/NfcActivityManager.java +4 −0 Original line number Diff line number Diff line Loading @@ -114,6 +114,10 @@ public final class NfcActivityManager extends INdefPushCallback.Stub if (activity.getWindow().isDestroyed()) { throw new IllegalStateException("activity is already destroyed"); } // Check if activity is resumed right now, as we will not // immediately get a callback for that. resumed = activity.isResumed(); this.activity = activity; registerApplication(activity.getApplication()); } Loading Loading
core/java/android/nfc/NfcActivityManager.java +4 −0 Original line number Diff line number Diff line Loading @@ -114,6 +114,10 @@ public final class NfcActivityManager extends INdefPushCallback.Stub if (activity.getWindow().isDestroyed()) { throw new IllegalStateException("activity is already destroyed"); } // Check if activity is resumed right now, as we will not // immediately get a callback for that. resumed = activity.isResumed(); this.activity = activity; registerApplication(activity.getApplication()); } Loading