Android/viz: Don't allocate a new LocalSurfaceId after each activation

Currently CompositorImpl allocates a new LocalSurfaceId every time its
previous surface activates. This was introduced because
DelegatedFrameHostAndroid did not properly set the fallback SurfaceId
but that's not the case anymore.

Bug: 849709
Change-Id: I6dec507a968aa6ceee7fe3f05c68169bc0c37198
Reviewed-by: Fady Samuel <>
Commit-Queue: Saman Sami <>
Cr-Commit-Position: refs/heads/master@{#566875}
2 files changed