Messaging: Let there be lambdas

Change-Id: Iee1fc46c92ea9159abb10d92d34baee937bdee0c
This commit is contained in:
Michael W
2024-12-26 14:55:12 +01:00
parent c1b4aa4dfe
commit d43b6ff1c4
84 changed files with 991 additions and 1697 deletions
@@ -129,13 +129,8 @@ public class BugleCarrierConfigValuesLoader implements CarrierConfigValuesLoader
try {
parser = subContext.getResources().getXml(R.xml.mms_config);
final ApnsXmlProcessor processor = ApnsXmlProcessor.get(parser);
processor.setMmsConfigHandler(new ApnsXmlProcessor.MmsConfigHandler() {
@Override
public void process(final String mccMnc, final String key, final String value,
final String type) {
update(values, type, key, value);
}
});
processor.setMmsConfigHandler((mccMnc, key, value, type) ->
update(values, type, key, value));
processor.process();
} catch (final Resources.NotFoundException e) {
LogUtil.w(LogUtil.BUGLE_TAG, "Can not find mms_config.xml");