k9mail/k-9 — pull request #258 by m0vie (2013-02-15 17:19:32+00:00)
Title: message view / list: fix NPE when list is empty

This happened for example in a starred-message-only view when
un-starting the last message. This led to isFirst() and isLast()
causing a NullPointerException when trying to update the
previous / next buttons.