|
@@ -108,6 +108,12 @@ public class WiFiP2pSyncActivity extends Activity implements AdapterView.OnItemC
|
|
|
super.onStop();
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
+ protected void onDestroy(){
|
|
|
+ this.wifiEventHandler().onPause();
|
|
|
+ super.onDestroy();
|
|
|
+ }
|
|
|
+
|
|
|
private WiFiP2pEventHandler.WiFiP2pEventListener eventListener(){
|
|
|
if (_p2pEventListener == null){
|
|
|
_p2pEventListener = new WiFiP2pEventHandler.WiFiP2pEventListener() {
|