Please sign in to comment.
Don't try to initialize EmulatorView before a TermSession is attached
This avoids a crash when the view is inflated from XML and a TermSession isn't attached right away. Because onSizeChanged() no longer tries to initialize the view if no TermSession is attached, we now need to call initialize() in attachSession() if the view hasn't been initialized at that point.
- Loading branch information...
Showing with 16 additions and 0 deletions.