Project

General

Profile

« Previous | Next » 

Revision 988e3d33

Added by Leszek Koltunski about 2 months ago

Objects can support or not changing colors of their stickers.

View differences:

src/main/java/org/distorted/dialogs/RubikDialogUpdateView.java
206 206
          int category        = reader.getCategory();
207 207
          int year            = reader.getYearOfInvention();
208 208
          String author       = reader.getAuthor();
209
          boolean adjColors   = reader.getAdjustableColors();
209 210

  
210 211
          if( SHOW_DOWNLOADED_DEBUG ) android.util.Log.e("D", "Read from JSON numScrambles="+mInfo.mNumScrambles+" price="+mInfo.mPrice);
211 212

  
......
224 225
            if( SHOW_DOWNLOADED_DEBUG ) android.util.Log.e("D", "1");
225 226

  
226 227
            boolean success = RubikObjectList.addDownloadedObject(act, mInfo.mObjectShortName, mInfo.mNumScrambles, mInfo.mPrice, mInfo.mObjectMinorVersion,
227
                                                                  mInfo.mExtrasMinorVersion, mIconSaved, oSuccess, eSuccess, diff, category, year, author);
228
                                                                  mInfo.mExtrasMinorVersion, mIconSaved, oSuccess, eSuccess, diff, category, year, author,adjColors);
228 229
            if( success )
229 230
              {
230 231
              if( SHOW_DOWNLOADED_DEBUG ) android.util.Log.e("D", "2");

Also available in: Unified diff