commit | 4c4bc93b5eb1d830a9be22658baea5628f8aa477 | [log] [tgz] |
---|---|---|
author | Chalard Jean <jchalard@google.com> | Fri May 18 23:48:49 2018 +0900 |
committer | Chalard Jean <jchalard@google.com> | Mon May 21 14:46:40 2018 +0900 |
tree | 93f36a57d1c72adbc016a72f9ef6170746b6a1fd | |
parent | 86b2581c16935d3eea6a012ab8812bfb78238e69 [diff] |
Fix setCapabilities. P introduced setSSID, UIDs and unwanted capabilities. None of these exhibit commutative behavior through combineCapabilities because their semantics don't allow it. Therefore NetworkRequest.setCapabilities() is badly broken around any of these. Look at the comments in the new tests to realize the extent of the damage. Bug: 79748782 Test: new tests written, old tests pass Change-Id: Ie46581bdaf9ecc2f14aab44788bbdb27a3fec8c1