Vanadium
Vanadium copied to clipboard
Do not use hardwired Google search for conversions
Can test by highlighting a measurement, such as 100cm or 25mg
This stuff is handled by Android's TextClassifier
APIs and this behaviour is not specific to Vanadium or Chrome. Try opening any app in which you can select measurements like "100cm", same thing happens when you click "Convert", unless the selection popup menu is modified by the app. I suggest patching this in the OS not browser for consistent behaviour.
For more clarification this is what happenes:
- User selects some text.
- Vanadium asks the OS to classify the selection and suggest an action based on the classification.
- User click on button like '"Convert" and Vanadium executes the suggested action(s).