diff options
author | Roman Birg <roman@cyngn.com> | 2015-01-21 11:27:48 -0800 |
---|---|---|
committer | Michael Bestas <mikeioannina@gmail.com> | 2015-12-27 23:24:20 +0200 |
commit | 91f19f2a1c54a46f4c9edcec26c9d08662de6f96 (patch) | |
tree | 828f9a14f446d9897b7bd5b5b4ab13a402e2123d /src/com/android/settings/profiles | |
parent | 8e9e0037ab8713a74c09b11cc829e7ccc8822304 (diff) | |
download | packages_apps_Settings-91f19f2a1c54a46f4c9edcec26c9d08662de6f96.zip packages_apps_Settings-91f19f2a1c54a46f4c9edcec26c9d08662de6f96.tar.gz packages_apps_Settings-91f19f2a1c54a46f4c9edcec26c9d08662de6f96.tar.bz2 |
Settings: fix empty Wifi triggers screen
Change-Id: If6b3a71e0ed28558d74132ddd4594b98bf2955e9
Signed-off-by: Roman Birg <roman@cyngn.com>
Diffstat (limited to 'src/com/android/settings/profiles')
-rw-r--r-- | src/com/android/settings/profiles/triggers/WifiTriggerFragment.java | 3 |
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() { |