Commits

Stephen Smalley  committed 305b2d8 Merge

Merge branch 'master' into seandroid

  • Participants
  • Parent commits e3efa43, e71afc2
  • Branches seandroid

Comments (0)

Files changed (1)

File services/java/com/android/server/MountService.java

     public void unregisterListener(IMountServiceListener listener) {
         synchronized (mListeners) {
             for(MountServiceBinderListener bl : mListeners) {
-                if (bl.mListener == listener) {
+                if (bl.mListener.asBinder() == listener.asBinder()) {
                     mListeners.remove(mListeners.indexOf(bl));
                     listener.asBinder().unlinkToDeath(bl, 0);
                     return;