Fix the build

Change-Id: I4b5b6ad84e8cc101ee68669fb71ada41a672ea33
Signed-off-by: Lokesh Chamane <lokesh.c703@gmail.com>
PAC: Easter Egg (1/2)

Based off AOKP's.

Change-Id: I413e9c9c5c05adbad29c770c8f06d08abe885873
Signed-off-by: Lokesh Chamane <lokesh.c703@gmail.com>
Keyguard: add smart cover support

Change-Id: I436eba7678b923a9f293e15d786447214bc9bdcb
Signed-off-by: Roman Birg <roman@cyngn.com>
policy: respect FLAG_TURN_SCREEN_ON flag with device flip covers

If an application uses WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON
and the device supports covers and the cover is closed, then after the
screen would turn on due to this flag, it would immediately be turned off
because PhoneWindowManager thinks the cover is closed, so it puts the device to
sleep.

Respect this flag and do nothing if it is detected.

Change-Id: I7eb36ce676730e47c551518e214b08561c401ea5
Signed-off-by: Roman Birg <roman@cyngn.com>
Merge pull request #3 from PAC-man/pac-4.4

merged.