Fix the concurrency issue when 'linkToDeath' in AccountManagerService that leads to JE

Move the ref of 'mResponse' after the completion of 'linkToDeath' to avoid concurrency issues caused by 'unlinkToDeath' being triggered in different thread

Test: MTBF
Bug: 291856266

Change-Id: Ifc5af9f85aac83be56afec9a1fb32501a6f32ebc
Signed-off-by: zhuning3 <zhuning3@xiaomi.corp-partner.google.com>
1 file changed