mirror of
https://github.com/shagr4th/droid48
synced 2025-02-06 08:45:59 +01:00
Temporary change
This commit is contained in:
parent
906a758cee
commit
4365c9b74b
2 changed files with 5 additions and 3 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="51" android:versionName="1.51">
|
||||
package="org.ab.x48" android:installLocation="auto" android:versionCode="52" android:versionName="1.52">
|
||||
<application android:icon="@drawable/icon" android:label="@string/app_name">
|
||||
<activity android:name=".X48"
|
||||
android:label="@string/app_name"
|
||||
|
|
|
@ -111,7 +111,7 @@ public class HPView extends SurfaceView implements SurfaceHolder.Callback, Runna
|
|||
ann = new boolean [6];
|
||||
buf = new short [(14+128)*262];
|
||||
audiobuf = new short [44100]; // 1s worth
|
||||
track = new AudioTrack(AudioManager.STREAM_MUSIC, 44100, AudioFormat.CHANNEL_CONFIGURATION_MONO, AudioFormat.ENCODING_PCM_16BIT, 16384, AudioTrack.MODE_STREAM);
|
||||
track = new AudioTrack(AudioManager.STREAM_MUSIC, 44100, AudioFormat.CHANNEL_OUT_MONO, AudioFormat.ENCODING_PCM_16BIT, 16384, AudioTrack.MODE_STREAM);
|
||||
annImages = new Bitmap [6];
|
||||
updateContrast();
|
||||
matrixScreen = new Matrix();
|
||||
|
@ -918,7 +918,9 @@ public class HPView extends SurfaceView implements SurfaceHolder.Callback, Runna
|
|||
|
||||
|
||||
if (systemOptionDisplayed) {
|
||||
c.drawText(x48.getString(R.string.show_menu), systemOptions_x, systemOptions_y, systemOptionsPaint);
|
||||
// context.getString(R.string.show_menu) returns null on certains devices
|
||||
// probably some resources are not yet loaded at this stage? for the time being... :
|
||||
c.drawText("Touch the screen to show system options", systemOptions_x, systemOptions_y, systemOptionsPaint);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue