Incorrect navigation while contact saving on Android

旧城冷巷雨未停 提交于 2019-12-10 14:53:56

问题


Although the documentation says that this bug is fixed (see: Add the navigation flag), I am experiencing the same problem.

From my application I want to add new Android contact, and after the saving is completed I want to get back to my application (the activity that called the insert new android contact intent). That's why I am using:

i.putExtra("finishActivityOnSaveCompleted", true);

Adding this line, I get the expected behaviour on some phones, and others just behave differently (the user is not navigated back to my application).

I have experienced this problems on Sony Xperia Z, Sony Xperia Z2 and LG G2 mini, all running on 4.4.2, and also LG G3 and Sony Z2 running Lollipop.

Does someone know what is the problem here, and if something has changed.

The saving works properly on for example HTC M8 with 4.4.3 and Samsung Galaxy Note 3 with Lollipop.

Nevertheless, if someone knows a solution, please please share. Thx

来源:https://stackoverflow.com/questions/25872408/incorrect-navigation-while-contact-saving-on-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!