mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-04-21 03:55:05 +00:00
Normalized flags into bit shifts (easier to read and guess next number)
This commit is contained in:
parent
c1e3b4d50b
commit
538320add9
1 changed files with 3 additions and 3 deletions
|
@ -34,9 +34,9 @@ public final class CleanUp {
|
|||
}
|
||||
};
|
||||
|
||||
private static final int FLAG_DISABLE_SHOW_TOUCHES = 1;
|
||||
private static final int FLAG_RESTORE_NORMAL_POWER_MODE = 2;
|
||||
private static final int FLAG_POWER_OFF_SCREEN = 4;
|
||||
private static final int FLAG_DISABLE_SHOW_TOUCHES = 1 << 0;
|
||||
private static final int FLAG_RESTORE_NORMAL_POWER_MODE = 1 << 1;
|
||||
private static final int FLAG_POWER_OFF_SCREEN = 1 << 2;
|
||||
|
||||
private int displayId;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue