summaryrefslogtreecommitdiff
path: root/test-mock
diff options
context:
space:
mode:
authorWale Ogunwale <ogunwale@google.com>2019-02-11 03:09:10 -0800
committerWale Ogunwale <ogunwale@google.com>2019-02-21 20:15:56 -0800
commit691af68a3c07f0cd5371528cc4ca094f8fa8f505 (patch)
tree3f953a177acda48551df8859c87f77f5e638d805 /test-mock
parentf4ac4e7fb1cb13f9c7ef7e683ce3455d99ed028c (diff)
Added some TestApi that are already used by CTS
Allows us to remove the use of private platform API from CTS. Bug: 124134247 Test: builds Change-Id: Iceb81ff7c9385e877d2612fbb7b506245d116928
Diffstat (limited to 'test-mock')
-rw-r--r--test-mock/api/test-current.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/test-mock/api/test-current.txt b/test-mock/api/test-current.txt
index 0cb8f22d8070..6765316a304b 100644
--- a/test-mock/api/test-current.txt
+++ b/test-mock/api/test-current.txt
@@ -1,6 +1,10 @@
// Signature format: 2.0
package android.test.mock {
+ public class MockContext extends android.content.Context {
+ method public android.view.Display getDisplay();
+ }
+
@Deprecated public class MockPackageManager extends android.content.pm.PackageManager {
method public boolean arePermissionsIndividuallyControlled();
method public String getDefaultBrowserPackageNameAsUser(int);