Skip to content
Commit e4489b4c authored by Hongwei Wang's avatar Hongwei Wang
Browse files

Bail early if mToken.asBinder() not found

Not able to reproduce what's in the original bug report, this null check
is added as a safe guard. A possible scenario is
PipTaskOrganizer#exitPip is called twice and there is a race condition
that the first applySyncTransaction is not ready yet and leave the
internal state as it was, the second call tries to get configuration and
it is null, which leads to a NPE.

This is a counterpart of ag/12674237

Bug: 169360509
Test: N/A
Change-Id: Ife3281178f341a4118820b6e511afdab56f9ff11
parent 0e2927e7
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