Halo: task on home
All credits to ParanoidAndroid and drcmda

Change-Id: Ic6c6a431a583ad4af8cdcd5771824585c24add80
Prevent FC in low memory conditions

Add missing null cursor checks

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: I974eea82cac3dfe3a01e5d79c1721d3514f940f6
merge changes from remotes/github/cm-10.1 into master