summaryrefslogtreecommitdiff
path: root/libs/hwui/HardwareBitmapUploader.cpp
diff options
context:
space:
mode:
author Matías Hernández <matiashe@google.com> 2023-06-01 18:47:01 +0200
committer Matías Hernández <matiashe@google.com> 2023-06-02 14:03:50 +0200
commit7ca7ab73e8e1e7ce33b1c608475811967ca4e048 (patch)
tree022d2c9f8ba1bb0ded968db9007a2ef146221c4e /libs/hwui/HardwareBitmapUploader.cpp
parenta9868f633eb64a23de96b216013e8ec275ceecca (diff)
Acquire WakeLocks for posting notifications
The WakeLock is acquired by the system (with Binder.clearCallingIdentity()) because packages that post notification may not have (and should not need) the WAKE_LOCK permission, but we use the WorkSource so that the battery impact is counted as coming from them. Bug: 275044361 Flag: WAKE_LOCK_FOR_POSTING_NOTIFICATION Test: atest NotificationManagerServiceTest Change-Id: Ide41df01dec38631bbdacbd268415d471fed6a3d
Diffstat (limited to 'libs/hwui/HardwareBitmapUploader.cpp')
0 files changed, 0 insertions, 0 deletions