From: sungmin ha Date: Mon, 9 Jul 2012 02:58:32 +0000 (+0900) Subject: [Title]modified battery charge bug X-Git-Tag: 2.2.1_release^2~85 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c311119e4914aa3f5736fccd2c99b2faf1875732;p=sdk%2Femulator%2Feventinjector-eplugin.git [Title]modified battery charge bug [Type]Bugfix [Module]eventinjector [Priority]Major [Jira#] // Jira Issue Number [Redmine#] // Redmine Isuue Number [Problem] // Problem Description [Cause] // Cause Description [Solution] // Solution Description [TestCase] // Executed the test-target (How to) --- diff --git a/org.tizen.device/src/org/tizen/device/battery/page/BatteryPage.java b/org.tizen.device/src/org/tizen/device/battery/page/BatteryPage.java index 447e530..e1fd182 100644 --- a/org.tizen.device/src/org/tizen/device/battery/page/BatteryPage.java +++ b/org.tizen.device/src/org/tizen/device/battery/page/BatteryPage.java @@ -116,6 +116,7 @@ public class BatteryPage extends AbstractInjectorPage implements ISelectionListe public void mouseUp(MouseEvent e) { // TODO Auto-generated method stub sendMessage(1, sendData); + sendMessage(2, sensorOn); } }); @@ -182,6 +183,8 @@ public class BatteryPage extends AbstractInjectorPage implements ISelectionListe { if(radioButton[i].getSelection()) { if( i == 0 ) { // On + if(preSensorOn == 1) + return; sensorOn = 1; } else { // Off @@ -216,8 +219,6 @@ public class BatteryPage extends AbstractInjectorPage implements ISelectionListe public void sendMessage(int id, int data) { if(id == 1 && preSendData == sendData) return; - else if(id == 2 && sensorOn == preSensorOn) - return; TestSensorMessage msg = new TestSensorMessage(id, data); try { diff --git a/package/pkginfo.manifest b/package/pkginfo.manifest index f9b362b..5e92e81 100644 --- a/package/pkginfo.manifest +++ b/package/pkginfo.manifest @@ -1,5 +1,5 @@ Package:eventinjector-eplugin -Version:0.2.35 +Version:0.2.36 OS:linux Build-host-os:linux Maintainer:yeongkyoon Lee , sungmin Ha @@ -9,7 +9,7 @@ Install-dependency:common-eplugin[linux], base-ide-product[linux] Source:eventinjector-eplugin Package:eventinjector-eplugin -Version:0.2.35 +Version:0.2.36 OS:windows Build-host-os:linux Maintainer:yeongkyoon Lee , sungmin Ha