1
私は奇妙な問題があります。どのバンドルは、これは私のコードです )(明確にそのメソッドを呼び出した後にクリアすることができません。バンドルがクリアされていません
if(isFromPushNotif) {
Bundle pushNotifBundle = getIntent().getExtras() ;
Log.i("SplashScreen"," before clear "+pushNotifBundle);
intent.putExtras(pushNotifBundle) ;
getIntent().getExtras().clear();
Log.i("SplashScreen"," after clear "+getIntent().getExtras()); //Here bundle is not cleared , log displays all the initial elements
}
startActivity(intent);
overridePendingTransition(0, 0);
finish();
がバンドル 'here'の値を投稿してください –