ConnectionService: fix unchecked type assignments

This commit is contained in:
Peter Cai 2022-03-11 21:44:57 -05:00
parent e02dee8c01
commit b218b57c94
1 changed files with 2 additions and 2 deletions

View File

@ -119,7 +119,7 @@ public class ConnectionService extends android.telecom.ConnectionService {
.withSmallIcon(R.drawable.ic_notification).build()
);
Set<String> permissions = new HashSet();
Set<String> permissions = new HashSet<>();
permissions.add(Manifest.permission.RECORD_AUDIO);
permissionManager.checkPermissions(permissions, new PermissionManager.PermissionRequestListener() {
@Override
@ -154,7 +154,7 @@ public class ConnectionService extends android.telecom.ConnectionService {
protected Account account;
protected Jid with;
protected String sessionId = null;
protected Stack<String> postDial = new Stack();
protected Stack<String> postDial = new Stack<>();
protected Icon gatewayIcon;
protected WeakReference<JingleRtpConnection> rtpConnection = null;