mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-08-01 13:48:58 +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) {
|
if (vdListener != null) {
|
||||||
virtualDisplayId = virtualDisplay.getDisplay().getDisplayId();
|
|
||||||
Rect contentRect = new Rect(0, 0, size.getWidth(), size.getHeight());
|
Rect contentRect = new Rect(0, 0, size.getWidth(), size.getHeight());
|
||||||
PositionMapper positionMapper = new PositionMapper(size, contentRect, 0);
|
PositionMapper positionMapper = new PositionMapper(size, contentRect, 0);
|
||||||
vdListener.onNewVirtualDisplay(virtualDisplayId, positionMapper);
|
vdListener.onNewVirtualDisplay(virtualDisplayId, positionMapper);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue