After some discussing with @Mardy. We discovered that what is causing the bug is that, the messaging app now is a confined app, with that it can not create accounts on behalf of address-book-app (contact account).
The solutions that we have are:
1 - Workaround online account daemon to accept this kind of action;
2 - Remove "import from google" button from messaging app;
3 - When the user click on "import from google" button from messaging app, it launches the address-book-app with a special argument, and the app launches the online account dialog.
I have implemented the solution number "3" on silo 46.
After some discussing with @Mardy. We discovered that what is causing the bug is that, the messaging app now is a confined app, with that it can not create accounts on behalf of address-book-app (contact account).
The solutions that we have are:
1 - Workaround online account daemon to accept this kind of action;
2 - Remove "import from google" button from messaging app;
3 - When the user click on "import from google" button from messaging app, it launches the address-book-app with a special argument, and the app launches the online account dialog.
I have implemented the solution number "3" on silo 46.
Any comments or suggestions?