Fixes ignoring interaction flags from launcher from race

Systemui binds to launcher, launcher then binds back and immediately
sends the interaction flags. The bounded user id would be set after
this operation but there was a race after onbind and applying the
interaction flags. If the interaction flags runs first before setting
new user id, then it uses the old id to check if the operation is valid
thereby ignoring this call making the interaction flags incorrect. Solve
this race by setting the new user id immediately after system ui binds
to launcher.

Change-Id: I830c003d8189edf31c71ee764edf88927b6ec708
Fixes: 116230457
Test: manual
1 file changed