frameworks/base: add SmartCover support

Change-Id: I0b2802b97692c2d1e49c9ce5dced0edd625c7ece
Signed-off-by: Roman Birg <roman@cyngn.com>
Merge remote-tracking branch 'cm/cm-11.0' into cm-11.0