1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-12-23 11:21:29 +00:00

Close service connection in FolderPickerActivity.

This commit is contained in:
Felix Ableitner 2014-07-09 23:22:35 +02:00
parent 96dd7bf809
commit 980bb83c7c

View file

@ -88,6 +88,11 @@ public class FolderPickerActivity extends ActionBarActivity
mSyncthingServiceConnection, Context.BIND_AUTO_CREATE); mSyncthingServiceConnection, Context.BIND_AUTO_CREATE);
} }
@Override
public void onDestroy() {
super.onDestroy();
unbindService(mSyncthingServiceConnection);
}
@Override @Override
public boolean onCreateOptionsMenu(Menu menu) { public boolean onCreateOptionsMenu(Menu menu) {