commit | 134e9d515380503bada42a05fd3659ea7a4aa1f1 | [log] [tgz] |
---|---|---|
author | Caitlin Shkuratov <caitlinshk@google.com> | Fri Nov 22 19:50:08 2024 +0000 |
committer | Caitlin Shkuratov <caitlinshk@google.com> | Fri Nov 22 19:50:08 2024 +0000 |
tree | 117751037fcec768f436eb2b94db797f7904245e | |
parent | 51c1d767b887e6e75f7ed2810499371d46f03eb4 [diff] |
Put back annotations in DeviceStateRotationLockSettingControllerTest ag/30507320 incorrectly removed them. Bug: N/A Change-Id: If9b8e295e008cd58bc9994d6596318f7c1c1675c Flag: TEST_ONLY Test: atest DeviceStateRotationLockSettingControllerTest
diff --git a/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/DeviceStateRotationLockSettingControllerTest.java b/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/DeviceStateRotationLockSettingControllerTest.java index 564dca0..3247a1a 100644 --- a/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/DeviceStateRotationLockSettingControllerTest.java +++ b/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/DeviceStateRotationLockSettingControllerTest.java
@@ -354,8 +354,8 @@ } private static DeviceState createDeviceState(int identifier, @NonNull String name, - @NonNull Set<Integer> systemProperties, - @NonNull Set<Integer> physicalProperties) { + @NonNull Set<@DeviceState.SystemDeviceStateProperties Integer> systemProperties, + @NonNull Set<@DeviceState.PhysicalDeviceStateProperties Integer> physicalProperties) { DeviceState.Configuration deviceStateConfiguration = new DeviceState.Configuration.Builder( identifier, name).setSystemProperties(systemProperties).setPhysicalProperties( physicalProperties).build();