Merge "Fix the dock-insertion Dream entry codepath." into jb-mr1-dev

This commit is contained in:
John Spurlock
2012-08-09 08:17:14 -07:00
committed by Android (Google) Code Review

View File

@@ -426,7 +426,7 @@ public class PowerManagerService extends IPowerManager.Stub
} }
// stop the screensaver if we're now unplugged // stop the screensaver if we're now unplugged
if (mPolicy != null) { if (mPolicy != null && wasPowered) {
mPolicy.stopScreenSaver(); mPolicy.stopScreenSaver();
} }
} }