add support for glove mode

Change-Id: Id822e9b454439a65b8d03d790bd0524f1b1879f3
fix

Change-Id: I495783f93274154a3ea3672f01838d67b3ca3d95
Merge branch 'cm-11.0' of https://github.com/nelo360/android_frameworks_opt_hardware into cm-11.0