commit | a21ef9bb58587efc53fb6ba03c68565178b83077 | [log] [tgz] |
---|---|---|
author | Chalard Jean <jchalard@google.com> | Fri Apr 02 19:24:44 2021 +0900 |
committer | Chalard Jean <jchalard@google.com> | Fri Apr 02 19:24:44 2021 +0900 |
tree | 7a92b54c35c0d3cc6521c5411ba395704418a5bc | |
parent | 0396188eb6d55a0ae6cb6fa27d90af2d11f3dc48 [diff] |
Fix a bug where the wrong profile is queried UserManager#isManagedProfile() is not aware of the user handle of the context the UM instance is created on. Instead, call isManagedProfile(int). Bug: 183625645 Test: ConnectivityServiceTest Change-Id: I1fef22d67d75df25a8c2d0694f857c3e1c1a1306