Skip to content
Snippets Groups Projects
Commit 398cdbe6 authored by Lorenzo Colitti's avatar Lorenzo Colitti
Browse files

Ensure apps can't directly access the dnsresolver service.

Test: test-only change
Change-Id: I142a13f4ab19ff000e2bd89a8de3c293004723ff
parent 8454fb5f
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