tv_control_roate_with_size() API is supported from Tizen6.5
in tvcontrol side, so WRT need add judgement for it, otherwise
compile error in UWE branch.
Change-Id: I4fb5a36e9f8a9195f03647f6c70ce277ce6f544e
Signed-off-by: liwei90727 <wei90727.li@samsung.com>
}
bool TvWindowManager::RotateSource(int degree) {
+#if TIZEN_VERSION_AT_LEAST(6, 5, 0)
int rots[] = {0, 90, 180, 270};
auto* ee = GetEcoreEvas(window_);
ecore_evas_wm_rotation_available_rotations_set(ee, rots,
<< ", h:" << h << "]";
tv_control_rotate_with_size(control_, degree, x, y, w, h);
+#else
+ LOG(INFO) << "this feature is supported from 6.5, not support this version!!";
+#endif
return true;
}