[automerger] DO NOT MERGE: BondStateMachine: Check for null before calling getDeviceType am: 39cda2a286

Change-Id: I464a22687ef5ee2220a06bf2025c86e3c4a4c73c