From 91f19f2a1c54a46f4c9edcec26c9d08662de6f96 Mon Sep 17 00:00:00 2001 From: Roman Birg Date: Wed, 21 Jan 2015 11:27:48 -0800 Subject: Settings: fix empty Wifi triggers screen Change-Id: If6b3a71e0ed28558d74132ddd4594b98bf2955e9 Signed-off-by: Roman Birg --- src/com/android/settings/profiles/triggers/WifiTriggerFragment.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/com/android/settings/profiles') 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() { -- cgit v1.1