[core] Fix initialization order (#1205)
This commit is contained in:
parent
5809e74f44
commit
5ad5d3f56a
|
|
@ -86,12 +86,13 @@ public class LSPManagerService extends ILSPManagerService.Stub {
|
||||||
public static final int CHANNEL_IMP = NotificationManager.IMPORTANCE_HIGH;
|
public static final int CHANNEL_IMP = NotificationManager.IMPORTANCE_HIGH;
|
||||||
|
|
||||||
private static final HandlerThread worker = new HandlerThread("manager worker");
|
private static final HandlerThread worker = new HandlerThread("manager worker");
|
||||||
private static final Handler workerHandler = new Handler(worker.getLooper());
|
private static final Handler workerHandler;
|
||||||
|
|
||||||
private static Intent managerIntent = null;
|
private static Intent managerIntent = null;
|
||||||
|
|
||||||
static {
|
static {
|
||||||
worker.start();
|
worker.start();
|
||||||
|
workerHandler = new Handler(worker.getLooper());
|
||||||
}
|
}
|
||||||
|
|
||||||
public class ManagerGuard implements IBinder.DeathRecipient {
|
public class ManagerGuard implements IBinder.DeathRecipient {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue