summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorHui Yu <huiyu@google.com>2021-04-22 10:40:11 -0700
committerHui Yu <huiyu@google.com>2021-04-22 20:09:42 +0000
commit8cbc97407079cfe2d3d7882a2dea110f6d249590 (patch)
tree69c31790a17cfbf350dfdc27538b6ba8ee60b2b4 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent5681f7c05f6c0abe63f0618bfaf66a9ea113396a (diff)
Move postFgsNotificationLocked() to outer block.
Some apps call Service.startForeground() multiple times with different Notification objects to update the notification. The change I049070f343f578fa3e9f6bb4dab914da5b23672a moved postFgsNotificationLocked() from outer block to inner block for the purpose of updating mFgsNotificationDeferred and mFgsNotificationShown fields before the logForegroundServiceStateChanged() call. This has changed the behavior and apps can not use multiple Service.startForeground() calls to update notification any more. To avoid breaking apps, move postFgsNotificationLocked() to outer block. Bug: 185523487 Test: b/185523487 test. Change-Id: Idc6ea831cc8943dc24b85de9989c3aa3d99e2ffa
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions