Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 993030e5 authored by Sergey Nikolaienkov's avatar Sergey Nikolaienkov Committed by Android (Google) Code Review
Browse files

Merge "Remove duplicated setCompanionAppUids() line in CdmService"

parents 7a8a2c43 6c81629f
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -973,11 +973,8 @@ public class CompanionDeviceManagerService extends SystemService {
                companionAppUids.add(uid);
            }
        }
        if (mAtmInternal != null) {
            mAtmInternal.setCompanionAppUids(userId, companionAppUids);
        }
        if (mAmInternal != null) {
            // Make a copy of companionAppUids and send it to ActivityManager.
            // Make a copy of the set and send it to ActivityManager.
            mAmInternal.setCompanionAppUids(userId, new ArraySet<>(companionAppUids));
        }
    }