diff options
author | Michael Bestas <mikeioannina@gmail.com> | 2015-12-27 21:35:01 +0200 |
---|---|---|
committer | Michael Bestas <mikeioannina@gmail.com> | 2015-12-28 16:28:28 +0200 |
commit | fcb4673ddb3d34e0ad7217c1bec0630149e59564 (patch) | |
tree | da7eedb101f2132cd3e767be6bc4c53ecd37f3cd /src/com/android/settings/profiles/triggers/BluetoothTriggerFragment.java | |
parent | 77450bee72811e0bf4a310acee2956d4de36c2d9 (diff) | |
download | packages_apps_Settings-fcb4673ddb3d34e0ad7217c1bec0630149e59564.zip packages_apps_Settings-fcb4673ddb3d34e0ad7217c1bec0630149e59564.tar.gz packages_apps_Settings-fcb4673ddb3d34e0ad7217c1bec0630149e59564.tar.bz2 |
Profiles: Cleanup the code
* Fix code style
* Fix a couple mismerges
* Align strings with cm-12.1
Change-Id: I0795c114014e53101c7d6697bb9a229c003973ab
Diffstat (limited to 'src/com/android/settings/profiles/triggers/BluetoothTriggerFragment.java')
-rw-r--r-- | src/com/android/settings/profiles/triggers/BluetoothTriggerFragment.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/settings/profiles/triggers/BluetoothTriggerFragment.java b/src/com/android/settings/profiles/triggers/BluetoothTriggerFragment.java index 5f3e3b1..5da8e44 100644 --- a/src/com/android/settings/profiles/triggers/BluetoothTriggerFragment.java +++ b/src/com/android/settings/profiles/triggers/BluetoothTriggerFragment.java @@ -45,7 +45,6 @@ import java.util.ArrayList; import java.util.List; import java.util.Set; - public class BluetoothTriggerFragment extends ListFragment { private BluetoothAdapter mBluetoothAdapter; @@ -207,7 +206,8 @@ public class BluetoothTriggerFragment extends ListFragment { for (BluetoothDevice device : pairedDevices) { BluetoothTrigger bt = new BluetoothTrigger(device); - int state = mProfile.getTriggerState(Profile.TriggerType.BLUETOOTH, bt.getAddress()); + int state = mProfile.getTriggerState( + Profile.TriggerType.BLUETOOTH, bt.getAddress()); initPreference(bt, state, res, R.drawable.ic_settings_bluetooth); mTriggers.add(bt); } |