Merge "Removed all references to "Google Wi-Fi Assistant" from Settings." into lmp-dev

This commit is contained in:
PauloftheWest
2014-09-15 21:25:13 +00:00
committed by Android (Google) Code Review
4 changed files with 5 additions and 29 deletions

View File

@@ -735,6 +735,10 @@ public class WifiSettings extends RestrictedSettingsFragment
.inflate(R.layout.wifi_assistant_card, getListView(), false);
Button setup = (Button) mWifiAssistantCard.findViewById(R.id.setup);
Button noThanks = (Button) mWifiAssistantCard.findViewById(R.id.no_thanks_button);
TextView assistantText =
(TextView) mWifiAssistantCard.findViewById(R.id.wifi_assistant_text);
assistantText.setText(getResources().getString(
R.string.wifi_assistant_title_message, mWifiAssistantApp.mScorerName));
if (setup != null && noThanks != null) {
setup.setOnClickListener(new OnClickListener() {