diff options
author | Edward Wang <ewang@cyngn.com> | 2016-01-14 16:04:10 -0800 |
---|---|---|
committer | Edward Wang <ewang@cyngn.com> | 2016-01-14 17:06:31 -0800 |
commit | c2ac6e0327654b78733840542e24109820336fd6 (patch) | |
tree | bd096fc68e83acf52c899145c821ff2cb8f3a554 /src/com/android/settings/deviceinfo | |
parent | c971ae3f9f34b0b4ca5aabacb6de7e1afb9f320d (diff) | |
download | packages_apps_Settings-c2ac6e0327654b78733840542e24109820336fd6.zip packages_apps_Settings-c2ac6e0327654b78733840542e24109820336fd6.tar.gz packages_apps_Settings-c2ac6e0327654b78733840542e24109820336fd6.tar.bz2 |
Support multiple SAR values, separate args list with ','
Issue-Id: YAM-68
Change-Id: I21fcb3128a115388ed25d61daae88f4f3356929a
(cherry picked from commit c4ce19ad8fb570d9d561d3a560f6eeeeccc99de5)
Diffstat (limited to 'src/com/android/settings/deviceinfo')
-rw-r--r-- | src/com/android/settings/deviceinfo/Status.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/settings/deviceinfo/Status.java b/src/com/android/settings/deviceinfo/Status.java index 4a7cb48..270da97 100644 --- a/src/com/android/settings/deviceinfo/Status.java +++ b/src/com/android/settings/deviceinfo/Status.java @@ -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; } |