This is a demonstration of an Android 8 (Oreo) SurfaceView bug:
When you leave an Activity with SurfaceView and quickly go back, the previous content of SurfaceView doesn't disappear and is displayed under the new one.
Steps to reproduce:
- Run the application on the Android 8 device or emulator - a rotating triangle should be displayed.
- Tap the screen - another Activity will be launched and finished automatically.
Result: The SurfaceView content is doubled.
Expected result: Single rotated triangle is displayed.