Double check the permission before setting the Wake Lock
Double check the permission before setting the Wake Lock

bug:5361732
Change-Id: Ia9092b25d62c4a14cba885f5e3fac0326d0fde1c

xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base