android锁屏对activity,解决android锁屏或解锁后activity重启的问题

If your target build version is Honeycomb 3.2 (API Level 13) or higher you must put the screenSize flag too, as in:

because even with the "orientation" flag you app will be killed and recreated again with every orientation change when your app is the active one, either being visible on screen or hidden by the lock screen. This is because the usable screen size, mainly in tablets, actually changes due to the change in placement of the system action bar.

原文:http://www.cnblogs.com/welhzh/p/4296275.html

你可能感兴趣的:(android锁屏对activity,解决android锁屏或解锁后activity重启的问题)