Commit 9eb9494e authored by Edward Wang's avatar Edward Wang

src: Fix NullPointerException in MediaInfoActivity

parent 081717da
......@@ -156,6 +156,8 @@ public class MediaInfoActivity extends ListActivity {
@Override
public void handleMessage(Message msg) {
MediaInfoActivity activity = getOwner();
if(activity == null) return;
switch (msg.what) {
case NEW_IMAGE:
activity.updateImage();
......
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