android - How to set the default app for Trebuchet launcher using adb shell? -
i need set default application launched when clicking home button. doing selecting application in trebuchet launcher , clicking "always". in case need using shell, since have remote access device using ssh. knows in file or database information stored?
preferred apps stored in
/data/system/users/0/package-restrictions.xml
update file set default applications need. remember reboot afterwards apply new settings.
it's worth mentioning file seems opened , modified android on boot, better check after change , reboot settings still there might not case (if there error example).
also if set app default intent , app crashes, have change xml file again restore settings android automatically unset app default if crashed.
Comments
Post a Comment