Loading media/java/android/media/MediaScannerConnection.java +5 −0 Original line number Diff line number Diff line Loading @@ -133,6 +133,10 @@ public class MediaScannerConnection implements ServiceConnection { } try { mContext.unbindService(this); if (mClient instanceof ClientProxy) { mClient = null; } mService = null; } catch (IllegalArgumentException ex) { if (false) { Log.v(TAG, "disconnect failed: " + ex); Loading Loading @@ -205,6 +209,7 @@ public class MediaScannerConnection implements ServiceConnection { void scanNextPath() { if (mNextPath >= mPaths.length) { mConnection.disconnect(); mConnection = null; return; } String mimeType = mMimeTypes != null ? mMimeTypes[mNextPath] : null; Loading Loading
media/java/android/media/MediaScannerConnection.java +5 −0 Original line number Diff line number Diff line Loading @@ -133,6 +133,10 @@ public class MediaScannerConnection implements ServiceConnection { } try { mContext.unbindService(this); if (mClient instanceof ClientProxy) { mClient = null; } mService = null; } catch (IllegalArgumentException ex) { if (false) { Log.v(TAG, "disconnect failed: " + ex); Loading Loading @@ -205,6 +209,7 @@ public class MediaScannerConnection implements ServiceConnection { void scanNextPath() { if (mNextPath >= mPaths.length) { mConnection.disconnect(); mConnection = null; return; } String mimeType = mMimeTypes != null ? mMimeTypes[mNextPath] : null; Loading