Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
onNewIntent() が singleInstance 起動モードと一緒に使用されないのはなぜですか? つまり、singleInstance アクティビティを再起動した場合でも、その新しいインテントを取得したい場合がありますよね?
それは呼び出されます。
Activityタスクで既に実行されているlaunchMode="singleInstance"を起動するActivityと、タスクがフォアグラウンドに移動onNewIntent()され、呼び出されます。
Activity
launchMode="singleInstance"
onNewIntent()