Remove grey Wi-Fi icon from Setup Wizard

This removes the grey Wi-Fi icon from the empty-view in the Wi-Fi
list of Setup Wizard. Also updated the style so it looks like the
description text in other setup screens.
Also fixed the view recycling by not calling getRootAdapter in
onActivityCreated, since that will cause the Preference framework
to not cache the AccessPoint preference.

Bug: 17575719
Bug: 16518752
Change-Id: I06cbc88db1c04b29a9ce8221596265effc39b90b
This commit is contained in:
Maurice Lam
2015-01-14 15:37:36 -08:00
parent 2f08914e32
commit 859dcab128
5 changed files with 37 additions and 20 deletions

View File

@@ -652,7 +652,7 @@ public class WifiSettings extends RestrictedSettingsFragment
* Shows the latest access points available with supplemental information like
* the strength of network and the security for it.
*/
private void updateAccessPoints() {
protected void updateAccessPoints() {
// Safeguard from some delayed event handling
if (getActivity() == null) return;