mirror of
https://github.com/vectras-team/termux-x11.git
synced 2024-11-27 00:40:23 +00:00
Fixing instantiation context
This commit is contained in:
parent
6daef202f1
commit
3fa2f1d5d9
@ -38,7 +38,7 @@ public class CmdEntryPoint extends ICmdEntryInterface.Stub {
|
|||||||
public static final int PORT = 7892;
|
public static final int PORT = 7892;
|
||||||
public static final byte[] MAGIC = "0xDEADBEEF".getBytes();
|
public static final byte[] MAGIC = "0xDEADBEEF".getBytes();
|
||||||
private static final Handler handler;
|
private static final Handler handler;
|
||||||
public static Context ctx = createContext();
|
public static Context ctx;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Command-line entry point.
|
* Command-line entry point.
|
||||||
@ -244,5 +244,6 @@ public class CmdEntryPoint extends ICmdEntryInterface.Stub {
|
|||||||
Log.e("CmdEntryPoint", "Something went wrong when preparing MainLooper", e);
|
Log.e("CmdEntryPoint", "Something went wrong when preparing MainLooper", e);
|
||||||
}
|
}
|
||||||
handler = new Handler();
|
handler = new Handler();
|
||||||
|
ctx = createContext();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user