summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRobert Carr <racarr@google.com>2016-04-10 16:33:08 -0700
committerRobert Carr <racarr@google.com>2016-04-13 13:32:58 -0700
commit70f0d229c02b91d7b987c4972b9b08bb9dcd04b5 (patch)
tree249613efe89c0fddf67f04bd599920007e67e289 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentfd580f7d1a5a19b062bea49602f0f6136bce7e5e (diff)
Add WindowManager side timeout for toasts.
If the thread a toast is shown on is shut down, the attempt to post the hide message to it's handler will fail and it will never request removal. If this was only some application background thread we will also not receive a death notification. It seems best to use a timeout to ensure we don't need the clients cooperation, espescially as toasts can keep the screen on. Bug: 21693547 Change-Id: I1d6e54ded5b9e2050daedc4d263e2e21fbe69862
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions