From ea325634d3c465817c48f31ad2d5b047661128a6 Mon Sep 17 00:00:00 2001 From: Andrii Kulian Date: Tue, 28 Jan 2020 17:52:57 -0800 Subject: 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 --- test-mock/src/android/test/mock/MockContext.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test-mock') 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(); } -- cgit v1.2.3