I couldn't find any topic related to this. If there is one, please flag to delete.
There is problem with lock button that it doesn't lock your screen even when you setted in settings to lock the screen for security.
Sometimes it happens that if you click on this button and immediately click again to unlock, last screen / activity of application is shown again without lock screen.
Step to reproduce
- Turn on security screen in settings
- Open your app
- Click lock button
- Click fast lock button again
- Screen of your app is visible as it was, instead of there should be lock screen
How can I fix this bug? Did someone find this problem before?
Bug found on device: GT-I9070 v 2.3.6
I suspect that there is a problem with transition. In my private app I use custom transition by context.overridePendingTransition(R.layout.fadein, R.layout.fadeout);
.
Of course there is no connection between system android <> custom app. This bug is hard to reproduce. Sometimes you see few times in row and sometimes its impossible..