diff options
author | Oran Avraham <oranav@gmail.com> | 2012-11-02 18:18:48 +0200 |
---|---|---|
committer | Oran Avraham <oranav@gmail.com> | 2012-11-02 18:18:48 +0200 |
commit | 3e61f1d12494ac0f456623681f12edf9b356245f (patch) | |
tree | 7048d110687d801d0f538bf46b96c19ac3dc0c11 /DirectVolume.cpp | |
parent | 42c34c801f918507397754f185f85d79d8558d39 (diff) | |
download | system_vold-3e61f1d12494ac0f456623681f12edf9b356245f.tar.gz system_vold-3e61f1d12494ac0f456623681f12edf9b356245f.tar.bz2 system_vold-3e61f1d12494ac0f456623681f12edf9b356245f.zip |
UMS support with any volume, not only primary (1/3)
This patch enables UMS support when any volume supports it, even when the
primary storage doesn't.
1. Vold: assign lun_numbers sequentially to the volumes being added to the
VolumeManager.
2. Fix portions of code which assume that the device has UMS support iff the
primary storage supports UMS.
Instead, determine whether the device supports UMS by checking each volume.
3. Display the UMS option in Settings.apk when any volume supports it.
Change-Id: I3976ee4a26f1ae7bd3faee814d3740312588f4c8
Signed-off-by: Oran Avraham <oranav@gmail.com>
Diffstat (limited to 'DirectVolume.cpp')
0 files changed, 0 insertions, 0 deletions