Merge "Make Connection.Listener methods package private."

am: 9c3abc4692

Change-Id: I663bdc237ba16e60defe4bb9d8ccffd9ddede4b9
This commit is contained in:
Tyler Gunn
2019-10-31 11:22:26 -07:00
committed by android-build-merger

View File

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