mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-04-20 03:25:03 +00:00
Remove useless assignment
The local variable virtualDisplayId was already initialized to the exact same value.
This commit is contained in:
parent
c905fbba8d
commit
1270997f6b
1 changed files with 0 additions and 1 deletions
|
@ -107,7 +107,6 @@ public class NewDisplayCapture extends SurfaceCapture {
|
|||
}
|
||||
|
||||
if (vdListener != null) {
|
||||
virtualDisplayId = virtualDisplay.getDisplay().getDisplayId();
|
||||
Rect contentRect = new Rect(0, 0, size.getWidth(), size.getHeight());
|
||||
PositionMapper positionMapper = new PositionMapper(size, contentRect, 0);
|
||||
vdListener.onNewVirtualDisplay(virtualDisplayId, positionMapper);
|
||||
|
|
Loading…
Add table
Reference in a new issue