Reputation: 1115
Can anyone explain me what will happen if I have 2 apps which individually have their own content providers, but have same authority. So if I call insert using getContentResolver(), which content provider will be called?
Upvotes: 4
Views: 900
Reputation: 1006869
Can anyone explain me what will happen if I have 2 apps which individually have their own content providers, but have same authority.
Whichever one you try to install second on the same device will fail to install, with a "duplicate provider authority" install error.
Upvotes: 4