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

Commit b7bc2bc2 authored by Fabien Sanglard's avatar Fabien Sanglard
Browse files

Use libadb_auth to start/stop adbd wifi

Problem: There is a race condition between AdbService and adbd.
AdbService starts adbd wifi using a system property. Depending how fast
adbd responds, the TLS server can be up before AdbDebuggingManager had
a chance to toggle off ADB Wifi (if user has no granted access to the
current Wifi network.

Solution: Leverage libadb_auth to send message from AdbService to adbd.
This allows AdbService to start adbd wifi only after user has granted
access.

Test: Manual
Bug: 414682912
Flag: EXEMPT (Bug fix)
Change-Id: Ia548e1ae2c34ade9acd751e206e811b754a7174b
parent b3372d53
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment