remove LG hardware button problem fix because it breaks HW button menus on appcompat now
This commit is contained in:
parent
913a3e8a83
commit
b4e8f0d752
@ -10,7 +10,6 @@ import android.preference.PreferenceManager;
|
||||
import android.support.v7.app.ActionBarActivity;
|
||||
import android.util.Log;
|
||||
import android.view.Display;
|
||||
import android.view.KeyEvent;
|
||||
import android.widget.Toast;
|
||||
|
||||
import org.fox.ttrss.util.DatabaseHelper;
|
||||
@ -62,16 +61,6 @@ 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);
|
||||
}
|
||||
|
||||
// not the same as isSmallScreen() which is mostly about layout being loaded
|
||||
public boolean isTablet() {
|
||||
return getResources().getConfiguration().smallestScreenWidthDp >= 600;
|
||||
|
Loading…
Reference in New Issue
Block a user