OSDN Git Service

Add check for null pointer to avoid crash.
authormartin ma <martin.ma@sonyericsson.com>
Mon, 6 Dec 2010 08:51:28 +0000 (16:51 +0800)
committerKenneth Andersson <kenneth.andersson@sonyericsson.com>
Tue, 1 Mar 2011 10:35:54 +0000 (11:35 +0100)
commit98a53e5bdb2500109c304f2b5364c1715ab745d8
treeb120686bb1f2c2eb7aba782a537c06a6e64068af
parent3500d1cc714807945b1427e43eb3bde367849e43
Add check for null pointer to avoid crash.

This is added in order to prevent a crash. Also, updating the name
of a device to null, making it appear as 'Unknown', is probably not
intended.

Change-Id: Ibd3c93741489aae9118ba7b45223d58d5de6812f
src/com/android/bluetooth/opp/BluetoothOppPreference.java