Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / xwalk / runtime / android / runtime / src / org / xwalk / runtime / XWalkRuntimeView.java
index be1feb5..c20d7da 100644 (file)
@@ -99,6 +99,14 @@ public class XWalkRuntimeView extends FrameLayout {
     }
 
     /**
+     * Tell runtime that the application is on starting. This can make runtime
+     * be aware of application life cycle.
+     */
+    public void onStart() {
+        mProvider.onStart();
+    }
+
+    /**
      * Tell runtime that the application is on resuming. This can make runtime
      * be aware of application life cycle.
      */
@@ -115,6 +123,14 @@ public class XWalkRuntimeView extends FrameLayout {
     }
 
     /**
+     * Tell runtime that the application is on stoping. This can make runtime
+     * be aware of application life cycle.
+     */
+    public void onStop() {
+        mProvider.onStop();
+    }
+
+    /**
      * Tell runtime that the application is on destroying. This can make runtime
      * be aware of application life cycle.
      */