回答編集履歴
1
メソッド名間違い
answer
CHANGED
@@ -34,7 +34,7 @@
|
|
34
34
|
Intent intent = new Intent(this, ActivityA.class);
|
35
35
|
intent.setFlags(
|
36
36
|
Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP);
|
37
|
-
intent.
|
37
|
+
intent.putExtra("D", true); // フラグをセット
|
38
38
|
startActivity(intent);
|
39
39
|
```
|
40
40
|
|