Apply revised TrustAgent API

Bug: 14997466
Change-Id: I3261d238bf5c6ba12eaa4259c7e06e8b41698213
This commit is contained in:
Adrian Roos
2014-05-16 14:51:03 +02:00
parent 8fb5d4a0ea
commit 3f7e0571d3

View File

@@ -158,8 +158,8 @@ public class TrustAgentSettings extends ListFragment implements View.OnClickList
&& type != XmlPullParser.START_TAG) { && type != XmlPullParser.START_TAG) {
} }
String nodeName = parser.getName(); String nodeName = parser.getName();
if (!"trust_agent".equals(nodeName)) { if (!"trust-agent".equals(nodeName)) {
Slog.w(TAG, "Meta-data does not start with trust_agent tag"); Slog.w(TAG, "Meta-data does not start with trust-agent tag");
return null; return null;
} }
TypedArray sa = res TypedArray sa = res