Removed the Wi-Fi icon shown when Wi-Fi is off.
Bug: 16570104 Change-Id: Iacee07c225f6609b92f1df193b682fde0a720a92
This commit is contained in:
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 |
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user