Only send exposed broadcasts to Instant Apps
In order to prevent Instant Apps from receiving potentially sensitive broadcasts they will only receive those that the sender explicitly exposes to Instant Apps by setting Intent.FLAG_RECEIVER_VISIBLE_TO_INSTANT_APPS. Bug:33350280 Test: `adb shell am broadcast` does not get delivered to Instant App Test: `adb shell am broadcast -f 0x0x200000` gets delivered to Instant App Test: Verified that an Instant App can send a broadcast to itself without FLAG_RECEIVER_VISIBLE_TO_INSTANT_APPS Change-Id: Ie363448bf224abba530dd4caf69258939fff00af
Loading
Please register or sign in to comment