Skip to content
Commit 04cded96 authored by Rhed Jao's avatar Rhed Jao
Browse files

Do not split the suspended packages intent into multiple ones

Previously, we splitted the intent into multiple ones to prevent
from the disclosure of information of packages. This approach impacts
system health. A lots of intents were sent when hundreds of packages
information stored in the intent extras.

This cl stopped splitting of intent. Instead, it passes a filter to the
am#broadcastIntent api for intent broadcast to filter the intent extras
by using the rules of package visibility when passing the intent to the
receiver.

Bug: 238448280
Test: atest AppEnumerationTests
Test: atest SuspendPackagesTest
Test: atest SuspendPackageHelperTest
Change-Id: I6c4051168b855155b49b0bd6b19e0de7dc826df7
parent 200d61e3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment