commit | 0a04bdb7302a6282366f7b132ff463b060ee0e7c | [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 | a5323dd580118f9f7aa8c2870ab0885669f6499a [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