fix potential memory leak

use fclose() before return.

Change-Id: I3ed193464cc0dc90e9935ae19162667ad367628b
remove some lag launching apps and improve scrolling

Change-Id: I5f14c87d261e9855ea1272a0e3964cef42361ad0
Frameworks: just rearrange a bit

Change-Id: If947f9efc6af5c0d0ac7ce1d0786443722c148a2
Set dreams feature disabled by Default

Change-Id: I102715c1b0376a412282031489e2040f71f0d701
Avoid NPE when stop() is called inside callback

stop can be called inside onMotionChange. Since that mLastAcceleration
is null and it makes NPE when mUpdateRunnable is being excuted next
time.

Change-Id: I7ed276ef63eb7fcb8fcf4dedc53eba0b13fdc539
Signed-off-by: Alan Jeon <skyisle@gmail.com>
Try to fix null window errors when hangling home action

Change-Id: I6b5cd4010fd619cbc9c1294d76d74b82f61f7839