From 9cc51287e2c3d2739b9484a0c7d30cc50bf18dce Mon Sep 17 00:00:00 2001 From: Albert Vaca Date: Mon, 7 Sep 2015 00:08:41 -0700 Subject: [PATCH] MainActivity -> MaterialActivity --- src/org/kde/kdeconnect/Plugins/PingPlugin/PingPlugin.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/org/kde/kdeconnect/Plugins/PingPlugin/PingPlugin.java b/src/org/kde/kdeconnect/Plugins/PingPlugin/PingPlugin.java index 3bce662c..694d3d98 100644 --- a/src/org/kde/kdeconnect/Plugins/PingPlugin/PingPlugin.java +++ b/src/org/kde/kdeconnect/Plugins/PingPlugin/PingPlugin.java @@ -30,6 +30,7 @@ import android.support.v4.app.NotificationCompat; import android.support.v4.app.TaskStackBuilder; import org.kde.kdeconnect.NetworkPackage; +import org.kde.kdeconnect.NewUserInterface.MaterialActivity; import org.kde.kdeconnect.Plugins.Plugin; import org.kde.kdeconnect.UserInterface.MainActivity; import org.kde.kdeconnect_tp.R; @@ -55,8 +56,8 @@ public class PingPlugin extends Plugin { //Log.e("PingPackageReceiver", "was a ping!"); TaskStackBuilder stackBuilder = TaskStackBuilder.create(context); - stackBuilder.addParentStack(MainActivity.class); - stackBuilder.addNextIntent(new Intent(context, MainActivity.class)); + stackBuilder.addParentStack(MaterialActivity.class); + stackBuilder.addNextIntent(new Intent(context, MaterialActivity.class)); PendingIntent resultPendingIntent = stackBuilder.getPendingIntent( 0, PendingIntent.FLAG_UPDATE_CURRENT