diff options
Diffstat (limited to 'org.fox.ttrss')
-rw-r--r-- | org.fox.ttrss/src/main/AndroidManifest.xml | 4 | ||||
-rw-r--r-- | org.fox.ttrss/src/main/java/org/fox/ttrss/CommonActivity.java | 11 |
2 files changed, 13 insertions, 2 deletions
diff --git a/org.fox.ttrss/src/main/AndroidManifest.xml b/org.fox.ttrss/src/main/AndroidManifest.xml index a0de789e..d3a471bc 100644 --- a/org.fox.ttrss/src/main/AndroidManifest.xml +++ b/org.fox.ttrss/src/main/AndroidManifest.xml @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="org.fox.ttrss" - android:versionCode="284" - android:versionName="1.76" > + android:versionCode="285" + android:versionName="1.77" > <uses-sdk android:minSdkVersion="10" diff --git a/org.fox.ttrss/src/main/java/org/fox/ttrss/CommonActivity.java b/org.fox.ttrss/src/main/java/org/fox/ttrss/CommonActivity.java index 81907743..ccb94ef5 100644 --- a/org.fox.ttrss/src/main/java/org/fox/ttrss/CommonActivity.java +++ b/org.fox.ttrss/src/main/java/org/fox/ttrss/CommonActivity.java @@ -11,6 +11,7 @@ import android.support.v7.app.ActionBarActivity; import android.util.Log; import android.util.TypedValue; import android.view.Display; +import android.view.KeyEvent; import android.view.WindowManager; import android.widget.Toast; @@ -64,6 +65,16 @@ public class CommonActivity extends ActionBarActivity { return m_prefs.getBoolean("show_unread_only", true); } + // fuck you LG FUCK YOU + @Override + public boolean onKeyDown(int keyCode, KeyEvent event) { + if (keyCode == KeyEvent.KEYCODE_MENU){ + openOptionsMenu(); + return true; + } + return super.onKeyDown(keyCode, event); + } + public void setUnreadOnly(boolean unread) { SharedPreferences.Editor editor = m_prefs.edit(); editor.putBoolean("show_unread_only", unread); |