Skip to content

Commit

Permalink
update game from upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
uberspot committed Mar 24, 2014
1 parent 31159d4 commit 1d0852c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Binary file modified 2048.apk
Binary file not shown.
4 changes: 2 additions & 2 deletions AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.uberspot.a2048"
android:versionCode="4"
android:versionName="1.3" >
android:versionCode="6"
android:versionName="1.5" >

<uses-sdk
android:minSdkVersion="10"
Expand Down
2 changes: 1 addition & 1 deletion src/com/uberspot/a2048/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public void onBackPressed() {
long currentTime = System.currentTimeMillis();
Toast pressBackToast = Toast.makeText(getApplicationContext(),
R.string.press_back_again_to_exit, Toast.LENGTH_SHORT);
if (currentTime - mLastPress > mBackPressThreshold) {
if (Math.abs(currentTime - mLastPress) > mBackPressThreshold) {
pressBackToast.show();
mLastPress = currentTime;
} else {
Expand Down

0 comments on commit 1d0852c

Please sign in to comment.