// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
public class LanguageResources {
try
{
ApplicationInfo appInfo = ApplicationManager.GetInstalledApplication(e.ApplicationRunningContext.ApplicationId);
- if (appInfo == null || string.IsNullOrEmpty(appInfo.IconPath) || appInfo.IsNoDisplay == true)
+ if (appInfo == null || string.IsNullOrEmpty(appInfo.IconPath) || appInfo.IsNoDisplay == true || IsAppDisplayDisallowed(appInfo.ApplicationId) == true)
{
return;
}
allAppsInfo.Remove(appId);
}
AddButtonsInfo();
- appInfoModelDictionary[appId].IsRunning = false;
+ if (appInfoModelDictionary.ContainsKey(appId))
+ {
+ appInfoModelDictionary[appId].IsRunning = false;
+ }
}
private void CreateUninstallConfirmationView(string appId)
};
}
+ private bool IsAppDisplayDisallowed(string appId)
+ {
+ if (appId == "org.tizen.cssettings" && pinnedAppsInfo.ContainsKey(appId) == false)
+ {
+ return true;
+ }
+ return false;
+ }
+
public void Dispose()
{
Dispose(true);