mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-22 07:39:53 +01:00
Add SDK_INT check to appease the linter.
This commit is contained in:
@@ -434,9 +434,11 @@ public class ConversationActivity extends BriarActivity
|
|||||||
startActivity(intent);
|
startActivity(intent);
|
||||||
return true;
|
return true;
|
||||||
} else if (itemId == R.id.action_transfer_data) {
|
} else if (itemId == R.id.action_transfer_data) {
|
||||||
Intent intent = new Intent(this, RemovableDriveActivity.class);
|
if (SDK_INT >= 19) {
|
||||||
intent.putExtra(CONTACT_ID, contactId.getInt());
|
Intent intent = new Intent(this, RemovableDriveActivity.class);
|
||||||
startActivity(intent);
|
intent.putExtra(CONTACT_ID, contactId.getInt());
|
||||||
|
startActivity(intent);
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
} else if (itemId == R.id.action_delete_all_messages) {
|
} else if (itemId == R.id.action_delete_all_messages) {
|
||||||
askToDeleteAllMessages();
|
askToDeleteAllMessages();
|
||||||
|
|||||||
Reference in New Issue
Block a user