diff options
author | Charles Chen <charlesccchen@google.com> | 2020-12-22 09:44:53 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2020-12-22 09:44:53 +0000 |
commit | 465c67dfd52077d3e8cd93e007cd8c7c178985c7 (patch) | |
tree | 540988aa2251d64a09445806f3894e01d1db9477 /test-mock | |
parent | bdfa53714d15132da684aac81db2e0c7a2823561 (diff) | |
parent | b63b92922ba80f7bce086f11bff2f103da9e7b38 (diff) |
Merge "Introduce #createWindowContext with display"
Diffstat (limited to 'test-mock')
-rw-r--r-- | test-mock/src/android/test/mock/MockContext.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test-mock/src/android/test/mock/MockContext.java b/test-mock/src/android/test/mock/MockContext.java index cf3b03cae72e..f7cebd12fcff 100644 --- a/test-mock/src/android/test/mock/MockContext.java +++ b/test-mock/src/android/test/mock/MockContext.java @@ -817,6 +817,11 @@ public class MockContext extends Context { } @Override + public @NonNull Context createWindowContext(Display display, int type, Bundle options) { + throw new UnsupportedOperationException(); + } + + @Override public boolean isRestricted() { throw new UnsupportedOperationException(); } |