| 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 00ffff3245f1a24994a4576154d8cd60dec3bf6c..84a08af0672fb1ef10e6b597abd4cde2d1d1d246 100644
|
| --- a/sky/shell/android/org/domokit/sky/shell/SkyActivity.java
|
| +++ b/sky/shell/android/org/domokit/sky/shell/SkyActivity.java
|
| @@ -66,9 +66,16 @@ public class SkyActivity extends Activity {
|
| }
|
|
|
| private void loadSnapshotIfAvailable() {
|
| - File snapshot = new File(PathUtils.getDataDirectory(this), SkyApplication.SNAPSHOT);
|
| + File dataDir = new File(PathUtils.getDataDirectory(this));
|
| + File snapshot = new File(dataDir, SkyApplication.SNAPSHOT);
|
| if (snapshot.exists()) {
|
| mView.loadSnapshot(snapshot.getPath());
|
| + return;
|
| + }
|
| + File appBundle = new File(dataDir, SkyApplication.APP_BUNDLE);
|
| + if (appBundle.exists()) {
|
| + mView.loadBundle(appBundle.getPath());
|
| + return;
|
| }
|
| }
|
|
|
|
|