Skip to content

Commit 4c01a7c

Browse files
committed
Fix type and improve formatting
1 parent 89d8755 commit 4c01a7c

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

daemon/src/main/java/org/lsposed/lspd/cli/Main.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
import android.os.ParcelFileDescriptor;
1212
import android.os.RemoteException;
1313
import android.os.ServiceManager;
14+
1415
import java.io.BufferedReader;
1516
import java.io.ByteArrayOutputStream;
1617
import java.io.FileInputStream;
@@ -24,12 +25,15 @@
2425
import java.util.concurrent.Callable;
2526
import java.util.zip.GZIPInputStream;
2627
import java.util.zip.GZIPOutputStream;
28+
2729
import org.json.JSONArray;
2830
import org.json.JSONException;
2931
import org.json.JSONObject;
32+
3033
import org.lsposed.lspd.ICLIService;
3134
import org.lsposed.lspd.models.Application;
3235
import org.lsposed.lspd.service.ILSPApplicationService;
36+
3337
import picocli.CommandLine;
3438
import picocli.CommandLine.IExecutionExceptionHandler;
3539

@@ -436,7 +440,7 @@ public Integer call() throws RemoteException {
436440
}
437441
}
438442

439-
@ommandLine.Command(name = "log", description = "Streams and manages the LSPosed framework and module logs.")
443+
@CommandLine.Command(name = "log", description = "Streams and manages the LSPosed framework and module logs.")
440444
class LogCommand implements Callable<Integer> {
441445
@CommandLine.ParentCommand
442446
private Main parent;

daemon/src/main/java/org/lsposed/lspd/service/LSPosedService.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ public ILSPApplicationService requestApplicationService(int uid, int pid, String
9595
return null;
9696
}
9797

98-
// for cli
9998
if (CLIService.basicCheck(uid) && CLIService.applicationStageNameValid(pid, processName)) {
10099
Log.d(TAG, "CLI start, pid: " + pid);
101100
return ServiceManager.requestApplicationService(uid, pid, processName, heartBeat);

0 commit comments

Comments
 (0)