summaryrefslogtreecommitdiffstats
path: root/src/net/hoopajoo
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/hoopajoo')
-rw-r--r--src/net/hoopajoo/android/SoftKeys/Globals.java7
1 files changed, 6 insertions, 1 deletions
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);