touchstart, touchend and other touch events will
be enabled and the respective event handlers will only
work when touch events are enabled in command line.
Change-Id: I8527d5b098cb9427a567c2f0fb57ba65fd234271
Signed-off-by: Suneel Kota <suneel.kota@samsung.com>
#include "efl/init.h"
#include "tizen/common/env_variables.h"
#include "tizen/common/application_data.h"
+#include "tizen/common/platform_info.h"
namespace {
command_line->AppendSwitch("enable-tizen-app-container");
command_line->AppendSwitchASCII(
"injected-bundle-path", "/usr/lib/libxwalk_injected_bundle.so");
+ if ( common::getProfile() != common::kPROFILE_TV)
+ command_line->AppendSwitchASCII("touch-events", "enabled");
return AtomMainDelegate::BasicStartupComplete(exit_code);
}