Commit 8d9a0c44 authored by Vadym Riznyk's avatar Vadym Riznyk Committed by Randeep

[IOT-2883] SVR DB editor is broken in 1.3-rel

Adding InitPstatResourceToDefault() to svrdbeditor,
for initialize gPstat and correctly get dos.state

Change-Id: I5eefd50d6dcfcc35fd20ffd3e6e147acbf924e45
Signed-off-by: default avatarVadym Riznyk <v.riznyk@samsung.com>
parent 46588262
......@@ -31,6 +31,7 @@
#include "svrdbeditorcred.h"
#include "svrdbeditordoxm.h"
#include "svrdbeditorpstat.h"
#include "pstatresource.h"
static bool g_allowedEditMenu[SVR_EDIT_IDX_SIZE] = {false/*unused*/, false, false, false, false};
static char g_svrDbPath[SVR_DB_PATH_LENGTH];
......@@ -98,6 +99,9 @@ static int MainOperation(const char *svrpath)
PRINT_ERR("OCRegisterPersistentStorageHandler : %d", ocResult);
return -1;
}
InitPstatResourceToDefault();
RefreshACL();
RefreshCred();
RefreshDoxm();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment