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

Commit 28b14986 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix segmentation fault in aapt2" into sc-dev am: 30f6ef3a

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14504756

Change-Id: Ia9093bc92719235f433c5de9c2d7323f1aa5e45e
parents 3fe005a0 30f6ef3a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -135,7 +135,8 @@ class ManifestExtractor {
    template <typename Predicate>
    void Filter(Predicate&& func) {
      children_.erase(std::remove_if(children_.begin(), children_.end(),
                                     [&](const auto& e) { return func(e.get()); }));
                                     [&](const auto& e) { return func(e.get()); }),
                      children_.end());
    }

    /** Retrieves the list of children of the element. */