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

Unified Diff: shell/android/apk/src/org/chromium/mojo/shell/SharingActivity.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/SharingActivity.java
diff --git a/shell/android/apk/src/org/chromium/mojo/shell/SharingActivity.java b/shell/android/apk/src/org/chromium/mojo/shell/SharingActivity.java
index f7b03253dfbbc09a3a64cdc7a284951c7eddcc99..5b06eac75a0cf6bcc333c38ee942c5b452b03a4e 100644
--- a/shell/android/apk/src/org/chromium/mojo/shell/SharingActivity.java
+++ b/shell/android/apk/src/org/chromium/mojo/shell/SharingActivity.java
@@ -49,9 +49,6 @@ public final class SharingActivity extends Activity implements ShellService.IShe
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();
shareFromIntent(pendingIntent);

Powered by Google App Engine
This is Rietveld 408576698