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

Unified Diff: sky/shell/android/org/domokit/sky/shell/SkyActivity.java

Issue 1213623008: Back button should be able to close apps (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fix tests Created 5 years, 5 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
« no previous file with comments | « sky/shell/BUILD.gn ('k') | sky/shell/shell_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/shell/android/org/domokit/sky/shell/SkyActivity.java
diff --git a/sky/shell/android/org/domokit/sky/shell/SkyActivity.java b/sky/shell/android/org/domokit/sky/shell/SkyActivity.java
index ef1fa1cc40709c1f490aa66e987b39717099831a..1e13dd36f5ab6a3bff95e12e952463f6806804cd 100644
--- a/sky/shell/android/org/domokit/sky/shell/SkyActivity.java
+++ b/sky/shell/android/org/domokit/sky/shell/SkyActivity.java
@@ -12,6 +12,8 @@ import android.view.WindowManager;
import org.chromium.base.PathUtils;
+import org.domokit.intents.ActivityManagerImpl;
+
import java.io.File;
/**
@@ -42,6 +44,7 @@ public class SkyActivity extends Activity {
SkyMain.ensureInitialized(getApplicationContext());
mView = new PlatformViewAndroid(this, edgeDims);
+ ActivityManagerImpl.setCurrentActivity(this);
setContentView(mView);
mTracingController = new TracingController(this);
« no previous file with comments | « sky/shell/BUILD.gn ('k') | sky/shell/shell_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698