am 7c46e438: Merge "Fix the dock-insertion Dream entry codepath." into jb-mr1-dev
* commit '7c46e4380e6c50c30aad80807f87af25f000c7ff': Fix the dock-insertion Dream entry codepath.
This commit is contained in:
@@ -426,7 +426,7 @@ public class PowerManagerService extends IPowerManager.Stub
|
||||
}
|
||||
|
||||
// stop the screensaver if we're now unplugged
|
||||
if (mPolicy != null) {
|
||||
if (mPolicy != null && wasPowered) {
|
||||
mPolicy.stopScreenSaver();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user