commit | 60967ccf49cc68ec7cc6f9f491eb6bbfbe8f57c1 | [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 | afabfdbcfc02c1e07a1d50376e3f33863fe8e754 | |
parent | f88102ce0eba2e3e7ee9a916a425825fc818f712 [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