Project

General

Profile

« Previous | Next » 

Revision c020555e

Added by Leszek Koltunski almost 2 years ago

Do not crash when something's wrong with the JSON file - handle this gracefully, do not change the object then, and report this to Firebase.

View differences:

src/main/java/org/distorted/config/ConfigObjectLibInterface.java
39 39
  public void onReplaceModeUp() { }
40 40
  public void onFinishRotation(int axis, int row, int angle) { }
41 41
  public void failedToDrag() { }
42
  public void reportJSONError(String error, int ordinal) { }
42 43

  
43 44
///////////////////////////////////////////////////////////////////////////////////////////////////
44 45

  

Also available in: Unified diff