Enforce visibleToInstantApps for receivers
Instant apps can only send broadcasts to receivers that are declared in the manifest with android:visibleToInstantApps=true or if the app registers a receiver at runtime using the new methods that take visibleToInstantApps. Bug:33350280 Test: Manually sending broadcasts from Instant Apps only goes to receivers with visibleToInstantApps set to true. Test: Receiving a broadcast from within the same app does not require visibleToInstantApps to be set. Change-Id: I54d79a502ba9c5fd03ede3c09e08afc88fe2775f
Loading
Please register or sign in to comment