Merge "Fix the dock-insertion Dream entry codepath." into jb-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
7c46e4380e
@@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user