Messaging: Language cleanup
No unnecessary boxing, enhanced for loops, redundant checks and throws, imports (removal, reordering), possible void returns Change-Id: I7a8e1b2007e3b0906e01b41785c518d02c2f3fab
This commit is contained in:
@@ -107,9 +107,7 @@ public class BugleCarrierConfigValuesLoader implements CarrierConfigValuesLoader
|
||||
try {
|
||||
final Bundle systemValues =
|
||||
PhoneUtils.get(subId).getSmsManager().getCarrierConfigValues();
|
||||
if (systemValues != null) {
|
||||
values.putAll(systemValues);
|
||||
}
|
||||
values.putAll(systemValues);
|
||||
} catch (final Exception e) {
|
||||
LogUtil.w(LogUtil.BUGLE_TAG, "Calling system getCarrierConfigValues exception", e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user