timob-14100: fix postlayout rect for HW windows.
Merge pull request #4359 from hieupham007/timob-14100-3_1_X

timob-14100: fix postlayout rect for HW windows.
Merge remote-tracking branch 'appcelerator/3_1_X' into 3_1_X_lanica
TIMOB-14152: Moved audio resume logic to onWindowFocusChanged instead of onResume to prevent resuming sound on lock screen.