From dca95469c23583f8dc824859480cb21eb8fc9e8e Mon Sep 17 00:00:00 2001 From: Steve Slaven Date: Thu, 6 Jan 2011 09:14:08 -0800 Subject: Default longpress launcher is softkeys interface diff --git a/src/net/hoopajoo/android/SoftKeys/Globals.java b/src/net/hoopajoo/android/SoftKeys/Globals.java index dc8d356..0a5de40 100644 --- a/src/net/hoopajoo/android/SoftKeys/Globals.java +++ b/src/net/hoopajoo/android/SoftKeys/Globals.java @@ -173,7 +173,12 @@ public class Globals extends Application { Intent ni = new Intent( Intent.ACTION_MAIN ); String launcher = settings.getString( longClick ? "launcher2" : "launcher" , null ); if( launcher == null ) { - launcher = getDefaultLauncher(); + if( longClick ) { + // default longpress home is softkeys + launcher = "net.hoopajoo.android.SoftKeys"; + }else{ + launcher = getDefaultLauncher(); + } } ni.setPackage( launcher ); ni.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); -- cgit v0.10.2