using Tizen.NUI;
using Tizen.NUI.BaseComponents;
using Tizen.NUI.Components;
+using Tizen.NUI.WindowSystem.Shell;
+using Tizen.System;
using VoiceTouch.VoiceTouchMmi;
using static VoiceTouch.VoiceTouchMmi.VoiceTouchMmiManager;
Window window = Window.Instance;
window.Type = WindowType.Notification;
- window.SetNotificationLevel(NotificationLevel.Top);
+
window.SetTransparency(true);
window.BackgroundColor = Color.Transparent;
window.SetAcceptFocus(false);
window.SetInputRegion(new Rectangle(0, 0, 0, 0));
+ string profileInfo = null;
+ Information.TryGetValue("http://tizen.org/feature/profile", out profileInfo);
+
+ Tizen.Log.Debug(LogTag, "profile Info is " + profileInfo);
+
+ switch (profileInfo)
+ {
+ case "common":
+ {
+ TizenShell tzShell = new TizenShell();
+ SoftkeyService softkeyService = new SoftkeyService(tzShell, window);
+ softkeyService.Show();
+ }
+ break;
+ default:
+ window.SetNotificationLevel(NotificationLevel.Top);
+ break;
+ }
+
mVoiceTouchMmiManager = VoiceTouchMmiManager.Instance;
mVtObject = new VoiceTouchEventManager();
mVoiceTouchViewManager = VoiceTouchViewManager.Instance;
<privilege>http://tizen.org/privilege/appmanager.launch</privilege>
<privilege>http://tizen.org/privilege/datasharing</privilege>
<privilege>http://tizen.org/privilege/window.priority.set</privilege>
+ <privilege>http://tizen.org/privilege/windowsystem.admin</privilege>
</privileges>
</manifest>