Use PreferenceActivity and FragmentBreadCrumbs as they offer the same capabilities now.

Also fix: 2997438 and a similar bug in Tether Settings
Show + menu item for User Dictionary
This commit is contained in:
Amith Yamasani
2010-09-21 15:48:52 -07:00
parent 3a817f54f2
commit 02cf71a591
8 changed files with 282 additions and 505 deletions

View File

@@ -35,7 +35,6 @@ import android.os.Environment;
import android.preference.CheckBoxPreference;
import android.preference.Preference;
import android.preference.PreferenceScreen;
import android.util.Log;
import android.webkit.WebView;
import java.io.InputStream;
@@ -220,8 +219,8 @@ public class TetherSettings extends SettingsPreferenceFragment {
}
@Override
public void onResume() {
super.onResume();
public void onStart() {
super.onStart();
final Activity activity = getActivity();
@@ -244,8 +243,8 @@ public class TetherSettings extends SettingsPreferenceFragment {
}
@Override
public void onPause() {
super.onPause();
public void onStop() {
super.onStop();
getActivity().unregisterReceiver(mTetherChangeReceiver);
mTetherChangeReceiver = null;
mWifiApEnabler.pause();