Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 72ec5add authored by Elliott Hughes's avatar Elliott Hughes Committed by android-build-merger
Browse files

Merge "libpackageparser: C rules for bools." am: 92a3594b am: 1fabf616

am: af3ae05d

Change-Id: I194fade095f854e0d4b21b3398590b3fae235dea
parents f683e5dd af3ae05d
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -92,10 +92,7 @@ static bool parse_line(const char* path, size_t line_number, const char* line, p
  info->uid = uid;

  // Integer to bool conversions.
  if (debuggable != 0 && debuggable != 1) return false;
  info->debuggable = debuggable;

  if (profileable_from_shell != 0 && profileable_from_shell != 1) return false;
  info->profileable_from_shell = profileable_from_shell;

  return true;