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

Commit d554f7c5 authored by Donald Chai's avatar Donald Chai
Browse files

Fix uninitialized variable.

"aapt2 optimize" without --enable-resource-path-shortening should not do
resource-path-shortening.

Bug: 75965637
Change-Id: Ibcbf325e66ed7992bf81184260abd63711b2af2a
parent aeb0ef48
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -57,7 +57,7 @@ struct OptimizeOptions {
  std::unordered_set<std::string> kept_artifacts;

  // Whether or not to shorten resource paths in the APK.
  bool shorten_resource_paths;
  bool shorten_resource_paths = false;

  // Path to the output map of original resource paths to shortened paths.
  Maybe<std::string> shortened_paths_map_path;