Skip test case that requires home for no home devices

This CL adds home avaibability check for the test case that requires
home.
Other newer cases (e.g. testHomeVisibleOnEmptyDisplay) have this home
check but testHomeVisibleOnActivityTaskPinned lacks it.

Bug: 171264498
Test: atest
android.server.wm.ActivityVisibilityTests#testHomeVisibleOnActivityTaskPinned

Change-Id: Ic1e15f866d1ec25cc98fd82356041308226e06d2
1 file changed