commit | b69ec7708b61535355d278ac0ea8f9a61540d1fb | [log] [tgz] |
---|---|---|
author | Deepanshu Gupta <deepanshu@google.com> | Mon Oct 20 11:07:38 2014 -0700 |
committer | Deepanshu Gupta <deepanshu@google.com> | Mon Oct 20 11:12:53 2014 -0700 |
tree | ee8a7843b5c05e75d5b02116cd8173336584930b | |
parent | 908a4f9a4372a9627e821b5800936095b0f0b5b0 [diff] |
Check Bridge init before disposing. In some cases ADT may dispose the Bridge even before init is called on it. This caused an NPE. Fixed this by checking for the initialization before disposing resources. Bug: http://b.android.com/77726 Change-Id: I741d6ea3595a3b7cb816abd0417f23aecca6370e