Skip to content

Commit

Permalink
Platform compatibility enhancements
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 356433035
  • Loading branch information
hoisie committed Feb 13, 2021
1 parent 52beb70 commit 4f1fdb3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import static android.os.Build.VERSION_CODES.JELLY_BEAN_MR1;
import static android.os.Build.VERSION_CODES.P;
import static android.os.Build.VERSION_CODES.Q;
import static android.os.Build.VERSION_CODES.R;
import static com.google.common.truth.Truth.assertThat;
import static org.junit.Assert.fail;
import static org.robolectric.Shadows.shadowOf;
Expand Down Expand Up @@ -330,7 +331,7 @@ public void getBrightnessEvent_unset_shouldReturnEmpty() {
}

@Test
@Config(minSdk = Q)
@Config(minSdk = Q, maxSdk = R)
public void getBrightnessEvent_setToValue_shouldReturnValue() {
List<BrightnessChangeEvent> events = new ArrayList<>();
events.add(
Expand Down

0 comments on commit 4f1fdb3

Please sign in to comment.