Loading media/java/android/media/browse/MediaBrowser.java +18 −14 Original line number Diff line number Diff line Loading @@ -212,6 +212,9 @@ public final class MediaBrowser { // It's ok to call this any state, because allowing this lets apps not have // to check isConnected() unnecessarily. They won't appreciate the extra // assertions for this. We do everything we can here to go back to a sane state. mHandler.post(new Runnable() { @Override public void run() { if (mServiceCallbacks != null) { try { mServiceBinder.disconnect(mServiceCallbacks); Loading @@ -222,12 +225,13 @@ public final class MediaBrowser { } } forceCloseConnection(); if (DBG) { Log.d(TAG, "disconnect..."); dump(); } } }); } /** * Null out the variables and unbind from the service. This doesn't include Loading Loading
media/java/android/media/browse/MediaBrowser.java +18 −14 Original line number Diff line number Diff line Loading @@ -212,6 +212,9 @@ public final class MediaBrowser { // It's ok to call this any state, because allowing this lets apps not have // to check isConnected() unnecessarily. They won't appreciate the extra // assertions for this. We do everything we can here to go back to a sane state. mHandler.post(new Runnable() { @Override public void run() { if (mServiceCallbacks != null) { try { mServiceBinder.disconnect(mServiceCallbacks); Loading @@ -222,12 +225,13 @@ public final class MediaBrowser { } } forceCloseConnection(); if (DBG) { Log.d(TAG, "disconnect..."); dump(); } } }); } /** * Null out the variables and unbind from the service. This doesn't include Loading