Add package name to WorkSource for Wakelock acquired from WindowManage.

The PowerManager.SCREEN_BRIGHT_WAKE_LOCK wakelocks that acquired from WindowManager show
the package name when the approach of WakeLock.toString() is called. This is more useful to
check which app is holding a type of SCREEN_BRIGHT_WAKE_LOCK wakelock.

Bug: 274493538

Test: adb shell dumpsys power | grep -Ei "Wake Locks:" -A<n>

Change-Id: If4722c73136835771a1eb26a1b6f411b28550009
Signed-off-by: jiayongqiang <jiayongqiang@xiaomi.com>
2 files changed