summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorMartin Wallgren <martin.wallgren@sonymobile.com>2013-02-04 14:26:51 +0100
committerHenrik Baard <henrik.baard@sonymobile.com>2013-02-04 14:26:51 +0100
commita81d7dace6e729a1f4f5dd3afc3d53c536e1996c (patch)
tree0b3ba303a94af1ba64243c188f411604600507a4 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent7ad885e2e6c845dbec4f16cd71e859240741dbf9 (diff)
Set foreground priority for shutdown receivers.
The broadcast of ACTION_SHUTDOWN has a timeout of 10 seconds. To reduce the risk of hitting the timeout and speeding up the shutdown sequence in ShutdownThread we set the priority of the BroadcastReceivers to FLAG_RECEIVER_FOREGROUND. We have seen that this change reduces the shutdown time when the system is under heavy load. Change-Id: I22cbf6af8cf6fc4bdefaa1c3da8a7eed7e7b7674
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions