mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 03:09:04 +01:00
Show notifications when messages are received. Dev task #30.
This commit is contained in:
@@ -173,7 +173,6 @@ OnClickListener, OnItemClickListener {
|
||||
super.onActivityResult(request, result, data);
|
||||
if(request == REQUEST_READ_POST && 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