Merge pull request #6958 from Dhilan007/v3

fixed EVENT_COME_TO_BACKGROUND has not been sent on android.
[ci skip]
[ci skip]
not treat warnings as error
Merge pull request #6961 from minggo/treat-warning-as-error

not treat warnings as error