the cutting room mirror

Bubble Bash 3 (Android)

If Bubble Bash 2 needed yet another a sequel, this is it.

Java Source Patch#

The root of the app has a sms directory with a file called SMSModelJava.java.patch, from most likely an internal Subversion repository. Having no use by the game.


                                package com.gameloft.android.GloftBUB3;
                                import  com.gameloft.android.GloftBUB3.R;
                                Index: SMSModel.java
===================================================================
--- SMSModel.java   (revision 14772)
+++ SMSModel.java   (working copy)
@@ -780,11 +780,23 @@
            startResetAgeLayout();
            return;
        }
-       if(is_use_age_gate && isFullGame && DemoUnlock.getUserAge() < 0)
+       int age = DemoUnlock.getUserAge();
+       if(is_use_age_gate && isFullGame && age < 0)
        {
            setLayout(R.layout.layout_age_gate);
            return;
        }
+       else if(is_use_age_gate && isFullGame && age > 0)
+       {
+           if(!SMSUtils.getPreferenceBoolean(SMSUtils.PREFERENCES_USER_SENT_EVENT_AGE))
+           {   
+               if(age > -1)
+               {
+                   SMSUtils.setPreference(SMSUtils.PREFERENCES_USER_SENT_EVENT_AGE, true);
+                   SMSGLOT3.sendAgeEvent(age,Utils.getGenderGate());
+               }
+           }
+       }
        if(!DemoUnlock.isGetUnlockGame && !SMSUnlockGLAds.Ads && !SMS.DIGP && !SMSUtils.getPreferenceBoolean(SMSUtils.PREFERENCES_GAME_UNLOCKED))
        {
            if(useTnBPromo)