diff options
author | Wale Ogunwale <ogunwale@google.com> | 2019-02-11 03:09:10 -0800 |
---|---|---|
committer | Wale Ogunwale <ogunwale@google.com> | 2019-02-21 20:15:56 -0800 |
commit | 691af68a3c07f0cd5371528cc4ca094f8fa8f505 (patch) | |
tree | 3f953a177acda48551df8859c87f77f5e638d805 /test-mock | |
parent | f4ac4e7fb1cb13f9c7ef7e683ce3455d99ed028c (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.txt | 4 |
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); |