\r
result[0] = appInfo.Label != null ? appInfo.Label : null;\r
result[1] = appInfo.ApplicationId != null ? appInfo.ApplicationId : null;\r
- result[2] = appInfo.IconPath != null ? appInfo.IconPath : null;\r
+ result[2] = appInfo.IconPath != null ? appInfo.IconPath : "AppIcon.png";\r
\r
resultList.Add(appInfo.ApplicationId, result);\r
}\r
// Actual Test code\r
List<AppShortcutInfo> list = new List<AppShortcutInfo>();\r
Dictionary<string, string[]> pkgList = PackageManagerUtils.Instance.GetPackageList();\r
+ string[] icons = { "ic_black.png", "ic_blue.png", "ic_green.png", "ic_red.png", "ic_yellow.png", "AppIcon.png" };\r
+ Random random = new Random();\r
\r
string[] result;\r
AppShortcutInfo shortcutInfo;\r
new StateDescription\r
{\r
Label = result[0],\r
- IconPath = "user_1.png", // result[2]\r
+ IconPath = icons[random.Next(0, 6)],//IconPath = (resul5t[2] == null) ? "AppIcon.png" : result[2],\r
Action = new AppControlAction()\r
{\r
PkgID = "org.tizen.settings" // result[1]\r