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

Commit 17350886 authored by Joe Onorato's avatar Joe Onorato Committed by Android Git Automerger
Browse files

am d3f6c1fa: am 0c39b6c6: Merge "Add a missing break; to restore old...

am d3f6c1fa: am 0c39b6c6: Merge "Add a missing break; to restore old functionality and not turn off the screen after 30secs regardless of system preference." into gingerbread

Merge commit 'd3f6c1fa'

* commit 'd3f6c1fa':
  Add a missing break; to restore old functionality and not turn off the screen after 30secs regardless of system preference.
parents ff0aff19 d3f6c1fa
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1052,6 +1052,7 @@ class PowerManagerService extends IPowerManager.Stub
                        case SCREEN_DIM:
                            if (mDimDelay >= 0) {
                                when = now + mDimDelay;
                                break;
                            } else {
                                Slog.w(TAG, "mDimDelay=" + mDimDelay + " while trying to dim");
                            }
@@ -1060,6 +1061,9 @@ class PowerManagerService extends IPowerManager.Stub
                                when = now + mScreenOffDelay;
                            }
                            break;
                        default:
                            when = now;
                            break;
                    }
                } else {
                    override: {