diff options
author | Robert Carr <racarr@google.com> | 2016-04-10 16:33:08 -0700 |
---|---|---|
committer | Robert Carr <racarr@google.com> | 2016-04-13 13:32:58 -0700 |
commit | 70f0d229c02b91d7b987c4972b9b08bb9dcd04b5 (patch) | |
tree | 249613efe89c0fddf67f04bd599920007e67e289 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | fd580f7d1a5a19b062bea49602f0f6136bce7e5e (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