It's not clear why we try to draw on a finished TranscriptScreen when
exiting on Honeycomb (and not on other platforms), but this works around
the resulting crash.
Signed-off-by: Jack Palevich <jackpal@google.com>
} catch (IllegalArgumentException e) {
// Out-of-bounds rows are blank.
return;
+ } catch (NullPointerException e) {
+ // Attempt to draw on a finished transcript
+ // XXX Figure out why this happens on Honeycomb
+ return;
}
int defaultForeColor = mData.getDefaultForeColor();
int defaultBackColor = mData.getDefaultBackColor();