bugfix: allow recent apps dialog to work with menu long-press

With the original patch, using the recent app dialog from a
menu button long-press would cause the dialog to be preloaded
and then dismissed on key-up. Check long-press behavior settings
as well as short-press to prevent the dismissal.

Change-Id: Idf1d27aa725547e0ddc44905e27da6c1b4540fab
Navbar : Padding fix

Fix padding calculation

Change-Id: I5262266c99ab4779252264474e94f033304f6fe5
Merge "bugfix: allow recent apps dialog to work with menu long-press" into cm-10.1
Merge "Navbar : Padding fix" into cm-10.1
Merge remote-tracking branch 'upstream/cm-10.1' into cm-10.1