Fix memory leak due to inner class for handler.

To keep the existing interface, we just overwrite the handler here.

bug:11336965

Change-Id: I77b2f577279244439ee9f81344f47bf5773e527b
1 file changed