Loading services/companion/java/com/android/server/companion/CompanionDeviceManagerService.java +19 −14 Original line number Diff line number Diff line Loading @@ -612,6 +612,8 @@ public class CompanionDeviceManagerService extends SystemService implements Bind + " for " + association + " - profile still present in " + otherAssociationWithDeviceProfile); } else { long identity = Binder.clearCallingIdentity(); try { mRoleManager.removeRoleHolderAsUser( association.getDeviceProfile(), association.getPackageName(), Loading @@ -626,6 +628,9 @@ public class CompanionDeviceManagerService extends SystemService implements Bind + " for user " + association.getUserId()); } }); } finally { Binder.restoreCallingIdentity(identity); } } } } Loading Loading
services/companion/java/com/android/server/companion/CompanionDeviceManagerService.java +19 −14 Original line number Diff line number Diff line Loading @@ -612,6 +612,8 @@ public class CompanionDeviceManagerService extends SystemService implements Bind + " for " + association + " - profile still present in " + otherAssociationWithDeviceProfile); } else { long identity = Binder.clearCallingIdentity(); try { mRoleManager.removeRoleHolderAsUser( association.getDeviceProfile(), association.getPackageName(), Loading @@ -626,6 +628,9 @@ public class CompanionDeviceManagerService extends SystemService implements Bind + " for user " + association.getUserId()); } }); } finally { Binder.restoreCallingIdentity(identity); } } } } Loading