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

Commit 6c81629f authored by Sergey Nikolaienkov's avatar Sergey Nikolaienkov
Browse files

Remove duplicated setCompanionAppUids() line in CdmService

Bug: 171305836
Test: atest CtsCompanionDeviceManagerCoreTestCases
Change-Id: Iaee574b184492eb03c9652f4ad9d7ae221dfc556
parent c87eb5a4
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));
        }
    }