summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorHui Yu <huiyu@google.com>2021-06-14 16:14:46 -0700
committerHui Yu <huiyu@google.com>2021-06-14 17:28:49 -0700
commit7f289f5f0e6ffeebdee4006a580a7f9f0123c083 (patch)
tree1e640b12dc70d3a1a7bf9dae0a6ec21867d97ed3 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentbea8152724e108ec69fcbd93987e1f58620ef535 (diff)
Add a new field mAllowStartForegroundAtEntering.
To save the mAllowStartForeground value when the service is entering FGS state. The logging of FOREGROUND_SERVICE_STATE_CHANGED__STATE__ENTER event could be deferred due to fgs notification deferred, mAllowStartForeground value could be changed for example due to stopService(). The FOREGROUND_SERVICE_STATE_CHANGED__STATE__ENTER event will read from mAllowStartForegroundAtEntering instead of mAllowStartForeground. For the same reason, also add a new field mAllowWhileInUsePermissionInFgsAtEntering to save mAllowWhileInUsePermissionInFgs value when the service is entering FGS state. Bug: 191054441 Test: build and run, monitor westworld event logs. Change-Id: Iad4541068ab27cb7686899998d833a7c6ada3172
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions