From: sungmin ha Date: Mon, 9 Apr 2012 07:56:59 +0000 (+0900) Subject: [Title]delete battery charger pop up X-Git-Tag: 2.2.1_release^2~115 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ea420703393d3a5fe34712be692ef7525f50f170;p=sdk%2Femulator%2Feventinjector-eplugin.git [Title]delete battery charger pop up [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 e5d221b..22900cf 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 @@ -106,13 +106,6 @@ public class BatteryPage extends AbstractInjectorPage implements ISelectionListe slider.setSelection(sendData); sliderText.setText(Integer.toString(sendData)); sendMessage(sendData, sensorOn); - if(sendData == 100 && radioButton[0].getSelection() == true) - { - radioButton[0].setSelection(false); - radioButton[1].setSelection(true); - sensorOn = 0; - sendMessage(sendData, sensorOn); - } } }); @@ -136,13 +129,6 @@ public class BatteryPage extends AbstractInjectorPage implements ISelectionListe radioButton[0].addSelectionListener(new SelectionAdapter() { @Override public void widgetSelected(SelectionEvent e) { - if(sendData == 100) - { - DialogUtil.openMessageDialog("This is device message.\nBattery level is full.\nIf you want connect charger, please make changes to the battery level."); - radioButton[0].setSelection(false); - radioButton[1].setSelection(true); - } - for( int i = 0 ; i < radioButton.length ; i++ ) { if(radioButton[i].getSelection()) {