Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(356)

Unified Diff: shell/android/apk/src/org/chromium/mojo/shell/NfcReceiverActivity.java

Issue 1280613003: Allow native_viewport to create new native windows on demand on Android. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: shell/android/apk/src/org/chromium/mojo/shell/NfcReceiverActivity.java
diff --git a/shell/android/apk/src/org/chromium/mojo/shell/NfcReceiverActivity.java b/shell/android/apk/src/org/chromium/mojo/shell/NfcReceiverActivity.java
index fa2fc96263db6e80e8ee9b9e76f16e8549cc168e..09e25253ba8f714e5a7cb6a85b36e1f4db95f0ca 100644
--- a/shell/android/apk/src/org/chromium/mojo/shell/NfcReceiverActivity.java
+++ b/shell/android/apk/src/org/chromium/mojo/shell/NfcReceiverActivity.java
@@ -51,9 +51,6 @@ public class NfcReceiverActivity extends Activity implements ShellService.IShell
public void onShellBound(ShellService shellService) {
mShellService = shellService;
finish();
- Intent intent = new Intent(this, MojoShellActivity.class);
- intent.setFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP);
- startActivity(intent);
while (!mPendingIntents.isEmpty()) {
Intent pendingIntent = mPendingIntents.remove();
sendNfcMessages(pendingIntent);

Powered by Google App Engine
This is Rietveld 408576698