View Single Post
Posts: 114 | Thanked: 201 times | Joined on Apr 2009
#139
Originally Posted by jukey View Post
Regarding the "microb as default browser does not feel like without installed browser switchboard" problematic: Do you think it would be possible to implement it in a way that choosing "microb" as default browser will do exactly the same as the uninstall process would do but without removing the browser switchboard menu in the settings?
It's possible, but somewhat complex and a bit tricky to do safely; I kicked around this idea for a while before deciding to go another route.

We'd need to gain root privileges, then change /usr/bin/browser and /usr/share/dbus-1/services/com.nokia.osso_browser.service (we'd need some symlink magic, since otherwise a device crash here would leave things in a broken state), then start or stop MicroB's background browser process as appropriate. I'm also not clear as to how we'd handle upgrades from previous versions, and I'm keen to avoid another flag day (like the browser-proxy -> browser-switchboard transition).
 

The Following User Says Thank You to steven676 For This Useful Post: