Commit b445f65f by Lee Munkyeong

コードレビュー対応

parent 4d0f3efb
......@@ -558,12 +558,13 @@ public class OperationRelatedContentActivity extends ABVUIActivity {
}
public void showWaitOwnerSelect() {
if (mWaitOwnerTextView == null) {
if (mWaitOwnerTextView != null) {
mWaitOwnerTextView.setVisibility(View.VISIBLE);
return;
}
Display display = getWindowManager().getDefaultDisplay();
DisplayMetrics outMetrics = new DisplayMetrics ();
display.getMetrics(outMetrics);
LinearLayout container = (LinearLayout) findViewById(R.id.related_content_third_linear);
mWaitOwnerTextView = new TextView(this);
mWaitOwnerTextView.setText(getString(R.string.msg_wait_for_host));
......@@ -574,7 +575,6 @@ public class OperationRelatedContentActivity extends ABVUIActivity {
mWaitOwnerTextView.setTextSize(20);
mWaitOwnerTextView.setTextColor(Color.BLACK);
container.addView(mWaitOwnerTextView);
}
mWaitOwnerTextView.setVisibility(View.VISIBLE);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment