Skip to content

Commit

Permalink
fix(android): amend load app info order (#11337)
Browse files Browse the repository at this point in the history
Fixes TIMOB-27606
  • Loading branch information
garymathews authored and sgtcoolguy committed Nov 15, 2019
1 parent c4a8990 commit 38ea44b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions android/templates/build/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,14 @@ public final class <%= classname %>Application extends TiApplication
@Override
public void onCreate()
{
appInfo = new <%= classname %>AppInfo(this);
<% if (encryptJS) { %>
KrollAssetHelper.setAssetCrypt(new AssetCryptImpl());
<% } %>

// Load cache as soon as possible.
KrollAssetCache.init(this);

super.onCreate();

appInfo = new <%= classname %>AppInfo(this);
postAppInfo();

V8Runtime runtime = new V8Runtime();
Expand Down

0 comments on commit 38ea44b

Please sign in to comment.