mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-04-22 04:25:01 +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
|
||||
|
||||
|
||||
### Privileges
|
||||
|
||||
|
||||
Capturing the screen requires some privileges, which are granted to `shell`.
|
||||
|
||||
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();
|
||||
}
|
||||
|
||||
// "v", "d", "i" (functions?) -> to a (public static void) "log_msg" ?
|
||||
|
||||
public static void v(String message) {
|
||||
if (isEnabled(Level.VERBOSE)) {
|
||||
Log.v(TAG, message);
|
||||
|
|
Loading…
Add table
Reference in a new issue