predictSingle takes too long to complete, resulting to an ANR of receiver.
Must be taken into the thread pool. Still, incoming SMS gets written to the
inbox before the SVM check finishes, which causes the abortion thread not to be
able to fetch the SMS from inbox (variable "before" becomes variable "after" in
value). So the thread wait endlessly for the incoming SMS to arrive at inbox
although it has already arrived.
Best way is to increase performance of SVM dramatically. Even so, the incoming
SMS might get written into inbox before the thread to fetch it starts. This
will result in failure to move it to spams db. We might need to reconsider the
algorithm there.
Original issue reported on code.google.com by can...@gmail.com on 15 Jun 2011 at 9:14
Original issue reported on code.google.com by
can...@gmail.com
on 15 Jun 2011 at 9:14