IgnoreOnPortrait checks the device dimensions using InstrumentationRegistry Test: locally Change-Id: Ic563d8dd230597bf031d4bfa10e95efed4c6b9df