register battery_remove_ops 65/102765/1 submit/tizen_3.0/20161207.011635
authorlokilee73 <changjoo.lee@samsung.com>
Tue, 6 Dec 2016 11:49:38 +0000 (20:49 +0900)
committerlokilee73 <changjoo.lee@samsung.com>
Tue, 6 Dec 2016 11:49:53 +0000 (20:49 +0900)
Change-Id: I091222deaf48d9b83571575039f84aad5b5cb5ed
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
src/battery/battery-mobile.c
src/battery/battery-wearable.c

index 2a0e620..ea6fd46 100755 (executable)
@@ -257,6 +257,7 @@ static const struct popup_ops battery_disconnected_ops = {
 static __attribute__ ((constructor)) void battery_register_popup(void)
 {
        register_popup(&lowbattery_poweroff_ops);
+       register_popup(&battery_remove_ops);
        register_popup(&charge_error_low_ops);
        register_popup(&charge_error_high_ops);
        register_popup(&battery_disconnected_ops);
index 171fcc0..a53a3f5 100755 (executable)
@@ -216,6 +216,7 @@ static const struct popup_ops battery_disconnected_ops = {
 static __attribute__ ((constructor)) void battery_register_popup(void)
 {
        register_popup(&lowbattery_poweroff_ops);
+       register_popup(&battery_remove_ops);
        register_popup(&charge_error_low_ops);
        register_popup(&charge_error_high_ops);
        register_popup(&battery_disconnected_ops);