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

Commit 3266b697 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix aapt badging segmentation fault" into sc-dev

parents b04efdff 957168e2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1121,8 +1121,8 @@ int doDump(Bundle* bundle)

                // Skip all "uses-sdk" tags besides the very last tag. The android runtime only uses
                // the attribute values from the last defined tag.
                for (size_t i = 0; i < usesSdkTagPositions.size() - 1; i++) {
                    tagsToSkip.emplace_back(usesSdkTagPositions[i]);
                for (size_t i = 1; i < usesSdkTagPositions.size(); i++) {
                    tagsToSkip.emplace_back(usesSdkTagPositions[i - 1]);
                }

                // Reset the position before parsing.