Closed GoogleCodeExporter closed 9 years ago
Original comment by felix.bechstein
on 30 May 2010 at 8:03
please check the attached apk
Original comment by felix.bechstein
on 1 Jun 2010 at 3:24
Attachments:
Unfortunately SMSdroid still crashes. I'll try and get another log later this
afternoon.
Original comment by sca...@gmail.com
on 2 Jun 2010 at 7:59
this one should fix the bug.
please confirm
Original comment by felix.bechstein
on 2 Jun 2010 at 3:21
Attachments:
Unfortunately, no. The app still crashes, right after I confirm the message
deletion.
I already deleted the cache, does not fix the issue.
Anything I can provide you with?
Original comment by sca...@gmail.com
on 2 Jun 2010 at 4:10
yep. please send logs from that crash
Original comment by felix.bechstein
on 2 Jun 2010 at 5:20
I just ran this issue through a debugger, and the crash is in
SmsReceiver.updateNewMessageNotification().
Specifically in line 322:
n.flags |= Notification.FLAG_SHOW_LIGHTS;
At that moment, n == null, which is why it crashes. The attached patch fixes the
crash, although I suspect that there is some deeper issue here.
This is the execution flow:
- updateNew...(context, null)
- l = 1, tid = 10
- final Conversation conv = Conversation.getConversation(context, tid, true)
returns null
- skips to i.setFlags(i.getFlags() | Intent.FLAG_ACTIVITY_NEW_TASK);
- crash
Also, after deleting a message, ConversationList still shows the deleted
message text
(if the last message in a thread was deleted). Maybe this is an unrelated bug?
Original comment by sca...@gmail.com
on 3 Jun 2010 at 10:07
Attachments:
thx. i patched it a minute ago.
Original comment by felix.bechstein
on 8 Jun 2010 at 6:13
Original issue reported on code.google.com by
sca...@gmail.com
on 29 May 2010 at 1:33