commit | f20a4d8a971a93270c9e058aa8878ae49a7303c3 | [log] [tgz] |
---|---|---|
author | Vishnu Nair <vishnun@google.com> | Mon Apr 22 16:14:47 2019 -0700 |
committer | Vishnu Nair <vishnun@google.com> | Mon Apr 22 16:14:47 2019 -0700 |
tree | 00e3b7e752d8a18145d000ee3e8209c670690ced | |
parent | 6805b6ae0d574f44fd7985e76bd6b9556f390312 [diff] |
[wm] Add tests to check adjust bounds logic will always exit In previous release, there was a scenario where the logic will result in an infinite loop crashing the system. This change refactors the adjust bounds logic to make it easier to test. Also adds a new test without any candidate bounds and verifies it always returns. Test: atest WmTests:TaskLaunchParamsModifierTests Bug: 129491503 Change-Id: Iba94ade78cab154b823ae6ad5a6c3da198957715