Skip to content
Snippets Groups Projects
Commit e2729afe authored by Emeric Vigier's avatar Emeric Vigier
Browse files

#17311: unregister broadcast receivers

parent 9159c48d
No related branches found
No related tags found
No related merge requests found
......@@ -229,6 +229,11 @@ public class SFLPhoneHome extends Activity implements ActionBar.TabListener, OnC
Log.i(TAG, "onDestroy: stopping SipService...");
stopService(new Intent(this, SipService.class));
mApplication.setServiceRunning(false);
/* unregister broadcast receiver */
LocalBroadcastManager.getInstance(this).unregisterReceiver(mCallList);
LocalBroadcastManager.getInstance(this).unregisterReceiver(mAccountList);
super.onDestroy();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment