Initial Refactor of WelcomeActivity, Set up Basic Splash Elements

This commit is contained in:
d8ahazard
2016-09-24 11:54:12 -05:00
parent 3c3bb70b01
commit 8df6af62d7
8 changed files with 99 additions and 35 deletions
@@ -15,8 +15,8 @@ import android.support.v4.app.NotificationCompat;
import android.util.Log;
import android.view.accessibility.AccessibilityEvent;
import com.topjohnwu.magisk.MainActivity;
import com.topjohnwu.magisk.R;
import com.topjohnwu.magisk.WelcomeActivity;
import com.topjohnwu.magisk.utils.Logger;
import com.topjohnwu.magisk.utils.PrefHelper;
import com.topjohnwu.magisk.utils.Utils;
@@ -112,7 +112,7 @@ public class MonitorService extends AccessibilityService {
if (!PrefHelper.CheckBool("hide_root_notification", getApplicationContext())) {
if (rootAction) {
Intent intent = new Intent(getApplication(), WelcomeActivity.class);
Intent intent = new Intent(getApplication(), MainActivity.class);
intent.putExtra("relaunch", "relaunch");
String rootMessage;
PendingIntent pendingIntent = PendingIntent.getActivity(