Fix constants name in comment

This commit is contained in:
Romain Vimont 2020-07-07 15:46:50 +02:00
parent 334964c380
commit 5fa46ad0c7

View file

@ -228,7 +228,7 @@ public final class Device {
} }
/** /**
* @param mode one of the {@code SCREEN_POWER_MODE_*} constants * @param mode one of the {@code POWER_MODE_*} constants
*/ */
public static boolean setScreenPowerMode(int mode) { public static boolean setScreenPowerMode(int mode) {
IBinder d = SurfaceControl.getBuiltInDisplay(); IBinder d = SurfaceControl.getBuiltInDisplay();