@Override protected void onPause() { super.onPause(); scanLeDevice(false); mLeDeviceListAdapter.clear(); mLeDeviceListAdapter.notifyDataSetChanged(); }