summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSteve Slaven <bpk@hoopajoo.net>2011-01-11 21:14:52 (GMT)
committerSteve Slaven <bpk@hoopajoo.net>2011-01-11 21:14:52 (GMT)
commit3c90e65ddb20cf1835779ac116bd3d9dc568931b (patch)
tree9e2eab4619fea03c20e75506d5849cbd70b6b8d5 /src
parent1b5472cc453df8c88b564582136b66d50186a970 (diff)
downloadSoftKeys-3c90e65ddb20cf1835779ac116bd3d9dc568931b.zip
SoftKeys-3c90e65ddb20cf1835779ac116bd3d9dc568931b.tar.gz
SoftKeys-3c90e65ddb20cf1835779ac116bd3d9dc568931b.tar.bz2
Bypass first run flag if we've shown the whats new dialog already so we
come up full on boot
Diffstat (limited to 'src')
-rw-r--r--src/net/hoopajoo/android/SoftKeys/Keys.java4
1 files changed, 4 insertions, 0 deletions
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;