SurfaceFlinger: keep layer history for inactive layers am: 983e568b3c am: 9dda4149c2 am: 50a7750d35 am: 66b66d0a50

Change-Id: I58c45998daa70b3ab3cea1429b7d2a0075c09fb4