DescriptionFix the following two cases in multiprofile scenario:
1) Window A belongs to user1 and is shown for user1. Minimizes window A.
Switch to user2, window A can not be activated by user2.
2) Window A belongs to user1 and is shown for user2. Then windowA can be activated
by user2 but cannot be activated by user1.
Also add unit tests for these two cases.
BUG=471858
TEST=manually tested
Committed: https://crrev.com/13beb501975bbc13f07cd8a1915a8a51310cecec
Cr-Commit-Position: refs/heads/master@{#325259}
Patch Set 1 : #
Total comments: 11
Patch Set 2 : Address Oshima's comments. #
Total comments: 5
Patch Set 3 : Address Oshima's comments. #Patch Set 4 : Address Oshima's comment. #
Total comments: 2
Patch Set 5 : Fix broken test RestartDeviceTest.Restart. #Patch Set 6 : Fix the system crash when add another user into chromeos system. #
Total comments: 3
Patch Set 7 : Address skuhne@'s comments. #Messages
Total messages: 29 (10 generated)
|