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

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

Merge "Framework: Avoid string allocations"

parents a33ae2d8 e9a5262f
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -32,11 +32,10 @@ public final class SELinuxUtil {

    /** @hide */
    public static String assignSeinfoUser(PackageUserState userState) {
        String seInfo = "";
        if (userState.instantApp)
            seInfo += INSTANT_APP_STR;
        seInfo += COMPLETE_STR;
        return seInfo;
        if (userState.instantApp) {
           return INSTANT_APP_STR + COMPLETE_STR;
        }
        return COMPLETE_STR;
    }

}