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

Commit fbba9b57 authored by Adam Lesinski's avatar Adam Lesinski Committed by Android (Google) Code Review
Browse files

Merge "AAPT: Dump status of required flag for uses-feature" into lmp-mr1-dev

parents 7781647a 73a05114
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -516,12 +516,10 @@ static void printFeatureGroup(const FeatureGroup& grp,

    const size_t numFeatures = grp.features.size();
    for (size_t i = 0; i < numFeatures; i++) {
        if (!grp.features[i]) {
            continue;
        }
        const bool required = grp.features[i];

        const String8& featureName = grp.features.keyAt(i);
        printf("  uses-feature: name='%s'\n",
        printf("  uses-feature%s: name='%s'\n", (required ? "" : "-not-required"),
                ResTable::normalizeForOutput(featureName.string()).string());
    }