Removed the Wi-Fi icon shown when Wi-Fi is off.

Bug: 16570104
Change-Id: Iacee07c225f6609b92f1df193b682fde0a720a92
This commit is contained in:
PauloftheWest
2014-08-21 11:49:17 -07:00
parent ff2da2cdb3
commit 2b41c90fed
6 changed files with 0 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -775,8 +775,6 @@ public class WifiSettings extends RestrictedSettingsFragment
private void setOffMessage() { private void setOffMessage() {
if (mEmptyView != null) { if (mEmptyView != null) {
mEmptyView.setCompoundDrawablesWithIntrinsicBounds(0,
R.drawable.ic_wifi_emptystate, 0, 0);
mEmptyView.setText(R.string.wifi_empty_list_wifi_off); mEmptyView.setText(R.string.wifi_empty_list_wifi_off);
if (android.provider.Settings.Global.getInt(getActivity().getContentResolver(), if (android.provider.Settings.Global.getInt(getActivity().getContentResolver(),
android.provider.Settings.Global.WIFI_SCAN_ALWAYS_AVAILABLE, 0) == 1) { android.provider.Settings.Global.WIFI_SCAN_ALWAYS_AVAILABLE, 0) == 1) {