-Remove fragments of the defunct/removed ip-address ping test
-Update a dangling resource reference
Bug:
27771038
Change-Id: Ib26eb6427eb6fbe6ef2d1f235277af3d2e8093f1
private TextView mScanList;
private TextView mScanList;
- private TextView mPingIpAddr;
private TextView mPingHostname;
private TextView mHttpClientTest;
private Button pingTestButton;
private TextView mPingHostname;
private TextView mHttpClientTest;
private Button pingTestButton;
- private String mPingIpAddrResult;
private String mPingHostnameResult;
private String mHttpClientTestResult;
private String mPingHostnameResult;
private String mHttpClientTestResult;
mScanList = (TextView) findViewById(R.id.scan_list);
mScanList = (TextView) findViewById(R.id.scan_list);
- mPingHostname = (TextView) findViewById(R.id.pingHostnameV4);
+ mPingHostname = (TextView) findViewById(R.id.pingHostname);
mHttpClientTest = (TextView) findViewById(R.id.httpClientTest);
pingTestButton = (Button) findViewById(R.id.ping_test);
mHttpClientTest = (TextView) findViewById(R.id.httpClientTest);
pingTestButton = (Button) findViewById(R.id.ping_test);
private final void updatePingState() {
final Handler handler = new Handler();
// Set all to unknown since the threads will take a few secs to update.
private final void updatePingState() {
final Handler handler = new Handler();
// Set all to unknown since the threads will take a few secs to update.
- mPingIpAddrResult = getResources().getString(R.string.radioInfo_unknown);
mPingHostnameResult = getResources().getString(R.string.radioInfo_unknown);
mHttpClientTestResult = getResources().getString(R.string.radioInfo_unknown);
mPingHostnameResult = getResources().getString(R.string.radioInfo_unknown);
mHttpClientTestResult = getResources().getString(R.string.radioInfo_unknown);
- mPingIpAddr.setText(mPingIpAddrResult);
mPingHostname.setText(mPingHostnameResult);
mHttpClientTest.setText(mHttpClientTestResult);
mPingHostname.setText(mPingHostnameResult);
mHttpClientTest.setText(mHttpClientTestResult);