Fix user mismatch in getUserRestrictionSources verification
The test is setting up the mocks and the fake user context in a way that can end up calling UserManager with the wrong user id (on HSUM, or otherwise with secondary users). As a quick fix, ignore the user in the verify() call, since the crucial part is checking that the DISALLOW_ADJUST_VOLUME restriction was the one queried. Bug: 418336586 Test: ModesTileTest Flag: TEST_ONLY Change-Id: I29d7b38bd7b5841b7f3f1f7a13a94c6086c9c216
Loading
Please register or sign in to comment