Follow PackageManager refactoring.

Change-Id: Iae8b40acf6317366f0de780e367e0c21a9966477
This commit is contained in:
Jeff Sharkey
2016-01-06 14:51:30 -07:00
parent acd0d1e9ff
commit df828405b1
7 changed files with 13 additions and 13 deletions

View File

@@ -1097,7 +1097,7 @@ public class ManageApplications extends InstrumentedFragment
private CharSequence getDomainsSummary(String packageName) {
// If the user has explicitly said "no" for this package, that's the
// string we should show.
int domainStatus = mPm.getIntentVerificationStatus(packageName, UserHandle.myUserId());
int domainStatus = mPm.getIntentVerificationStatusAsUser(packageName, UserHandle.myUserId());
if (domainStatus == PackageManager.INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_NEVER) {
return mContext.getString(R.string.domain_urls_summary_none);
}