diff options
Diffstat (limited to 'src/com/android/providers/media/MediaProvider.java')
-rwxr-xr-x | src/com/android/providers/media/MediaProvider.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/com/android/providers/media/MediaProvider.java b/src/com/android/providers/media/MediaProvider.java index 5ebb541c..351e9dd8 100755 --- a/src/com/android/providers/media/MediaProvider.java +++ b/src/com/android/providers/media/MediaProvider.java @@ -2307,7 +2307,7 @@ public class MediaProvider extends ContentProvider { // Used temporarily (until we have unique media IDs) to get an identifier // for the current sd card, so that the music app doesn't have to use the - // non-public getFatVolumeId method + // non-public getVolumeId method if (table == FS_ID) { MatrixCursor c = new MatrixCursor(new String[] {"fsid"}); c.addRow(new Integer[] {mVolumeId}); @@ -5406,11 +5406,11 @@ public class MediaProvider extends ContentProvider { helper = new DatabaseHelper(context, INTERNAL_DATABASE_NAME, true, false, mObjectRemovedCallback); } else if (EXTERNAL_VOLUME.equals(volume)) { - // Only extract FAT volume ID for primary public + // Only extract volume ID for primary public final VolumeInfo vol = mStorageManager.getPrimaryPhysicalVolume(); if (vol != null) { final StorageVolume actualVolume = mStorageManager.getPrimaryVolume(); - final int volumeId = actualVolume.getFatVolumeId(); + final int volumeId = actualVolume.getVolumeId(); // Must check for failure! // If the volume is not (yet) mounted, this will create a new @@ -5423,8 +5423,8 @@ public class MediaProvider extends ContentProvider { Environment.MEDIA_MOUNTED_READ_ONLY.equals(state)) { // This may happen if external storage was _just_ mounted. It may also // happen if the volume ID is _actually_ 0xffffffff, in which case it - // must be changed since FileUtils::getFatVolumeId doesn't allow for - // that. It may also indicate that FileUtils::getFatVolumeId is broken + // must be changed since FileUtils::getVolumeId doesn't allow for + // that. It may also indicate that FileUtils::getVolumeId is broken // (missing ioctl), which is also impossible to disambiguate. Log.e(TAG, "Can't obtain external volume ID even though it's mounted."); } else { @@ -5587,7 +5587,7 @@ public class MediaProvider extends ContentProvider { // name of the volume currently being scanned by the media scanner (or null) private String mMediaScannerVolume; - // current FAT volume ID + // current volume ID private int mVolumeId = -1; static final String INTERNAL_VOLUME = "internal"; |