File tree Expand file tree Collapse file tree
librootjava_example/src/main/java/eu/chainfire/librootjava_example
librootjava/src/main/java/eu/chainfire/librootjava Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -266,8 +266,8 @@ public static void restoreOriginalLdLibraryPath() {
266266 * Due to preparing the main looper, this throws off libsuperuser if you use it for shell
267267 * commands on the main thread. If you use this call, you will probably need to call
268268 * Debug.setSanityChecksEnabled(false) to get any shell calls executed, and create a
269- * separate HandlerThread (and Handler), and use both Shell.Builder:: setAutoHandler(false)
270- * and Shell.Builder:: setHandler(^^^^) for Shell.Interactive to behave as expected.
269+ * separate HandlerThread (and Handler), and use both Shell.Builder. setAutoHandler(false)
270+ * and Shell.Builder. setHandler(^^^^) for Shell.Interactive to behave as expected.
271271 *
272272 * @return System context
273273 */
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ you can use the isDisconnectScheduled() call as a trigger to abort.
116116
117117 If you're done with the IPC interface at the end of this method, call disconnect().
118118 You shouldn't store the interface itself, but if you don't disconnect() you can call
119- RootIPCReceiver:: getIPC() later.
119+ RootIPCReceiver. getIPC() later.
120120 */
121121 Logger .dp ("IPC" , "onConnect" );
122122 try {
@@ -279,7 +279,7 @@ public void onLine(String line) {
279279 If this method was not running on the main thread, and you wanted to use the IPC class
280280 serially rather than using the onConnect callback, you could do it like this:
281281
282- IPC ipc = ipcReceiver.getIPC(30 * 1000);
282+ IIPC ipc = ipcReceiver.getIPC(30 * 1000);
283283 if (ipc != null) {
284284 int remotePid = ipc.getPid();
285285 // ...
You can’t perform that action at this time.
0 commit comments