Skip to content

Implicit intents with startService are not safe. #25

@dschuermann

Description

@dschuermann

change line 100 in https://github.com/dschuermann/ntp-sync/blob/master/API-Demo/src/main/java/org/ntpsync/apidemo/BaseActivity.java#L100

Intent i = new Intent(INtpSyncRemoteService.class.getName());
i.setPackage("org.ntpsync");
bindService(i, mConnection,
Context.BIND_AUTO_CREATE);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions