Internalize setPackageStoppedState() call.
Several places across the OS internals were invoking this method via AppGlobals, which is a poor strategy for testing. Moving the call to PackageManagerInternal supports easier mocking. Bug: 243656033 Test: atest CtsContentTestCases:BroadcastReceiverTest Test: atest FrameworksMockingServicesTests:BroadcastQueueTest Change-Id: Ie29f60ac379eac8137af1301ac5cded4c9f37fc8
Loading
Please register or sign in to comment