()
| 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() { |
nothing calls this directly
no test coverage detected