aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Wright <michaelwr@google.com>2022-06-10 16:44:02 +0100
committerMichael Wright <michaelwr@google.com>2022-06-10 17:16:35 +0100
commit90bc03413959ad387d2a6ec37116b62de6f4b84e (patch)
tree0278293236be566d84e3b7c1c2a8be2452856f74
parent9dee19d729fb2ca970050de5abc761833c238d11 (diff)
downloadrobolectric-shadows-90bc03413959ad387d2a6ec37116b62de6f4b84e.tar.gz
Update IDisplayManager proxy.android13-dev
IDisplayManager's interface signature has changed, breaking robolectric's proxy. Update this interface to match. Bug: 221071695 Test: atest ChargingReceiverTest Change-Id: I966d2c07d9f88cfcf0d9f78b263fd8bf5fe6c800
-rw-r--r--shadows/framework/src/main/java/org/robolectric/shadows/ShadowDisplayManagerGlobal.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/shadows/framework/src/main/java/org/robolectric/shadows/ShadowDisplayManagerGlobal.java b/shadows/framework/src/main/java/org/robolectric/shadows/ShadowDisplayManagerGlobal.java
index 8f730a9cb..b9691d104 100644
--- a/shadows/framework/src/main/java/org/robolectric/shadows/ShadowDisplayManagerGlobal.java
+++ b/shadows/framework/src/main/java/org/robolectric/shadows/ShadowDisplayManagerGlobal.java
@@ -81,7 +81,7 @@ public class ShadowDisplayManagerGlobal {
}
// @Override // todo: use @Implements/@Implementation for signature checking
- public int[] getDisplayIds() throws RemoteException {
+ public int[] getDisplayIds(boolean includeDisabledDisplays) throws RemoteException {
int[] ids = new int[displayInfos.size()];
int i = 0;
for (Integer displayId : displayInfos.keySet()) {