mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
Show notifications when messages are received. Dev task #30.
This commit is contained in:
@@ -185,7 +185,6 @@ implements EventListener, OnClickListener, OnItemClickListener {
|
||||
super.onActivityResult(request, result, data);
|
||||
if(request == REQUEST_READ_MESSAGE && result == RESULT_PREV_NEXT) {
|
||||
int position = data.getIntExtra("briar.POSITION", -1);
|
||||
if(position == -1) throw new IllegalStateException();
|
||||
if(position >= 0 && position < adapter.getCount())
|
||||
displayMessage(position);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user