disabled broken conversations context menu

This commit is contained in:
iNPUTmice 2014-11-18 03:12:51 +01:00
parent 018a0c7978
commit d29c861d03

View file

@ -182,7 +182,7 @@ public class ConversationActivity extends XmppActivity implements
hideConversationsOverview(); hideConversationsOverview();
} }
}); });
registerForContextMenu(listView); //registerForContextMenu(listView);
mContentView = findViewById(R.id.content_view_spl); mContentView = findViewById(R.id.content_view_spl);
if (mContentView == null) { if (mContentView == null) {
mContentView = findViewById(R.id.content_view_ll); mContentView = findViewById(R.id.content_view_ll);
@ -226,7 +226,7 @@ public class ConversationActivity extends XmppActivity implements
} }
} }
@Override /*@Override
public void onCreateContextMenu(ContextMenu menu, View v, ContextMenu.ContextMenuInfo menuInfo) { public void onCreateContextMenu(ContextMenu menu, View v, ContextMenu.ContextMenuInfo menuInfo) {
getMenuInflater().inflate(R.menu.conversations_context, menu); getMenuInflater().inflate(R.menu.conversations_context, menu);
AdapterView.AdapterContextMenuInfo acmi = (AdapterView.AdapterContextMenuInfo) menuInfo; AdapterView.AdapterContextMenuInfo acmi = (AdapterView.AdapterContextMenuInfo) menuInfo;
@ -260,7 +260,7 @@ public class ConversationActivity extends XmppActivity implements
default: default:
return super.onContextItemSelected(item); return super.onContextItemSelected(item);
} }
} }*/
public void openConversation() { public void openConversation() {
ActionBar ab = getActionBar(); ActionBar ab = getActionBar();