| Index: runtime/bin/file_system_watcher_android.cc
|
| diff --git a/runtime/bin/file_system_watcher_android.cc b/runtime/bin/file_system_watcher_android.cc
|
| index 63a244a162dc7475766c1bf78060625a94651028..333bc86c8e9c08e136f9487220db589e1156aa47 100644
|
| --- a/runtime/bin/file_system_watcher_android.cc
|
| +++ b/runtime/bin/file_system_watcher_android.cc
|
| @@ -67,7 +67,7 @@ Dart_Handle FileSystemWatcher::ReadEvents(intptr_t id) {
|
| while (offset < bytes) {
|
| struct inotify_event* e =
|
| reinterpret_cast<struct inotify_event*>(buffer + offset);
|
| - Dart_Handle event = Dart_NewList(3);
|
| + Dart_Handle event = Dart_NewList(4);
|
| int mask = 0;
|
| if (e->mask & IN_MODIFY) mask |= kModifyContent;
|
| if (e->mask & IN_ATTRIB) mask |= kModefyAttribute;
|
| @@ -82,6 +82,7 @@ Dart_Handle FileSystemWatcher::ReadEvents(intptr_t id) {
|
| } else {
|
| Dart_ListSetAt(event, 2, Dart_Null());
|
| }
|
| + Dart_ListSetAt(event, 3, Dart_NewBoolean(e->mask & IN_MOVED_TO));
|
| Dart_ListSetAt(events, i, event);
|
| i++;
|
| offset += kEventSize + e->len;
|
|
|