Merge "Make switch user test measurements consistent with each other."
This commit is contained in:
committed by
Android (Google) Code Review
commit
8f156474d5
@@ -273,9 +273,7 @@ public class UserLifecycleTests {
|
||||
mRunner.resumeTiming();
|
||||
Log.i(TAG, "Starting timer");
|
||||
|
||||
runThenWaitForBroadcasts(testUser, () -> {
|
||||
mAm.switchUser(testUser);
|
||||
}, Intent.ACTION_USER_UNLOCKED);
|
||||
switchUser(testUser);
|
||||
|
||||
mRunner.pauseTiming();
|
||||
Log.i(TAG, "Stopping timer");
|
||||
|
||||
Reference in New Issue
Block a user