Destroy activity/view references to avoid memory leak

Bug: 204891006
Change-Id: If60ac1716c30ebe68fb6e7457d71f542d3075422
2 files changed