Android - Bundle is not null after second call to onCreate ()

I have a very strange problem ... if I call the code on my connection 5 I get the package (Bundle [mParcelledData.dataSize = 36] ???), but the package must be zero! its only on my connection 5 on other devices the intent.getExtra () method is null!

Any suggestions to fix this problem?

        Bundle extras = getIntent().getExtras();
    if(extras != null) {
        String test = extras.toString();
        Toast.makeText(this, "why??! " + test, Toast.LENGTH_LONG).show(); }

the second time I open the application, the additional isnt null is Bundle [mParcelledData.dataSize = 36]. What is wrong here?

+4
source share
1 answer

, , . , isEmpty() Nexus.

, , . NULL ( Nexus), , , , , .

0

Source: https://habr.com/ru/post/1616615/


All Articles