Fix bug #6522190 MountService should respond to configuration changes ("INTERNAL STORAGE" string should be translated dynamically)
- 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
This commit is contained in:
@@ -162,7 +162,7 @@ public class StorageVolumePreferenceCategory extends PreferenceCategory implemen
|
||||
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);
|
||||
|
Reference in New Issue
Block a user