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

Commit 7b900bf8 authored by Joe Antonetti's avatar Joe Antonetti
Browse files

Fix ContinuityDeviceConnected

Protobufs will not include int32 values of "0" on the wire, but ContinuityDeviceConnected will throw an error if `currentForegroundTaskId` is not found. This change fixes the bug by assuming `currentForegroundTaskId` is 0 unless read.

Flag: android.companion.enable_task_continuity
Test: Added unit tests
Bug: 400970610
Change-Id: Icc7a66c1517130b75a6082d1de16aa8a5f17b752
parent 4a6a454b
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