Try to fix Stack Overflow Error
frameworks/base: Call setDirtyRect to update dirty rectangle

This change updates dirty rectangle instead of dirty region of a
surface.

Change-Id: Ic5c6e68ff644911a596a2432fd14868edbff9b17

Conflicts:
	core/java/android/view/HardwareRenderer.java
	core/java/android/view/Surface.java
	core/jni/android_view_Surface.cpp
Cleanup theme assets when done with them

Before this patch if phone was left on long enough it would reboot
when a theme was applied due to files being left open.

Change-Id: I4c242249fcf6e8097789c3dd6690104296485784
Cleanup