Merge "Refuse to open history if in ANIMATE state." into pi-dev
am: 172476febb

Change-Id: I2536c87d20e3ff3bf7cce47b907713d056bc8168