Commit 7d9f2119 authored by Edward Wang's avatar Edward Wang
Browse files

src: Check for NULL in VideoListFragment's WeakHandler

parent b530f4bc
......@@ -200,6 +200,8 @@ public class VideoListFragment extends SherlockListFragment implements ISortable
@Override
public void handleMessage(Message msg) {
VideoListFragment fragment = getOwner();
if(fragment == null) return;
switch (msg.what) {
case UPDATE_ITEM:
fragment.updateItem();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment