mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-08-03 14:49:29 +00:00
Ln.java + DEVELOP.md
This commit is contained in:
parent
7fa3f7a360
commit
03db5707d7
2 changed files with 3 additions and 2 deletions
|
@ -20,12 +20,11 @@ The client captures relevant keyboard and mouse events, that it transmits to the
|
||||||
server, which injects them to the device.
|
server, which injects them to the device.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Server
|
## Server
|
||||||
|
|
||||||
|
|
||||||
### Privileges
|
### Privileges
|
||||||
|
|
||||||
|
|
||||||
Capturing the screen requires some privileges, which are granted to `shell`.
|
Capturing the screen requires some privileges, which are granted to `shell`.
|
||||||
|
|
||||||
The server is a Java application (with a [`public static void main(String...
|
The server is a Java application (with a [`public static void main(String...
|
||||||
|
|
|
@ -36,6 +36,8 @@ public final class Ln {
|
||||||
return level.ordinal() >= threshold.ordinal();
|
return level.ordinal() >= threshold.ordinal();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// "v", "d", "i" (functions?) -> to a (public static void) "log_msg" ?
|
||||||
|
|
||||||
public static void v(String message) {
|
public static void v(String message) {
|
||||||
if (isEnabled(Level.VERBOSE)) {
|
if (isEnabled(Level.VERBOSE)) {
|
||||||
Log.v(TAG, message);
|
Log.v(TAG, message);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue