Don't start auto scan if screen recovers from frozen state
Use case:Inquiry initiated from UI after connecting with blackberryZ30
Failure: Inquiry initiated from UI automatically after connecting with
blackberryZ30,which is not expected
Test steps:
1. Go to BT settings page.
2. Initiate pair and connect remote device from the available devices list
Root cause:mInitialScanStarted set always to false and for every
onActivityCreated,scan will be triggered from UI
Fix: mInitialScanStarted set to false only for new instance,if any screen
recover case,it should not be set as its not a new instance.
Change-Id: Ia38323d5136857e6fe8fa69ed6336d889e29287b
1 file changed