Reduce TAG visibility
This commit is contained in:
@@ -30,7 +30,7 @@ import android.widget.TextView;
|
|||||||
import android.widget.Toast;
|
import android.widget.Toast;
|
||||||
|
|
||||||
public class ListenActivity extends Activity {
|
public class ListenActivity extends Activity {
|
||||||
final String TAG = "ListenActivity";
|
private static final String TAG = "ListenActivity";
|
||||||
|
|
||||||
// Don't attempt to unbind from the service unless the client has received some
|
// Don't attempt to unbind from the service unless the client has received some
|
||||||
// information about the service's state.
|
// information about the service's state.
|
||||||
@@ -102,9 +102,7 @@ public class ListenActivity extends Activity {
|
|||||||
|
|
||||||
public void postErrorMessage() {
|
public void postErrorMessage() {
|
||||||
TextView status = findViewById(R.id.textStatus);
|
TextView status = findViewById(R.id.textStatus);
|
||||||
status.post(() -> {
|
status.post(() -> status.setText(R.string.disconnected));
|
||||||
status.setText(R.string.disconnected);
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user