Add 2 second pre-dim and bugfix blank timer

2 second predim code courtesy of bigbiff

Change-Id: I052ac422f78dc82c05f58c188587534b800b935a
Merge "Add 2 second pre-dim and bugfix blank timer" into twrp2.4