Android securities and permissions:
For the below given problem, where should I write permission tag? and how to enforce that permission on service?
Problem: I am downloading two applications where app1 has a service on which some permission is enforced, and app2 has an activity which will start app1's service. Now on downloading which application user will be prompted with permission dialog?