commit | a7b4379046aca7ff9e08dc5f62ef0888423d6cc5 | [log] [tgz] |
---|---|---|
author | jiabin <jiabin@google.com> | Thu Feb 15 16:04:46 2018 -0800 |
committer | jiabin <jiabin@google.com> | Thu Feb 15 16:04:46 2018 -0800 |
tree | e3f124d94d2619be8ae6418c8782a4e7e8c5768e | |
parent | d8d4ef440fe25095d34e535e591edd8fa1457307 [diff] |
Update generation when there is device connection state changed. When there is device connection state changed, the available input/output devices will change. If we don't update the generation, it may cause the number of ports different with same generation, which may cause crash in jni layer. Bug: 73077399 Test: run com.android.bluetooth.hfp.HeadsetServiceTest Change-Id: Ic2e477552a71582bcd38227b9a449eef5b82b18c