Don't start animation when a route is connected before view is attached

If a route is already connected from the beginning, show the last frame
of the connected animation rather than play the whole animation.

Bug: 34036139
Test: Call supportInvalidateOptionsMenu() in Support7Demo
Change-Id: I7bf4360b56a4ddebfd03576324ed8d7e4ca95c85
1 file changed