Expose instant app to exposed providers

Bug: 36814248
Test: Manual
Change-Id: Ia919bcb2d9c8a52c7277429004ad09be2db03a43
This commit is contained in:
Todd Kennedy
2017-03-31 14:10:18 -07:00
parent 9220ff1f5a
commit 63ee64cca7

View File

@@ -11529,6 +11529,9 @@ public class ActivityManagerService extends IActivityManager.Stub
}
}
checkTime(startTime, "getContentProviderImpl: done!");
grantEphemeralAccessLocked(userId, null /*intent*/,
cpi.applicationInfo.uid, UserHandle.getAppId(Binder.getCallingUid()));
}
// Wait for the provider to be published...