mirror of
https://github.com/rfc2822/GfxTablet
synced 2025-10-03 17:49:17 +02:00
disabled back button
This commit is contained in:
parent
721f69e176
commit
08d0a19d2d
2 changed files with 5 additions and 0 deletions
|
@ -81,6 +81,10 @@ public class CanvasActivity extends Activity implements OnSharedPreferenceChange
|
||||||
sd.invalidateSelf();
|
sd.invalidateSelf();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onBackPressed() {
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onDestroy() {
|
protected void onDestroy() {
|
||||||
netClient.getQueue().add(new NetEvent(NetEvent.Type.TYPE_DISCONNECT));
|
netClient.getQueue().add(new NetEvent(NetEvent.Type.TYPE_DISCONNECT));
|
||||||
|
|
|
@ -6,6 +6,7 @@ import java.net.InetAddress;
|
||||||
import java.net.UnknownHostException;
|
import java.net.UnknownHostException;
|
||||||
import java.util.concurrent.LinkedBlockingQueue;
|
import java.util.concurrent.LinkedBlockingQueue;
|
||||||
|
|
||||||
|
import android.bluetooth.BluetoothSocket;
|
||||||
import android.content.SharedPreferences;
|
import android.content.SharedPreferences;
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
import at.bitfire.gfxtablet.NetEvent.Type;
|
import at.bitfire.gfxtablet.NetEvent.Type;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue