Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cbe85d4d authored by Xiang Wang's avatar Xiang Wang
Browse files

Revert "Modify the logic that updates the information of enabled services in...

Revert "Modify the logic that updates the information of enabled services in ManagedServices to handle the visible background user in MUMD"

This reverts commit d1f905fd.

Reason for revert: Original CL broke CtsNotificationTestCases and CtsJobSchedulerTestCases on secondary_user_on_secondary_display and without the original CL the logic still has no negative impact on the current user as populateComponentsToBind, if triggered from visible background users, just clears mEnabledServicesForCurrentProfiles and mEnabledServicesPackageNames but also repopulates them for the active users (current user and their work profiles).

Bug: 374182059
Bug: 376252164
Bug: 376145534
Test: atest CtsNotificationTestCases
Test: atest --user-type secondary_user_on_secondary_display CtsNotificationTestCases
Test: atest ManagedServicesTest
Test: Manual testing on gcar_md emulator / seahawk_md reference hardware with Kitchen Sink->Notification and observe notifications can be fired and received for the driver and passenger independent of each other.
Change-Id: I493e96e8fcd4896cf507afaa2d705e829cbb18f6
parent d1f905fd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment