Determine setting visibility from tablet mode

Change-Id: I995f4ead8046ad63727df5d998542a8e394ad1fe
Merge remote-tracking branch 'sgt7/cm-10.1' into cm-10.1-sgt7