Skip to content

Fix outgoing native samsung #100

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 3, 2019
Merged

Conversation

manuquentin
Copy link
Contributor

@manuquentin manuquentin commented Sep 17, 2019

On some Samsung phones (with android >= 9), we're expecting an issue when making a call from the native phone application: the ConnectionService UI doesn't appear.

Digging in the code shows that calling setInitialized on the connection block the display (without any signifiant log from Android).

But the call to setInitialized doesn't appears to be required to display the call correctly via ConnectionService, so we can skip it on Samsung phones.

@manuquentin manuquentin force-pushed the fix_outgoing_native_samsung branch from 0f0e5a5 to f370e3b Compare September 25, 2019 12:02
@manuquentin manuquentin changed the title Fix outgoing native samsung (follows #98) Fix outgoing native samsung Sep 25, 2019
@manuquentin manuquentin force-pushed the fix_outgoing_native_samsung branch 2 times, most recently from 9d78f85 to 5d5695d Compare September 25, 2019 13:05
@manuquentin manuquentin force-pushed the fix_outgoing_native_samsung branch from 5d5695d to 3ad5345 Compare September 27, 2019 21:38
@kylekurz
Copy link
Contributor

This is a weird issue that sounds like a Samsung bug. How did you determine that the setInitialized() call was breaking it? Did you file a bug with Samsung's developer program about it? I'd personally be ok merging this after some testing, but would like a comment above the manufacturer check with a link to the Samsung ticket so if they ever fix it, we know what to remove.

@bhuangy
Copy link
Contributor

bhuangy commented Oct 1, 2019

Tested it and it does fix the bug where the ConnectionService UI wasn't showing before.

@bhuangy
Copy link
Contributor

bhuangy commented Oct 3, 2019

@manuquentin We have tickets in our project waiting on this to merge too, can that happen soon, or should we manage it on our fork for now?

@manuquentin
Copy link
Contributor Author

Hi @kylekurz
I've spotted this by commenting out code line by line until I found this 😅
I'll report this to the samsung dev later, and add a comment about this.

@manuquentin manuquentin merged commit 867013e into master Oct 3, 2019
@manuquentin manuquentin deleted the fix_outgoing_native_samsung branch October 3, 2019 18:37
@manuquentin
Copy link
Contributor Author

manuquentin commented Oct 3, 2019

👉 3.0.6

@manuquentin
Copy link
Contributor Author

Not sure I'll get an answer about it 🤷‍♂️ but asked nevertheless.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants