Notify when disk scan finished.
Bug: 19993667
Change-Id: I20dc183a35c11b5b4ba6139e690929b9c279b830
diff --git a/Disk.cpp b/Disk.cpp
index 5e222b3..833db1d 100644
--- a/Disk.cpp
+++ b/Disk.cpp
@@ -305,10 +305,7 @@
}
#endif
- // Well this is embarrassing, we can't handle the disk
- if (mVolumes.size() == 0) {
- notifyEvent(ResponseCode::DiskUnsupported);
- }
+ notifyEvent(ResponseCode::DiskScanned);
mJustPartitioned = false;
return OK;
diff --git a/ResponseCode.h b/ResponseCode.h
index 2430f99..d1b5f75 100644
--- a/ResponseCode.h
+++ b/ResponseCode.h
@@ -69,7 +69,7 @@
static const int DiskCreated = 640;
static const int DiskSizeChanged = 641;
static const int DiskLabelChanged = 642;
- static const int DiskUnsupported = 643;
+ static const int DiskScanned = 643;
static const int DiskDestroyed = 649;
static const int VolumeCreated = 650;