BluetoothCrashResolver detects a crash on app launch

雨燕双飞 提交于 2019-12-13 00:29:20

问题


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.

来源:https://stackoverflow.com/questions/30795895/bluetoothcrashresolver-detects-a-crash-on-app-launch

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!