| 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 84a08af0672fb1ef10e6b597abd4cde2d1d1d246..0724ebf9a1d4efcfafaafdb4538ff2ce4af1f106 100644
|
| --- a/sky/shell/android/org/domokit/sky/shell/SkyActivity.java
|
| +++ b/sky/shell/android/org/domokit/sky/shell/SkyActivity.java
|
| @@ -41,7 +41,7 @@ public class SkyActivity extends Activity {
|
| setContentView(mView);
|
| mTracingController = new TracingController(this);
|
|
|
| - loadSnapshotIfAvailable();
|
| + onSkyReady();
|
| }
|
|
|
| /**
|
| @@ -65,7 +65,10 @@ public class SkyActivity extends Activity {
|
| super.onBackPressed();
|
| }
|
|
|
| - private void loadSnapshotIfAvailable() {
|
| + /**
|
| + * Override this function to customize startup behavior.
|
| + */
|
| + protected void onSkyReady() {
|
| File dataDir = new File(PathUtils.getDataDirectory(this));
|
| File snapshot = new File(dataDir, SkyApplication.SNAPSHOT);
|
| if (snapshot.exists()) {
|
|
|