From f7132ea084c3152207b56962c4d95e923580740e Mon Sep 17 00:00:00 2001 From: Taeyoung Kim Date: Mon, 28 Dec 2015 16:26:11 +0900 Subject: [PATCH] [system] fix tutorials of device and system-information apis - For the device_display_get_max_brightness() function, it can be changed by internal operations. Thus "always returns as 100" is removed - The key format of the system information is similar with URLs. Thus the keys are modified Change-Id: I4b5584aa12328e0a14304e8f109781975dccd299 Signed-off-by: Taeyoung Kim --- org.tizen.tutorials/html/native/system/device_tutorial_n.htm | 2 +- org.tizen.tutorials/html/native/system/sysinfo_tutorial_n.htm | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/org.tizen.tutorials/html/native/system/device_tutorial_n.htm b/org.tizen.tutorials/html/native/system/device_tutorial_n.htm index 01de71d..5635fae 100644 --- a/org.tizen.tutorials/html/native/system/device_tutorial_n.htm +++ b/org.tizen.tutorials/html/native/system/device_tutorial_n.htm @@ -129,7 +129,7 @@ error = device_display_get_numbers(&num);
  • Get the maximum brightness with the device_display_get_max_brightness() function. -

    The function returns the maximum brightness value that can be set, which is always 100.

    +

    The function returns the maximum brightness value that can be set.

     int error, max;
    diff --git a/org.tizen.tutorials/html/native/system/sysinfo_tutorial_n.htm b/org.tizen.tutorials/html/native/system/sysinfo_tutorial_n.htm
    index 32c1b8b..201494d 100644
    --- a/org.tizen.tutorials/html/native/system/sysinfo_tutorial_n.htm
    +++ b/org.tizen.tutorials/html/native/system/sysinfo_tutorial_n.htm
    @@ -70,7 +70,7 @@ func(void)
        char *value;
        int ret;
     
    -   ret = system_info_get_platform_string("tizen.org/system/model_name", &value);
    +   ret = system_info_get_platform_string("http://tizen.org/system/model_name", &value);
        if (ret != SYSTEM_INFO_ERROR_NONE) 
        {
           // Error handling
    @@ -103,7 +103,7 @@ func(void)
        bool value;
        int ret;
     
    -   ret = system_info_get_platform_bool("tizen.org/feature/camera", &value);
    +   ret = system_info_get_platform_bool("http://tizen.org/feature/camera", &value);
        if (ret != SYSTEM_INFO_ERROR_NONE) 
        {
           // Error handling
    -- 
    2.7.4