Loading telecomm/java/android/telecom/Connection.java +3 −3 Original line number Original line Diff line number Diff line Loading @@ -857,7 +857,7 @@ public abstract class Connection extends Conferenceable { } } /** @hide */ /** @hide */ public abstract static class Listener { abstract static class Listener { public void onStateChanged(Connection c, int state) {} public void onStateChanged(Connection c, int state) {} public void onAddressChanged(Connection c, Uri newAddress, int presentation) {} public void onAddressChanged(Connection c, Uri newAddress, int presentation) {} public void onCallerDisplayNameChanged( public void onCallerDisplayNameChanged( Loading Loading @@ -2005,7 +2005,7 @@ public abstract class Connection extends Conferenceable { * * * @hide * @hide */ */ public final Connection addConnectionListener(Listener l) { final Connection addConnectionListener(Listener l) { mListeners.add(l); mListeners.add(l); return this; return this; } } Loading @@ -2018,7 +2018,7 @@ public abstract class Connection extends Conferenceable { * * * @hide * @hide */ */ public final Connection removeConnectionListener(Listener l) { final Connection removeConnectionListener(Listener l) { if (l != null) { if (l != null) { mListeners.remove(l); mListeners.remove(l); } } Loading Loading
telecomm/java/android/telecom/Connection.java +3 −3 Original line number Original line Diff line number Diff line Loading @@ -857,7 +857,7 @@ public abstract class Connection extends Conferenceable { } } /** @hide */ /** @hide */ public abstract static class Listener { abstract static class Listener { public void onStateChanged(Connection c, int state) {} public void onStateChanged(Connection c, int state) {} public void onAddressChanged(Connection c, Uri newAddress, int presentation) {} public void onAddressChanged(Connection c, Uri newAddress, int presentation) {} public void onCallerDisplayNameChanged( public void onCallerDisplayNameChanged( Loading Loading @@ -2005,7 +2005,7 @@ public abstract class Connection extends Conferenceable { * * * @hide * @hide */ */ public final Connection addConnectionListener(Listener l) { final Connection addConnectionListener(Listener l) { mListeners.add(l); mListeners.add(l); return this; return this; } } Loading @@ -2018,7 +2018,7 @@ public abstract class Connection extends Conferenceable { * * * @hide * @hide */ */ public final Connection removeConnectionListener(Listener l) { final Connection removeConnectionListener(Listener l) { if (l != null) { if (l != null) { mListeners.remove(l); mListeners.remove(l); } } Loading