commit | 6e09f2a6ce06271bb26e48534c2d8e08ac25ef45 | [log] [tgz] |
---|---|---|
author | lucaslin <lucaslin@google.com> | Fri Feb 19 18:21:02 2021 +0800 |
committer | Lucas Lin <lucaslin@google.com> | Tue Mar 02 02:21:39 2021 +0000 |
tree | 2079b231a65215b0fe2eac20cd59b88118f5ff1d | |
parent | 993577449aa129030da989c3e804c0d7925d7170 [diff] |
Use UserHandle#getIdentifier to get the userid UidRange uses PER_USER_RANGE to calculate and get the userid, but PER_USER_RANGE is a hidden API, so use getIdentifier to get the userid instead. Bug: 170598012 Test: atest FrameworksNetTests:UidRangeTest Change-Id: I06ab0f2da8a33d2b718bbc3a609d3d6a5fe0a095