mirror of
https://github.com/shagr4th/droid48
synced 2024-12-26 21:58:12 +01:00
Last minute fix
This commit is contained in:
parent
2f588d49bd
commit
906a758cee
2 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="org.ab.x48" android:installLocation="auto" android:versionCode="50" android:versionName="1.50">
|
||||
package="org.ab.x48" android:installLocation="auto" android:versionCode="51" android:versionName="1.51">
|
||||
<application android:icon="@drawable/icon" android:label="@string/app_name">
|
||||
<activity android:name=".X48"
|
||||
android:label="@string/app_name"
|
||||
|
|
|
@ -918,7 +918,7 @@ public class HPView extends SurfaceView implements SurfaceHolder.Callback, Runna
|
|||
|
||||
|
||||
if (systemOptionDisplayed) {
|
||||
c.drawText(getContext().getString(R.string.show_menu), systemOptions_x, systemOptions_y, systemOptionsPaint);
|
||||
c.drawText(x48.getString(R.string.show_menu), systemOptions_x, systemOptions_y, systemOptionsPaint);
|
||||
}
|
||||
|
||||
|
||||
|
@ -974,7 +974,7 @@ public class HPView extends SurfaceView implements SurfaceHolder.Callback, Runna
|
|||
}
|
||||
}
|
||||
if (code == -1 && actionCode == MotionEvent.ACTION_DOWN ) {
|
||||
((X48) getContext()).openOptionsMenu();
|
||||
x48.openOptionsMenu();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -998,7 +998,7 @@ public class HPView extends SurfaceView implements SurfaceHolder.Callback, Runna
|
|||
}
|
||||
}
|
||||
if (code == -1 && action == MotionEvent.ACTION_DOWN && currentOrientation != Configuration.ORIENTATION_LANDSCAPE ) {
|
||||
((X48) getContext()).openOptionsMenu();
|
||||
x48.openOptionsMenu();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue