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

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

Issue 1173153002: Fix Sky not to crash when clicking the Home button. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 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 | « no previous file | no next file » | 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 47480222d631d8d1010aa41565d32158ee3ef8fc..1ad89a292619eac74a2dc2755ebe033b2d8fa2ca 100644
--- a/sky/shell/android/org/domokit/sky/shell/SkyActivity.java
+++ b/sky/shell/android/org/domokit/sky/shell/SkyActivity.java
@@ -39,13 +39,13 @@ public class SkyActivity extends Activity {
}
/**
- * @see android.app.Activity#onStop()
+ * @see android.app.Activity#onDestroy()
*/
@Override
- protected void onStop() {
+ protected void onDestroy() {
// Do we need to shut down Sky too?
mTracingController.stop();
- super.onStop();
+ super.onDestroy();
}
public void loadUrl(String url) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698