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

Commit c2ac6e03 authored by Edward Wang's avatar Edward Wang
Browse files

Support multiple SAR values, separate args list with ','

Issue-Id: YAM-68

Change-Id: I21fcb3128a115388ed25d61daae88f4f3356929a
(cherry picked from commit c4ce19ad)
parent c971ae3f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -425,9 +425,9 @@ public class Status extends InstrumentedPreferenceActivity {

    public static String getSarValues(Resources res) {
        String headLevel = String.format(res.getString(R.string.maximum_head_level,
                res.getString(R.string.sar_head_level)));
                TextUtils.split(res.getString(R.string.sar_head_level), ",")));
        String bodyLevel = String.format(res.getString(R.string.maximum_body_level,
                res.getString(R.string.sar_body_level)));
                TextUtils.split(res.getString(R.string.sar_body_level), ",")));
        return headLevel + "\n" + bodyLevel;
    }