Revert "Change Ask User to Privacy Denied plugin" 05/134505/3
authorYunjin Lee <yunjin-.lee@samsung.com>
Mon, 19 Jun 2017 04:03:30 +0000 (04:03 +0000)
committerYunjin Lee <yunjin-.lee@samsung.com>
Mon, 19 Jun 2017 05:32:54 +0000 (14:32 +0900)
This reverts commit 745251cb545beb86d591b5084ff142bd80805b59.

Change-Id: I5d796d21762d518e2cf0bef30c29bba987501299

ui/src/privacy_package_list_view.c

index 1d6f2ee4840302d0c1f4458b3d0edc6718080d4a..6c5a26a64b816d9b85048ecea59b8298bbc1faf4 100644 (file)
@@ -144,7 +144,7 @@ static void __get_package_privacy_status(pkg_data_s* pkg_data, char* privilege_n
                        if (strcmp("Allow", result) == 0) {
                                pkg_data->status = EINA_TRUE;
                                break;
-                       } else if (strcmp("Deny", result) == 0 || strcmp("ASK_USER_LEGACY", result) == 0 || strcmp("PRIVACY_DENY", result) == 0 || strcmp("Ask user", result) == 0) {
+                       } else if (strcmp("Deny", result) == 0 || strcmp("Ask user", result) == 0) {
                                pkg_data->status = EINA_FALSE;
                                break;
                        } else {
@@ -234,7 +234,7 @@ static void privacy_package_check_changed_cb(void *data, Evas_Object *obj, void
 
                        char* level;
                        if (pd->status) {
-                               level = "ASK_USER_LEGACY";
+                               level = "Ask user";
                                pd->status = false;
                        } else {
                                level = "Allow";