Project

General

Profile

« Previous | Next » 

Revision 9bcec50a

Added by Leszek Koltunski over 3 years ago

Report to Crashlytics if we fail to restore preferencees.

View differences:

src/main/java/org/distorted/objects/TwistyObject.java
444 444

  
445 445
      if( index<0 )
446 446
        {
447
        String debug = mList.name();
448

  
447 449
        for(int j=0; j<NUM_CUBITS; j++)
448 450
          {
451
          debug += (CUBITS[i].returnPreferences(preferences)+" ");
449 452
          CUBITS[j].modifyCurrentPosition(QUATS[0]);
450 453
          mMesh.setEffectAssociation(j, CUBITS[j].computeAssociation(),0);
451 454
          }
455

  
456
        FirebaseCrashlytics crashlytics = FirebaseCrashlytics.getInstance();
457
        crashlytics.log("failed to restore preferences: "+debug);
458

  
452 459
        break;
453 460
        }
454 461

  

Also available in: Unified diff