- use an ID instead of a String for StorageVolume description
- use this ID for getting the correct localized version of the description string
Change-Id: If66868ecc84297322cb9a3f0b2d834f79dd019ca
mResources = resources;
mStorageVolume = storageVolume;
mStorageManager = storageManager;
- setTitle(storageVolume != null ? storageVolume.getDescription()
+ setTitle(storageVolume != null ? storageVolume.getDescription(context)
: resources.getText(R.string.internal_storage));
mMeasurement = StorageMeasurement.getInstance(context, storageVolume, isPrimary);
mMeasurement.setReceiver(this);