Commit 9cce0833 authored by Jason Simmons's avatar Jason Simmons

Merge pull request #2851 from jason-simmons/gradle_update_0323

Update SkyApplication to SkyMain in the hello_android example
parents 14440b14 502fbeec
...@@ -8,7 +8,6 @@ import android.app.Activity; ...@@ -8,7 +8,6 @@ import android.app.Activity;
import android.os.Bundle; import android.os.Bundle;
import org.chromium.base.PathUtils; import org.chromium.base.PathUtils;
import org.domokit.sky.shell.SkyApplication;
import org.domokit.sky.shell.SkyMain; import org.domokit.sky.shell.SkyMain;
import org.domokit.sky.shell.PlatformViewAndroid; import org.domokit.sky.shell.PlatformViewAndroid;
...@@ -25,7 +24,7 @@ public class FlutterActivity extends Activity { ...@@ -25,7 +24,7 @@ public class FlutterActivity extends Activity {
setContentView(R.layout.flutter_layout); setContentView(R.layout.flutter_layout);
flutterView = (PlatformViewAndroid) findViewById(R.id.flutter_view); flutterView = (PlatformViewAndroid) findViewById(R.id.flutter_view);
File appBundle = new File(PathUtils.getDataDirectory(this), SkyApplication.APP_BUNDLE); File appBundle = new File(PathUtils.getDataDirectory(this), SkyMain.APP_BUNDLE);
flutterView.runFromBundle(appBundle.getPath(), null); flutterView.runFromBundle(appBundle.getPath(), null);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment