diff options
author | Steve Slaven <bpk@hoopajoo.net> | 2011-01-06 17:14:08 (GMT) |
---|---|---|
committer | Steve Slaven <bpk@hoopajoo.net> | 2011-01-06 17:14:08 (GMT) |
commit | dca95469c23583f8dc824859480cb21eb8fc9e8e (patch) | |
tree | 64b651476284e5ad53549dc4b7ffaf186f9f73df | |
parent | e8e63316469099678a88ce809cc9e8ff160a81e0 (diff) | |
download | SoftKeys-dca95469c23583f8dc824859480cb21eb8fc9e8e.zip SoftKeys-dca95469c23583f8dc824859480cb21eb8fc9e8e.tar.gz SoftKeys-dca95469c23583f8dc824859480cb21eb8fc9e8e.tar.bz2 |
Default longpress launcher is softkeys interface
-rw-r--r-- | src/net/hoopajoo/android/SoftKeys/Globals.java | 7 |
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); |