Modify comment
authorYuta Doi <yuta-d@witz-inc.co.jp>
Thu, 21 Jun 2018 01:23:26 +0000 (10:23 +0900)
committerYuta Doi <yuta-d@witz-inc.co.jp>
Thu, 21 Jun 2018 01:23:26 +0000 (10:23 +0900)
Change-Id: I95b9ccb8465d52c973e940bf5603694ba29c4cdd
Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
src/app.cpp

index cbb8cfd..db95367 100644 (file)
@@ -338,10 +338,10 @@ int App::init() {
    // 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();
@@ -537,10 +537,6 @@ void App::allocateWindowResource(char const *event, char const *drawing_name,
     // 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));