skin: delete unnecessary field
authorgiwoong.kim <giwoong.kim@samsung.com>
Thu, 24 Jan 2013 08:59:36 +0000 (17:59 +0900)
committergiwoong.kim <giwoong.kim@samsung.com>
Thu, 24 Jan 2013 08:59:36 +0000 (17:59 +0900)
delete unnecessary field

Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
tizen/src/skin/client/src/org/tizen/emulator/skin/EmulatorShmSkin.java

index c2ee193..38a0d24 100644 (file)
@@ -75,7 +75,7 @@ public class EmulatorShmSkin extends EmulatorSkin {
                private volatile boolean stopRequest;
                private Runnable runnable;
 
-               public PollFBThread(EmulatorFingers finger, int lcdWidth, int lcdHeight) {
+               public PollFBThread(int lcdWidth, int lcdHeight) {
                        this.display = Display.getDefault();
                        this.lcdWidth = lcdWidth;
                        this.lcdHeight = lcdHeight;
@@ -117,7 +117,7 @@ public class EmulatorShmSkin extends EmulatorSkin {
                                framebuffer = new Image(display, imageData);
                                temp.dispose();
 
-                               if(display.isDisposed() == false) {
+                               if (display.isDisposed() == false) {
                                        /* redraw canvas */
                                        display.asyncExec(runnable);
                                }
@@ -163,7 +163,7 @@ public class EmulatorShmSkin extends EmulatorSkin {
                logger.info("shmget native function returned " + result);
 
                /* update lcd thread */
-               pollThread = new PollFBThread(finger,
+               pollThread = new PollFBThread(
                                currentState.getCurrentResolutionWidth(),
                                currentState.getCurrentResolutionHeight());