[Title]bug fixed for default charger value
authorsungmin ha <sungmin82.ha@samsung.com>
Mon, 27 Aug 2012 12:39:56 +0000 (21:39 +0900)
committersungmin ha <sungmin82.ha@samsung.com>
Mon, 27 Aug 2012 12:39:56 +0000 (21:39 +0900)
[Type]Bugfix
[Module]eventinjector-eplugin
[Priority]Critical
[Jira#]N_SE-7635
[Redmine#]  // Redmine Isuue Number
[Problem]  // Problem Description
[Cause]  // Cause Description
[Solution] // Solution Description
[TestCase]  // Executed the test-target (How to)

org.tizen.device/src/org/tizen/device/battery/page/BatteryPage.java
package/pkginfo.manifest

index 29c5836..0a3fb7a 100644 (file)
@@ -58,7 +58,7 @@ public class BatteryPage extends AbstractInjectorPage implements ISelectionListe
        private final String batteryCharger = "Charger : ";
        private int sendData = 50, preSendData = -1;
        private Button radioButton[];
-       private int sensorOn, preSensorOn = -1;
+       private int sensorOn = 0, preSensorOn = -1;
        private IDevice currentDevice;
        
        public BatteryPage(AbstractInjectorItem item, String name) {
@@ -276,7 +276,8 @@ public class BatteryPage extends AbstractInjectorPage implements ISelectionListe
                                }
                        }
                }
-               sendMessage(1, sendData);
-               sendMessage(2, sensorOn);
+               // set default values
+               sendMessage(1, 50);
+               sendMessage(2, 0);
        }
 }
index a701383..5753137 100644 (file)
@@ -1,5 +1,5 @@
 Source:eventinjector-eplugin
-Version:0.2.59
+Version:0.2.60
 Maintainer:yeongkyoon Lee <yeongkyoon.lee@samsung.com>, sungmin Ha <sungmin82.ha@samsung.com>
 
 Package:eventinjector-eplugin