Skip to content
Commit 6a255f79 authored by Hans Månsson's avatar Hans Månsson Committed by Patrick Baumann
Browse files

Filter preferred activities before committing to storage

When running CtsShortcutHostTestCases, package-restrictions.xml is
backed up and restored. When restoring the backup, preferred activities
are added to package-restrictions.xml without checking for duplicates.
This causes package-restrictions.xml to double in size each time
CtsShortcutHostTestCases is performing a backup and restore cycle.
Eventually the system will behave strangely, with lots of binder
allocation errors preventing apps from starting.

Bug: 144526220
Test: manual (monitor packages-restrictions.xml while running CtsShortcutHostTestCases)
Change-Id: Ie4367c749c5cc0e403c6d38f6b290064b1cff40e
parent a2186c9f
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