Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9c3abc46 authored by Tyler Gunn's avatar Tyler Gunn Committed by Gerrit Code Review
Browse files

Merge "Make Connection.Listener methods package private."

parents 8d132dd3 633e4c3f
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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);
        }