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

Commit ac265349 authored by Dianne Hackborn's avatar Dianne Hackborn
Browse files

Fix issue #37470038: API Review: ServiceConnection.onBindingDead()

Renamed.

Test: booted and ran.

Change-Id: Ic21f7ef66d43fb6db9f7ebbc833f28c09474ea59
parent 6e8f1166
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -9892,7 +9892,7 @@ package android.content {
  }
  public abstract interface ServiceConnection {
    method public default void onBindingDead(android.content.ComponentName);
    method public default void onBindingDied(android.content.ComponentName);
    method public abstract void onServiceConnected(android.content.ComponentName, android.os.IBinder);
    method public abstract void onServiceDisconnected(android.content.ComponentName);
  }
+1 −1
Original line number Diff line number Diff line
@@ -10466,7 +10466,7 @@ package android.content {
  }
  public abstract interface ServiceConnection {
    method public default void onBindingDead(android.content.ComponentName);
    method public default void onBindingDied(android.content.ComponentName);
    method public abstract void onServiceConnected(android.content.ComponentName, android.os.IBinder);
    method public abstract void onServiceDisconnected(android.content.ComponentName);
  }
+1 −1
Original line number Diff line number Diff line
@@ -9926,7 +9926,7 @@ package android.content {
  }
  public abstract interface ServiceConnection {
    method public default void onBindingDead(android.content.ComponentName);
    method public default void onBindingDied(android.content.ComponentName);
    method public abstract void onServiceConnected(android.content.ComponentName, android.os.IBinder);
    method public abstract void onServiceDisconnected(android.content.ComponentName);
  }
+1 −1
Original line number Diff line number Diff line
@@ -1598,7 +1598,7 @@ public final class LoadedApk {
                mConnection.onServiceDisconnected(name);
            }
            if (dead) {
                mConnection.onBindingDead(name);
                mConnection.onBindingDied(name);
            }
            // If there is a new service, it is now connected.
            if (service != null) {
+1 −1
Original line number Diff line number Diff line
@@ -61,6 +61,6 @@ public interface ServiceConnection {
     * @param name The concrete component name of the service whose
     * connection is dead.
     */
    default void onBindingDead(ComponentName name) {
    default void onBindingDied(ComponentName name) {
    }
}