解决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:
<activity android:configChanges="orientation|screenSize|keyboardHidden" android:name="YOUR ACTIVITY NAME"> </activity>
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.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
支付宝扫一扫捐赠
支付宝扫一扫捐赠
![支付宝扫一扫捐赠](https://images.cnblogs.com/cnblogs_com/welhzh/2159800/o_220512091701_hzh_alipay.jpg)
微信公众号: 共鸣圈
欢迎讨论,邮件: 924948$qq.com 请把$改成@
QQ群:263132197
QQ: 924948