Correct the behavior of ACTION_PACKAGE_DATA_CLEARED
This action should be only broadcasted when the user data is cleared
successfully. Broadcasting this action when failed case may result in
unexpected result.
Bug: 240267890
Test: manually using the PoC in the buganizer to ensure the symptom
no longer exists.
Test: atest CtsAppEnumerationTestCases:AppEnumerationTests
Test: atest FrameworksServicesTests:ShortcutManagerTest1
Test: atest FrameworksServicesTests:TileRequestTrackerTest
Change-Id: I285bb266d42ccb9941f3ebdb237229f0ce9ffe32
1 file changed