summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/com/android/settings/profiles/triggers/WifiTriggerFragment.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/settings/profiles/triggers/WifiTriggerFragment.java b/src/com/android/settings/profiles/triggers/WifiTriggerFragment.java
index 93ef233..e951c4c 100644
--- a/src/com/android/settings/profiles/triggers/WifiTriggerFragment.java
+++ b/src/com/android/settings/profiles/triggers/WifiTriggerFragment.java
@@ -87,7 +87,7 @@ public class WifiTriggerFragment extends ListFragment {
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
- mEmptyView = inflater.inflate(R.layout.profile_bluetooth_empty_view, container, false);
+ mEmptyView = inflater.inflate(R.layout.profile_wifi_empty_view, container, false);
mEmptyView.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
@@ -190,7 +190,6 @@ public class WifiTriggerFragment extends ListFragment {
reloadTriggerListItems();
mListAdapter = new WifiTriggerAdapter(getActivity());
setListAdapter(mListAdapter);
- setEmptyText(getString(R.string.no_wifi_triggers));
}
private void reloadTriggerListItems() {