diff options
author | Jake Hamby <jhamby@google.com> | 2011-01-12 15:06:28 -0800 |
---|---|---|
committer | Jake Hamby <jhamby@google.com> | 2011-01-12 20:33:27 -0800 |
commit | 2748fc24cfeef9a79fc5e29c02a71737def35e6a (patch) | |
tree | 7d5c30d442c0d6eb5ebab996c6683c57fae18c08 /src/com/android/settings/Settings.java | |
parent | 11a17eead7632df9b64c45b6cfabb780be7645c7 (diff) | |
download | packages_apps_Settings-2748fc24cfeef9a79fc5e29c02a71737def35e6a.tar.gz packages_apps_Settings-2748fc24cfeef9a79fc5e29c02a71737def35e6a.tar.bz2 packages_apps_Settings-2748fc24cfeef9a79fc5e29c02a71737def35e6a.zip |
Close scan screen when pairing and remove device when unpairing.
Close the scan screen after successful pairing, and remove a
device from the list of paired devices after unpairing.
As part of the fix, BluetoothSettings was refactored into a parent
class, DeviceListPreferenceFragment, and three subclasses for each
variant type: BluetoothSettings, BluetoothFindNearby, and
DevicePickerFragment, replacing the checks against mScreenType with
custom logic in the child classes.
Bug: 3325848
Change-Id: If64fddc3ba5b4f1136451491c7d5a1139b696e47
Diffstat (limited to 'src/com/android/settings/Settings.java')
-rw-r--r-- | src/com/android/settings/Settings.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/settings/Settings.java b/src/com/android/settings/Settings.java index 22fc4bf9f..613b082bf 100644 --- a/src/com/android/settings/Settings.java +++ b/src/com/android/settings/Settings.java @@ -124,7 +124,7 @@ public class Settings extends PreferenceActivity { /** * Switch to parent fragment and store the grand parent's info - * @param class name of the activity wrapper for the parent fragment. + * @param className name of the activity wrapper for the parent fragment. */ private void switchToParent(String className) { final ComponentName cn = new ComponentName(this, className); |