Forked from
Dhina17 / platform_frameworks_base
Selim Cinek
authored
Previously we didn't clip when at height 0, but we still need to as very often the view ill have height 0. The clipRect should always be up to date. Also, removing inactive players when resumption is off to avoid this completely Fixes: 159414197 Test: turn off resumption, swipe away media, observe no weird clipping Change-Id: I30a2fa4fe19d142c8a6472f8368d64e6ac4074d8