Descriptionchromeos: Move EnableScreenLock to PowerManagerClient from PowerLibrary
Part of libcros removal. Directly writing to the prefs file, instead of going
thru libcros.
BUG=chromium-os:16558
TEST=Go to VT2 and make sure /var/lib/power_manager/lock_on_idle_suspend does not exist (delete if it does). Type 'stop powerd'. Sign in as a user. Press power button to lock screen. Go to VT2 and look at /var/lib/power_manager/lock_on_idle_suspend. The file should have been created.
Signed-off-by: Simon Que <sque@chromium.org>
R=satorux@chromium.org,stevenjb@chromium.org
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=111248
Patch Set 1 #
Total comments: 5
Patch Set 2 : Created separate screen lock settings file #Patch Set 3 : Added new files #Patch Set 4 : Removed power_manager_client.cc from patch #
Total comments: 8
Patch Set 5 : Added thread checks, created separate file thread func, removed unneeded includes #
Total comments: 2
Patch Set 6 : Changed based on latest comment #Patch Set 7 : Rebased #Patch Set 8 : Fixed missing ) #Patch Set 9 : Rebased #
Messages
Total messages: 14 (0 generated)
|