Project

General

Profile

« Previous | Next » 

Revision a01e5cdc

Added by Leszek Koltunski almost 2 years ago

Make several objects built-in
oone fix for USE_IAP

View differences:

src/main/java/org/distorted/main/RubikActivity.java
64 64
{
65 65
    public static final boolean SHOW_DOWNLOADED_DEBUG = false;
66 66
    public static final boolean SHOW_IAP_DEBUG        = true;
67
    public static final boolean USE_IAP               = true;
67
    public static final boolean USE_IAP               = false;
68 68

  
69 69
    public static final float PADDING             = 0.01f;
70 70
    public static final float SMALL_MARGIN        = 0.004f;
......
281 281

  
282 282
      if( mIsChinese && !mPolicyAccepted ) privacyPolicy();
283 283

  
284
      if( USE_IAP && mOldVersion!=null && !mOldVersion.equals("") && oldVersionLessThan(1,11,5) && !mCurrVersion.equals("1.11.4") )
284
      if( USE_IAP )
285 285
        {
286
        explainStars();
287
        }
288
      else
289
        {
290
        view.setShowStars();
286
        if( mOldVersion!=null && !mOldVersion.equals("") && oldVersionLessThan(1,11,5) && !mCurrVersion.equals("1.11.4") )
287
          {
288
          explainStars();
289
          }
290
        else
291
          {
292
          view.setShowStars();
293
          }
291 294
        }
292 295
      }
293 296

  

Also available in: Unified diff