summaryrefslogtreecommitdiff
path: root/test-mock/src/android/test/mock/MockContext.java
diff options
context:
space:
mode:
authorAndrii Kulian <akulian@google.com>2020-01-28 17:52:57 -0800
committerAndrii Kulian <akulian@google.com>2020-01-28 17:52:57 -0800
commitea325634d3c465817c48f31ad2d5b047661128a6 (patch)
tree9392b3a28da64230191ea031242fd6db30f6185f /test-mock/src/android/test/mock/MockContext.java
parent9652ad951405498f1b2c5a305342d7c569b7c292 (diff)
Add bundle options to Context#createWindowContext API
Add Bundle parameter to createWindowContext method to allow passing window-related options. Bug: 128338354 Test: Build, auto test Change-Id: I19cf9335068ecf94c9d94a99be0e8f1021f78e34
Diffstat (limited to 'test-mock/src/android/test/mock/MockContext.java')
-rw-r--r--test-mock/src/android/test/mock/MockContext.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-mock/src/android/test/mock/MockContext.java b/test-mock/src/android/test/mock/MockContext.java
index 36074edd187e..359c44849634 100644
--- a/test-mock/src/android/test/mock/MockContext.java
+++ b/test-mock/src/android/test/mock/MockContext.java
@@ -812,7 +812,7 @@ public class MockContext extends Context {
}
@Override
- public @NonNull Context createWindowContext(int type) {
+ public @NonNull Context createWindowContext(int type, Bundle options) {
throw new UnsupportedOperationException();
}