Change-Id: I95b9ccb8465d52c973e940bf5603694ba29c4cdd
Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
// Store my context for calling callback for PolicyManager
rm::context = this;
-#if 1 // @@@@@
+ // TODO: This process is necessary for checking right of requested role.
+ // If other module check it, this process will be removed.
// Load app.db
this->loadAppDb();
-#endif
// Initialize PolicyManager
this->pm.initialize();
// TODO:
// Check role
- // TODO:
- // If event is "activate" and area is not specifid,
- // get default value by using role
-
// Input event to PolicyManager
json_object* json_in = json_object_new_object();
json_object_object_add(json_in, "event", json_object_new_string(event));