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
Loading
Please register or sign in to comment