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

Commit e6436d95 authored by Jing Ji's avatar Jing Ji Committed by Android (Google) Code Review
Browse files

Merge "Don't call onNullBinding when the service host is dead" into sc-dev

parents 10102d8e 980dc5ae
Loading
Loading
Loading
Loading
+7 −6
Original line number Diff line number Diff line
@@ -2060,7 +2060,7 @@ public final class LoadedApk {
            }
            if (dead) {
                mConnection.onBindingDied(name);
            }
            } else {
                // If there is a new viable service, it is now connected.
                if (service != null) {
                    mConnection.onServiceConnected(name, service);
@@ -2069,6 +2069,7 @@ public final class LoadedApk {
                    mConnection.onNullBinding(name);
                }
            }
        }

        public void doDeath(ComponentName name, IBinder service) {
            synchronized (this) {