summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/profiles/triggers/BluetoothTriggerFragment.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/settings/profiles/triggers/BluetoothTriggerFragment.java')
-rw-r--r--src/com/android/settings/profiles/triggers/BluetoothTriggerFragment.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/settings/profiles/triggers/BluetoothTriggerFragment.java b/src/com/android/settings/profiles/triggers/BluetoothTriggerFragment.java
index b3478e8..e2967de 100644
--- a/src/com/android/settings/profiles/triggers/BluetoothTriggerFragment.java
+++ b/src/com/android/settings/profiles/triggers/BluetoothTriggerFragment.java
@@ -179,7 +179,7 @@ public class BluetoothTriggerFragment extends ListFragment {
for (BluetoothDevice device : pairedDevices) {
BluetoothTrigger bt =
new BluetoothTrigger(device);
- int state = mProfile.getTrigger(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);
}