Determine setting visibility from tablet mode

Change-Id: I995f4ead8046ad63727df5d998542a8e394ad1fe