minor code clean up
This commit is contained in:
parent
17b9ca9dec
commit
42bd8e6d61
|
@ -145,7 +145,7 @@ public class ConversationsActivity extends XmppActivity implements OnConversatio
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
xmppConnectionService.getNotificationService().setIsInForeground(true);
|
xmppConnectionService.getNotificationService().setIsInForeground(true);
|
||||||
Intent intent = pendingViewIntent.pop();
|
final Intent intent = pendingViewIntent.pop();
|
||||||
if (intent != null) {
|
if (intent != null) {
|
||||||
if (processViewIntent(intent)) {
|
if (processViewIntent(intent)) {
|
||||||
if (binding.secondaryFragment != null) {
|
if (binding.secondaryFragment != null) {
|
||||||
|
@ -159,7 +159,7 @@ public class ConversationsActivity extends XmppActivity implements OnConversatio
|
||||||
notifyFragmentOfBackendConnected(id);
|
notifyFragmentOfBackendConnected(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
ActivityResult activityResult = postponedActivityResult.pop();
|
final ActivityResult activityResult = postponedActivityResult.pop();
|
||||||
if (activityResult != null) {
|
if (activityResult != null) {
|
||||||
handleActivityResult(activityResult);
|
handleActivityResult(activityResult);
|
||||||
}
|
}
|
||||||
|
|
|
@ -569,9 +569,9 @@ public class JingleConnectionManager extends AbstractConnectionManager {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
synchronized (this.rtpSessionProposals) {
|
synchronized (this.rtpSessionProposals) {
|
||||||
for (Map.Entry<RtpSessionProposal, DeviceDiscoveryState> entry :
|
for (final Map.Entry<RtpSessionProposal, DeviceDiscoveryState> entry :
|
||||||
this.rtpSessionProposals.entrySet()) {
|
this.rtpSessionProposals.entrySet()) {
|
||||||
RtpSessionProposal proposal = entry.getKey();
|
final RtpSessionProposal proposal = entry.getKey();
|
||||||
if (proposal.account == contact.getAccount()
|
if (proposal.account == contact.getAccount()
|
||||||
&& contact.getJid().asBareJid().equals(proposal.with)) {
|
&& contact.getJid().asBareJid().equals(proposal.with)) {
|
||||||
final DeviceDiscoveryState preexistingState = entry.getValue();
|
final DeviceDiscoveryState preexistingState = entry.getValue();
|
||||||
|
|
Loading…
Reference in a new issue