Ensure WFD switch is removed along with settings fragment.
Bug: 8340072 Change-Id: I8d203725ef1bfa5b1b5e5c224fa57d5feaa9db5a
This commit is contained in:
@@ -116,6 +116,12 @@ public final class WifiDisplaySettings extends SettingsPreferenceFragment {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onDestroyView() {
|
||||
getActivity().getActionBar().setCustomView(null);
|
||||
super.onDestroyView();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onResume() {
|
||||
super.onResume();
|
||||
|
Reference in New Issue
Block a user