Use getUserHandles() instead of getUsers() to get user id
UserManager#getUsers() is a hidden API, use getUserHandles() to get user id instead in PermissionMonitor. Bug: 171529940 Test: atest FrameworksNetTests Change-Id: Ic304627688de8e49505a95ebc99628b2e0eafab9
Loading
Please register or sign in to comment