Fragmentize BluetoothSettings.

Add UserLeaveHintListener.java, so that the settings won't use
its implementation around Activity#onUserLeaveHint().

Also fragmentize bluetooth tethering screen.

Change-Id: Id06ae3161fbdb5854ddb7a257f464fb16ea9b089
This commit is contained in:
Daisuke Miyakawa
2010-09-10 09:48:51 -07:00
parent b68e0f1d7d
commit 6ebf8619d7
8 changed files with 90 additions and 47 deletions

View File

@@ -175,6 +175,10 @@ public class SettingsPreferenceFragment extends PreferenceFragment
return mNextButton;
}
public void finish() {
getActivity().onBackPressed();
}
/**
* Sets up Button Bar possibly required in the Fragment. Probably available only in
* phones.