BluetoothCrashResolver detects a crash on app launch

102 Views Asked by At

BluetoothCrashResolver detects a crash on app launch the sequence of flow is as follows:

1.the device's bluetooth is off initially

2.the app is launched

3.the app first checks whether bluetooth is on

4.if not ON,app displays a popup to enable bluetooth

5.User allows bluetooth to be switched on

6.bluetoothresolver says "crash detected" as lastBluetoothTurningOnTime=01/01/1970; lastBluetoothOffTime=01/01‌​/1970; so the if statement inside "case BluetoothAdapter.STATE_ON" fails.

Let me know if any doubt understanding. Thanks in advance.

0

There are 0 best solutions below