From 46d4944996888506d0751a0525d495637300ad64 Mon Sep 17 00:00:00 2001 From: lokilee73 Date: Tue, 6 Dec 2016 20:49:38 +0900 Subject: [PATCH] register battery_remove_ops Change-Id: I091222deaf48d9b83571575039f84aad5b5cb5ed Signed-off-by: lokilee73 --- src/battery/battery-mobile.c | 1 + src/battery/battery-wearable.c | 1 + 2 files changed, 2 insertions(+) diff --git a/src/battery/battery-mobile.c b/src/battery/battery-mobile.c index 2a0e620..ea6fd46 100755 --- a/src/battery/battery-mobile.c +++ b/src/battery/battery-mobile.c @@ -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); diff --git a/src/battery/battery-wearable.c b/src/battery/battery-wearable.c index 171fcc0..a53a3f5 100755 --- a/src/battery/battery-wearable.c +++ b/src/battery/battery-wearable.c @@ -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); -- 2.7.4