commit | c6809bb6853c6f055905cbbbf873bbe4066c5d21 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Tue Feb 11 12:22:15 2014 -0800 |
committer | Jeff Sharkey <jsharkey@android.com> | Tue Feb 11 12:22:15 2014 -0800 |
tree | ce73cbdbde14206facf3a3c32efb421879cfeb42 | |
parent | b341a24b2adbb67cdc34ade0a19570ee37f0cb82 [diff] |
First <provider> always wins. In scanPackageLI(), the first provider to claim an authority wins over any other later providers. To match this behavior, this changes ProviderIntentResolver to ignore later providers with the same ComponentName. Without this behavior, AM.getContentProvider() could end up wedged waiting for a provider that generateApplicationProvidersLocked() never decided to spin up. Bug: 12956224 Change-Id: I37d3e6e9cf3eea2cac4c0e914134f6c83b2fc2bf