fix background/forground of Sprite3D on android platform
using lambda function instead of member function
remove foreground event listener when GLProgramState is deleted
add background/foreground listener for Effectsprite3d/Effect3d test case
add background/foreground listener for EffectSprite/Effect framework test case
Merge pull request #6919 from dabingnn/v3.1hotfix

V3.1hotfix
Merge branch 'v3.1hotfix' into v3

Conflicts:
	tests/cpp-tests/Classes/Sprite3DTest/Sprite3DTest.cpp
	tests/cpp-tests/Classes/Sprite3DTest/Sprite3DTest.h
only use _backToForeGroundListner when on Android
fix typo
Merge pull request #6939 from dabingnn/v3FixAndroid

V3 fix android