Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eddf7fce authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Adding a little more data to an exception." into sc-dev am: 02e5c210

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13579914

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2989042235cefcf067ce428ba7dc854b3d1f1315
parents 76d4fb18 02e5c210
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2404,7 +2404,7 @@ public final class SurfaceControl implements Parcelable {
        if (Float.isNaN(brightness) || brightness > 1.0f
                || (brightness < 0.0f && brightness != -1.0f)) {
            throw new IllegalArgumentException("brightness must be a number between 0.0f and 1.0f,"
                    + " or -1 to turn the backlight off.");
                    + " or -1 to turn the backlight off: " + brightness);
        }
        return nativeSetDisplayBrightness(displayToken, brightness);
    }