ivi-shell: remove ivi_layout_surface_get_visibility API
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com> Acked-by: wataru_natsume <wataru_natsume@xddp.denso.co.jp> Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
This commit is contained in:
committed by
Bryce Harrington
parent
9d8b4414d7
commit
c6a138c6f0
@@ -68,14 +68,10 @@ static void
|
||||
test_surface_bad_visibility(struct test_context *ctx)
|
||||
{
|
||||
const struct ivi_layout_interface *lyt = ctx->layout_interface;
|
||||
bool visibility;
|
||||
|
||||
iassert(lyt->surface_set_visibility(NULL, true) == IVI_FAILED);
|
||||
|
||||
lyt->commit_changes();
|
||||
|
||||
visibility = lyt->surface_get_visibility(NULL);
|
||||
iassert(visibility == false);
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
@@ -356,7 +356,6 @@ RUNNER_TEST(surface_visibility)
|
||||
const struct ivi_layout_interface *lyt = ctx->layout_interface;
|
||||
struct ivi_layout_surface *ivisurf;
|
||||
int32_t ret;
|
||||
bool visibility;
|
||||
const struct ivi_layout_surface_properties *prop;
|
||||
|
||||
ivisurf = lyt->get_surface_from_id(IVI_TEST_SURFACE_ID(0));
|
||||
@@ -367,9 +366,6 @@ RUNNER_TEST(surface_visibility)
|
||||
|
||||
lyt->commit_changes();
|
||||
|
||||
visibility = lyt->surface_get_visibility(ivisurf);
|
||||
runner_assert(visibility == true);
|
||||
|
||||
prop = lyt->get_properties_of_surface(ivisurf);
|
||||
runner_assert(prop->visibility == true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user