Libcore change - fixed rare problem seen with Wake Lock handling.