Merge "libbinder: Add binder::Status type"
diff --git a/cmds/installd/commands.cpp b/cmds/installd/commands.cpp
index d3efb7c..757290f 100644
--- a/cmds/installd/commands.cpp
+++ b/cmds/installd/commands.cpp
@@ -1066,7 +1066,7 @@
     bool boot_complete = (dexopt_flags & DEXOPT_BOOTCOMPLETE) != 0;
     bool use_jit = (dexopt_flags & DEXOPT_USEJIT) != 0;
 
-    if ((dexopt_flags & DEXOPT_MASK) != 0) {
+    if ((dexopt_flags & ~DEXOPT_MASK) != 0) {
         LOG_FATAL("dexopt flags contains unknown fields\n");
     }