Fix one NPE in tethering setting

Once we not declare BT feature, go Setting->more->tethering
will trigger this NPE.

Change-Id: I4736e7bade261475acda74e26250a81452018ffa
Signed-off-by: Jianzheng Zhou <jianzheng.zhou@freescale.com>
This fixes crash caused by null pointer

The crash is caused by a null pointer.
This patch prevents the dereferencement of the pointer when null.

Change-Id: I7a5aa23342bf7e6ba072c8bd2533ae574e2d0150
Author: Ovidiu Beldie <ovidiux.beldie@intel.com>
Signed-off-by: Xiaokang Qin <xiaokang.qin@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 42641
merge android-4.3_r2.2 into jb4.3

Change-Id: I5aff7bb602ba28b6a20113bdb5dee99db7fa951a
Merge branch 'jb4.3' of https://github.com/SlimRoms/packages_apps_Settings into HEAD