package com.andela.iworkout.activities;


import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;

import com.andela.iworkout.utilities.Launcher;

public class SplashActivity extends AppCompatActivity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        Launcher.launch(this, MainActivity.class);
        finish();
    }
}

@@ -35,16 +35,48 @@
 ties;%0A%0A%0A
+import android.content.Context;%0A
 import a
@@ -93,16 +93,16 @@
 Bundle;%0A
-
 import a
@@ -189,16 +189,244 @@
 auncher;
+%0Aimport com.andela.iworkout.utilities.MsgBox;%0Aimport com.andela.iworkout.notifications.PushUpNotificationBuilder;%0Aimport com.andela.iworkout.notifications.PushUpNotificationManager;%0Aimport com.andela.iworkout.utilities.Settings;
 %0A%0Apublic
@@ -591,16 +591,58 @@
 tate);%0A%0A
+        managePushUpNotifications(this);%0A%0A
         
@@ -684,16 +684,16 @@
 class);%0A
-
         
@@ -707,11 +707,483 @@
 );%0A    %7D
+%0A%0A    private void managePushUpNotifications(Context context) %7B%0A        PushUpNotificationManager notificationManager = new PushUpNotificationManager(context);%0A        notificationManager.cancelPushUpNotifications();%0A%0A        if (Settings.getNotificationMode(context)) %7B%0A            notificationManager.setPushUpNotifications(%0A                    PushUpNotificationBuilder.getNotification(context));%0A            MsgBox.show(context, %22Pushup been created%22);%0A        %7D%0A    %7D
 %0A%7D%0A

Refactor SplashActivity class