mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-12-23 03:11:30 +00:00
Close service connection in FolderPickerActivity.
This commit is contained in:
parent
96dd7bf809
commit
980bb83c7c
1 changed files with 5 additions and 0 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue