[Title]delete battery charger pop up
authorsungmin ha <sungmin82.ha@samsung.com>
Mon, 9 Apr 2012 07:56:59 +0000 (16:56 +0900)
committersungmin ha <sungmin82.ha@samsung.com>
Mon, 9 Apr 2012 07:56:59 +0000 (16:56 +0900)
[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)

org.tizen.device/src/org/tizen/device/battery/page/BatteryPage.java

index e5d221b..22900cf 100644 (file)
@@ -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()) {