summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorjl1990 <jlcarrasco1990@gmail.com>2013-08-07 17:39:22 +0200
committerNarayan Kamath <narayan@google.com>2014-01-30 13:46:44 +0000
commit3cd12a515562b278c05dff88324f254995a60e9e (patch)
treeeccb5d7ba9244dfa27f6c362c51525a0189d14ca /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent54190ec8307ebb83d02b7d9b8edc80a042792de6 (diff)
Fixed cancel() not working correctly
The method handleMessage(Message msg) from mHandler variable was not checking if the timer was cancelled, so sendMessageDelayed(obtainMessage(MSG), delay) was keeping the timer alive. The patch simply adds a boolean and checks if the CountDownTimer was cancelled before calling sendMessageDelayed(obtainMessage(MSG), delay) bug: https://code.google.com/p/android/issues/detail?id=58668 Change-Id: Ic6bbb9d33a3616f8503db222513cc14ad2270cb8 Signed-off-by: jl1990 <jlcarrasco1990@gmail.com>
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions