Commit b455ae4
Fix for NPE in BluetoothSMSAccess
A broken sms info should never break phone app
E/AndroidRuntime( 3367): FATAL EXCEPTION: HeadsetBase Event Thread
E/AndroidRuntime( 3367): java.lang.NullPointerException
E/AndroidRuntime( 3367): at com.android.phone.BluetoothSMSAccess.CreatePDUResponse(BluetoothSMSAccess.java:599)
E/AndroidRuntime( 3367): at com.android.phone.BluetoothSMSAccess.access$1300(BluetoothSMSAccess.java:41)
E/AndroidRuntime( 3367): at com.android.phone.BluetoothSMSAccess$7.handleSetCommand(BluetoothSMSAccess.java:354)
E/AndroidRuntime( 3367): at android.bluetooth.AtParser.process(AtParser.java:350)
E/AndroidRuntime( 3367): at android.bluetooth.HeadsetBase.handleInput(HeadsetBase.java:133)
E/AndroidRuntime( 3367): at android.bluetooth.HeadsetBase$1.run(HeadsetBase.java:172)
Change-Id: I796b224a9c052da6bb5caaed045bd743dcd4c7831 parent 399da46 commit b455ae4
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
596 | 596 | | |
597 | 597 | | |
598 | 598 | | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
599 | 602 | | |
600 | 603 | | |
601 | 604 | | |
| |||
0 commit comments