Skip to content
This repository was archived by the owner on Nov 2, 2018. It is now read-only.
This repository was archived by the owner on Nov 2, 2018. It is now read-only.

other app make the whole service process fail #6

Description

@vincentnock

Some apps that are trying to use OpenUDID_manager implented it in a wrong way.

For instance, the application packaged as net.p4p.chestthrows a java.lang.ClassNotFoundException: Didn't find class "org.OpenUDID.OpenUDID_service"

This cause the following code in startService() to fail, unable to continue with other available services, and to get a valid UDID:

try { // try added by Lionscribe
    mContext.bindService(i, this, Context.BIND_AUTO_CREATE);
} catch (SecurityException e) {
     startService(); // ignore this one, and start next one
}

I tried to add Exception and Error catch, with no success.
Any clue on how to avoid such cases ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions