Loading core/java/com/android/server/SystemConfig.java +2 −2 Original line number Diff line number Diff line Loading @@ -849,8 +849,8 @@ public class SystemConfig { XmlUtils.skipCurrentTag(parser); } } break; case "updatable-library": // "updatable-library" is meant to behave exactly like "library" case "apex-library": // "apex-library" is meant to behave exactly like "library" case "library": { if (allowLibs) { String lname = parser.getAttributeValue(null, "name"); Loading services/tests/servicestests/src/com/android/server/systemconfig/SystemConfigTest.java +2 −2 Original line number Diff line number Diff line Loading @@ -357,13 +357,13 @@ public class SystemConfigTest { /** * Tests that readPermissions works correctly for a library using the new * {@code updatable-library} tag. * {@code apex-library} tag. */ @Test public void readPermissions_allowLibs_parsesUpdatableLibrary() throws IOException { String contents = "<permissions>\n" + " <updatable-library \n" + " <apex-library \n" + " name=\"foo\"\n" + " file=\"" + mFooJar + "\"\n" + " on-bootclasspath-before=\"10\"\n" Loading Loading
core/java/com/android/server/SystemConfig.java +2 −2 Original line number Diff line number Diff line Loading @@ -849,8 +849,8 @@ public class SystemConfig { XmlUtils.skipCurrentTag(parser); } } break; case "updatable-library": // "updatable-library" is meant to behave exactly like "library" case "apex-library": // "apex-library" is meant to behave exactly like "library" case "library": { if (allowLibs) { String lname = parser.getAttributeValue(null, "name"); Loading
services/tests/servicestests/src/com/android/server/systemconfig/SystemConfigTest.java +2 −2 Original line number Diff line number Diff line Loading @@ -357,13 +357,13 @@ public class SystemConfigTest { /** * Tests that readPermissions works correctly for a library using the new * {@code updatable-library} tag. * {@code apex-library} tag. */ @Test public void readPermissions_allowLibs_parsesUpdatableLibrary() throws IOException { String contents = "<permissions>\n" + " <updatable-library \n" + " <apex-library \n" + " name=\"foo\"\n" + " file=\"" + mFooJar + "\"\n" + " on-bootclasspath-before=\"10\"\n" Loading