diff options
| -rw-r--r-- | cmds/installd/commands.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/installd/commands.cpp b/cmds/installd/commands.cpp index d3efb7c0b8..757290fa68 100644 --- a/cmds/installd/commands.cpp +++ b/cmds/installd/commands.cpp @@ -1066,7 +1066,7 @@ int dexopt(const char *apk_path, uid_t uid, const char *pkgname, const char *ins 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"); } |