am 41293323: am 8bbba0e3: Merge change If5722b3f into eclair

Merge commit '412933234ad114c0fbb237f068b07821afb6e484'

* commit '412933234ad114c0fbb237f068b07821afb6e484':
  Dont NPE if the thumbnail file cannot be opened.
This commit is contained in:
Chih-Chung Chang
2009-10-01 11:42:27 -07:00
committed by Android Git Automerger

View File

@@ -119,7 +119,9 @@ public class MiniThumbFile {
// ignore exception
}
}
mChannel = mMiniThumbFile.getChannel();
if (mMiniThumbFile != null) {
mChannel = mMiniThumbFile.getChannel();
}
}
return mMiniThumbFile;
}