Use alternative logic for hiding hardware keys, dual pane default choice

Change-Id: Iff049ffe20307e146c75f74a8ed2fae5ee7411f0