Repository navigation
identify: have the dialer running before *#06# goes in its intent - #55
Merged
Merged
Conversation
…tent The Google dialer runs a code passed in its intent only when it is already running. Started cold by the intent it only fills the field, which is why identify read no IMEI on the Xiaomi (abrignoni#53). Same on the Nubia. The dialer is now opened with tel:0 (opened, not dialled), HOME brought to the front, and then the code is passed. The dial_imei_code row says so in dialer_opened_first. Checked on the Xiaomi 22101316G (input refused): both IMEIs and the serial read from the dialog, in two runs from a cold dialer, call log unchanged, verify passes. The Samsung SM-G990E, which takes input, runs as before. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ntent The Google dialer runs the code from the intent only when it is already running. The Samsung dialer does not run it either way. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Owner
|
Thank you, Maxi. The cold versus running dialer table in #53 made this one easy to follow, and the fake dialer test fails without the change, which is exactly what I want from a test. Merged. I added one small commit before merging: the user manual and the docstring still said the code in the intent only fills the field, so they now say why (cold dialer) and that the Samsung dialer does not run it either way. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The fix from #53: with the Google dialer,
*#06#in the intent runs only when the dialer is already running. Started cold it only fills the field, which is whyidentifyread no IMEI on the Xiaomi.imei_by_dial_intentopens the dialer withtel:0(opened, not dialled), brings HOME to the front, then passestel:*%2306%23as before.dial_imei_coderow says so indialer_opened_first.Checked on phones
verifypasses (8 rows, 4 of 4). 23 s.verifypasses (20 rows, 8 of 8).python -m unittest discover -s tests: 111 tests, OK (1 skipped).Tested by @Maxitelmo with help from Claude Opus 5.5 (Anthropic).
🤖 Generated with Claude Code