Fix ServiceConnectionLeak in network fragment

Change-Id: I43efe9ae31fc2f58361abdb034b0205a3f3e2b71
Fix: 35957226
Test: make RunSettingsRoboTests
This commit is contained in:
Fan Zhang
2017-03-03 17:59:23 -08:00
parent 50aa0008fc
commit f5f71a9be2
4 changed files with 44 additions and 6 deletions

View File

@@ -88,4 +88,11 @@ public abstract class ObservablePreferenceFragment extends PreferenceFragment {
super.onPause();
}
@CallSuper
@Override
public void onDestroy() {
mLifecycle.onDestroy();
super.onDestroy();
}
}