Frameworks-base: Fix wifi-sleep-policy

Without this patch, the wifi-sleep-policy don't stop wifi. Wifi keeps turned on after the screen is off, no matter what I choose in Settings.

Taken from jelly-bean:
https://github.com/CyanogenMod/android_frameworks_base/commit/f48fb85a8c4f72ec08b98f15ec3d9c70c247de7d

Solves this issue:
http://code.google.com/p/android/issues/detail?id=23211

Change-Id: I3942827db00bd448827390bbc6ca31673d8e3397