f767e75212
Added a onDestroy method to do the callbacks cleanup. Apologies for the line end whitespaces my editor removed automatically. Bug:2090959 Change-Id: Id3ea4b8fc38e55c1b1ef78b3ec5b81cb02ab5b69