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

Commit a738a7d9 authored by Ying Wang's avatar Ying Wang Committed by Android (Google) Code Review
Browse files

Merge "Add screen layout size as one of the resource filtering axes."

parents 75a1ef8d 4a223cdd
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2607,6 +2607,9 @@ ResourceFilter::match(const ResTable_config& config) const
    if (!match(AXIS_SCREENSIZE, config.screenSize)) {
        return false;
    }
    if (!match(AXIS_SCREENLAYOUTSIZE, config.screenLayout&ResTable_config::MASK_SCREENSIZE)) {
        return false;
    }
    if (!match(AXIS_VERSION, config.version)) {
        return false;
    }