D-bus does not allow "-" as the signal name.
Change-Id: Idada2b6c2ab278f6f9759185db08e090ee7c8633
Signed-off-by: yeji01.kim <yeji01.kim@samsung.com>
public:
ExternalStorageState() : GlobalPolicy("external-storage")
{
- PolicyEventNotifier::create("external-storage");
+ PolicyEventNotifier::create("external_storage");
}
bool apply(const DataType& value)
}
if (ret == 0) {
- PolicyEventNotifier::emit("external-storage", enable ? "allowed" : "disallowed");
+ PolicyEventNotifier::emit("external_storage", enable ? "allowed" : "disallowed");
return true;
}