Fixed Nabi Issues and removal of deprecated Footer API
[apps/osp/Internet.git] / src / IntInternetApp.cpp
index d94f7c7..6932a3d 100644 (file)
@@ -186,6 +186,17 @@ InternetApp::OnAppInitialized(void)
                return false;
        }
 
+       AppRegistry* pAppRegistry = App::GetInstance()->GetAppRegistry();
+       String sliderKey("SliderValue");
+
+       int sliderValue = 0;
+
+
+       r = pAppRegistry->Get(sliderKey, sliderValue);
+       r = PowerManager::SetScreenBrightness(sliderValue);
+
+       AppLog("Settingscreenbrightness to %d result %s",sliderValue , GetErrorMessage(r));
+
        delete pArgList;
        pArgList = null;
        __pNewWindowInfo = null;