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

Skip to content
Commit 91cbc689 authored by Jigar Thakkar's avatar Jigar Thakkar
Browse files

Add tests for private profile delayed locking

This change adds UserControllerTests for testing the delayed locking
flows for private profile. The following scenarios are covered:
- Private profile should be stopped and locked if stopUser is called
- Private profile should be stopped and locked if
  stopUserWithDelayedLocking is called but the private profile feature
  flags are disabled
- Private profile should be stopped and locked if
  stopUserWithDelayedLocking is called but mMaxRunningUsers is less than
  the total running users
- Private profile should be stopped and unlocked if
  stopUserWithDelayedLocking is called with private profile flags turned
  on and mMaxRunningUsers greater than the total running users

Test: atest UserControllerTests
Bug: 312184187

Change-Id: I2af727edf52340c9f4b64614715f70226b88fd75
parent 90e467e1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment