resolved conflicts for merge of 068ee4d0 to mnc-dr-dev-plus-aosp
Change-Id: Ie7b2673e24ce4880c20112d64164cec228ca5755
diff --git a/adb/file_sync_service.cpp b/adb/file_sync_service.cpp
index 85170ad..fb49f5e 100644
--- a/adb/file_sync_service.cpp
+++ b/adb/file_sync_service.cpp
@@ -305,7 +305,7 @@
gid_t gid = -1;
uint64_t cap = 0;
if (should_use_fs_config(path)) {
- unsigned int broken_api_hack;
+ unsigned int broken_api_hack = mode;
fs_config(path.c_str(), 0, nullptr, &uid, &gid, &broken_api_hack, &cap);
mode = broken_api_hack;
}