Merge change 7545 into donut
* changes: MountListener: When we connect to vold, explicitly mount external storage. Vold no longer mounts storage automatically so it doesnt interfere with the framework booting.
This commit is contained in:
@@ -202,6 +202,7 @@ final class MountListener implements Runnable {
|
|||||||
byte[] buffer = new byte[100];
|
byte[] buffer = new byte[100];
|
||||||
|
|
||||||
writeCommand(VOLD_CMD_SEND_UMS_STATUS);
|
writeCommand(VOLD_CMD_SEND_UMS_STATUS);
|
||||||
|
mountMedia(Environment.getExternalStorageDirectory().getAbsolutePath());
|
||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
int count = inputStream.read(buffer);
|
int count = inputStream.read(buffer);
|
||||||
|
|||||||
Reference in New Issue
Block a user