Loading services/core/java/com/android/server/display/LocalDisplayAdapter.java +1 −6 Original line number Diff line number Diff line Loading @@ -683,12 +683,7 @@ final class LocalDisplayAdapter extends DisplayAdapter { setDisplayState(Display.STATE_ON); currentState = Display.STATE_ON; } else { if (oldState == Display.STATE_UNKNOWN) { // There's no guarantee about what the initial state is // at startup, so we have to set it if previous was UNKNOWN. setDisplayState(state); } return; return; // old state and new state is off } } Loading Loading
services/core/java/com/android/server/display/LocalDisplayAdapter.java +1 −6 Original line number Diff line number Diff line Loading @@ -683,12 +683,7 @@ final class LocalDisplayAdapter extends DisplayAdapter { setDisplayState(Display.STATE_ON); currentState = Display.STATE_ON; } else { if (oldState == Display.STATE_UNKNOWN) { // There's no guarantee about what the initial state is // at startup, so we have to set it if previous was UNKNOWN. setDisplayState(state); } return; return; // old state and new state is off } } Loading