From 3c90e65ddb20cf1835779ac116bd3d9dc568931b Mon Sep 17 00:00:00 2001 From: Steve Slaven Date: Tue, 11 Jan 2011 13:14:52 -0800 Subject: Bypass first run flag if we've shown the whats new dialog already so we come up full on boot diff --git a/src/net/hoopajoo/android/SoftKeys/Keys.java b/src/net/hoopajoo/android/SoftKeys/Keys.java index 8960940..b16c741 100644 --- a/src/net/hoopajoo/android/SoftKeys/Keys.java +++ b/src/net/hoopajoo/android/SoftKeys/Keys.java @@ -383,6 +383,9 @@ public class Keys extends Activity implements OnClickListener, OnLongClickListen SharedPreferences.Editor e = settings.edit(); e.putInt( "last_intro_level", force_level ); e.commit(); + }else{ + // bypass first run logic, so at power-on we just go home + app.firstRun = false; } // simulate wake @@ -431,6 +434,7 @@ public class Keys extends Activity implements OnClickListener, OnLongClickListen } } + // check for key actions from notifications if( true ) { String action = i.getAction(); int keyid = 0; -- cgit v0.10.2