Check result of bitmap size operation for failure

Fixes #5046
// FREEBIE
This commit is contained in:
Moxie Marlinspike
2016-01-30 15:22:55 -08:00
parent 1b97756b05
commit 4a261bcf68
6 changed files with 44 additions and 27 deletions
@@ -1,7 +1,12 @@
package org.thoughtcrime.securesms.util;
public class BitmapDecodingException extends Throwable {
public class BitmapDecodingException extends Exception {
public BitmapDecodingException(String s) {
super(s);
}
public BitmapDecodingException(Exception nested) {
super(nested);
}
}