1
0
Fork 0
mirror of https://github.com/rfc2822/GfxTablet synced 2025-10-04 01:59:16 +02:00

disabled back button

This commit is contained in:
FatihBAKIR 2015-01-18 14:39:48 +00:00
parent 721f69e176
commit 08d0a19d2d
2 changed files with 5 additions and 0 deletions

View file

@ -81,6 +81,10 @@ public class CanvasActivity extends Activity implements OnSharedPreferenceChange
sd.invalidateSelf();
}
@Override
public void onBackPressed() {
}
@Override
protected void onDestroy() {
netClient.getQueue().add(new NetEvent(NetEvent.Type.TYPE_DISCONNECT));