[core] Fix broadcast receiver after soft reboot (#739)
`sendToBridge` stucks the binder thread so that `ActivityManagerService`'s receipent won't be called
This commit is contained in:
parent
547c512546
commit
9ccef6b794
|
|
@ -94,7 +94,7 @@ public class BridgeService {
|
||||||
bridgeService.unlinkToDeath(this, 0);
|
bridgeService.unlinkToDeath(this, 0);
|
||||||
bridgeService = null;
|
bridgeService = null;
|
||||||
listener.onSystemServerDied();
|
listener.onSystemServerDied();
|
||||||
sendToBridge(serviceBinder, true);
|
new Thread(()-> sendToBridge(serviceBinder, true)).start();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue