With tablet ui we need to check hasSystemNavBar as well.

Change-Id: I617d9b3fd0da3a1e811af7b399277e8fe22ab652