add check for DEVICE_RESOLUTION

Change-Id: I04138666196a9c88aacba01a10ee5d66f43b17cb