MCPcopy Create free account
hub / github.com/Card-Forge/forge / resume

Method resume

forge-gui-mobile/src/forge/Forge.java:1031–1045  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1029 }
1030
1031 @Override
1032 public void resume() {
1033 try {
1034 Texture.setAssetManager(getAssets().manager());
1035 needsUpdate = true;
1036 } catch (Exception e) {
1037 //the application context must have been recreated from its last state.
1038 //it could be triggered by the low memory on heap on android.
1039 needsUpdate = false;
1040 e.printStackTrace();
1041 }
1042 if (MatchController.getHostedMatch() != null) {
1043 MatchController.getHostedMatch().resume();
1044 }
1045 }
1046
1047 @Override
1048 public void dispose() {

Callers

nothing calls this directly

Calls 4

getAssetsMethod · 0.95
getHostedMatchMethod · 0.95
managerMethod · 0.80
resumeMethod · 0.65

Tested by

no test coverage detected