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

Skip to content
Commit 9b73080d authored by Sergey Nikolaienkov's avatar Sergey Nikolaienkov
Browse files

Optimize checking if package defines companion services in CDM

Check if the companion application defines CompanionDeviceServices
before attempting to create CompanionDeviceServiceConnector and before
acquering mBoundCompanionApplications lock in
CompanionApplicationController.bindCompanionApplication().

Add more debug logging (under DEBUG flag).

Remove unused CompanionServicesRegister.primaryForPackage() method.

Bug: 222237190
Test: atest CtsCompanionDeviceManagerCoreTestCases
Test: atest CtsCompanionDeviceManagerNoCompanionServicesTestCases
Change-Id: Iee7d3feec89147c9585bcfb620eb2566ee685be3
parent 8237b942
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment