Merge "Avoid printing call stack for the app that doesn't add the LocaleConfig" into tm-dev

This commit is contained in:
Calvin Pan
2022-05-20 01:52:46 +00:00
committed by Android (Google) Code Review

View File

@@ -99,7 +99,7 @@ public class LocaleConfig {
XmlResourceParser parser = res.getXml(resId); XmlResourceParser parser = res.getXml(resId);
parseLocaleConfig(parser, res); parseLocaleConfig(parser, res);
} catch (Resources.NotFoundException e) { } catch (Resources.NotFoundException e) {
Slog.w(TAG, "The resource file pointed to by the given resource ID isn't found.", e); Slog.w(TAG, "The resource file pointed to by the given resource ID isn't found.");
mStatus = STATUS_NOT_SPECIFIED; mStatus = STATUS_NOT_SPECIFIED;
} catch (XmlPullParserException | IOException e) { } catch (XmlPullParserException | IOException e) {
Slog.w(TAG, "Failed to parse XML configuration from " Slog.w(TAG, "Failed to parse XML configuration from "