Skip to content
Snippets Groups Projects
Commit cae5396c authored by Lorenzo Colitti's avatar Lorenzo Colitti Committed by Gerrit Code Review
Browse files

Merge "Ensure apps can't directly access the dnsresolver service." into main

parents 312b3c14 398cdbe6
No related branches found
No related tags found
No related merge requests found
......@@ -860,4 +860,9 @@ public class DnsResolverTest {
assertEquals(DnsResolver.ERROR_SYSTEM, e.code);
}
}
@Test
public void testNoRawBinderAccess() {
assertNull(mContext.getSystemService("dnsresolver"));
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment