Add assumption that device has extensions.

Tests were failing because they don't have extensions. Added the
assumption to check extensions are present since the test requires it.

Bug: 282295134
Test: atest CtsWindowManagerJetpackTestCases:WindowLayoutComponentLetterboxTest
Change-Id: I2f601c3a6ce2e277fc765762ee3457c9d476294d
1 file changed