Android アプリに次のコードがあります。
@Override
protected void onProgressUpdate(byte[]... values)
{
if (values.length > 0)
{
String message = new String(values[0]);
boolean isConfig = message.contains("Messages");
if (isConfig)
{
String configFile = message;
}
else
{
receiveTxt.setText(message);
Vibrator v = (Vibrator)getSystemService(Context.VIBRATOR_SERVICE);
if (vibrate)
{
v.vibrate(500);
}
}
}
}
コードをステップ実行すると、最初の if ステートメントは通過しますが、2 番目の if/else ステートメントにはステップ インしません。常にステップオーバーするだけです...理由はありますか?
ありがとうございました