0

For any custom Launcher/HomeScreen applications, the permission SET_PREFERRED_APPLICATIONS is needed to set itself as the Default HomeScreen.

PackageManager::addPreferredActivity().

I'm aware of the StackOverflow threads on this issue (example) and that such a permission is only granted to apps signed with the OEM/Google certificates.

GoLauncher manages to set itself as Default Home Screen app automagically. They seem to have obtained the SET_PREFERRED_APPLICATIONS permission too (see here for permission list).

How ? is the question.

Community
  • 1
  • 1
rbot
  • 249
  • 2
  • 11

1 Answers1

1

GoLauncher manages to set itself as Default Home Screen app automagically.

Not on a Nexus S running Jelly Bean. After installing it, I get a chooser, just like any other home screen.

If you have an environment (post-Android 2.2) where GO Launcher Ex is doing this, please let me know so I can do more research.

They seem to have obtained the SET_PREFERRED_APPLICATIONS permission too

They do not have SET_PREFERRED_APPLICATIONS. They are asking for SET_PREFERRED_APPLICATIONS. You can ask for whatever you want; you will not get it.

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491
  • Thanks. I could reproduce it in a 2.3.X Droid X2, but not on any of 2.3.x Note or 2.2.X Lg Ally. I wonder how the Go Launcher guys even get to do this, if you could give any pointers. My bad, since they had Set_preferred_applications in their permissions list i just assumed they might have got signed with a OEM cert. – rbot Oct 15 '12 at 16:01