Don't execute binding when the root view is detached.

Also add tests for memory leaks. The binder should be deleted
when the root view is deleted.

Change-Id: Ifcb24feb80791e64cdfd7203d071d9b1453f6f70
3 files changed
tree: 863a87617faf7c2fc122f92604dc9f5dcf78914d
  1. tools/