Move setup to earlier boot phase.
Bug: 27764094 Change-Id: I2a01b47129a3ef2a4ae37fbf98eb9ebe81061e62
This commit is contained in:
@@ -155,7 +155,7 @@ public class VrManagerService extends SystemService implements EnabledComponentC
|
||||
|
||||
@Override
|
||||
public void onBootPhase(int phase) {
|
||||
if (phase == SystemService.PHASE_THIRD_PARTY_APPS_CAN_START) {
|
||||
if (phase == SystemService.PHASE_SYSTEM_SERVICES_READY) {
|
||||
synchronized (mLock) {
|
||||
Looper looper = Looper.getMainLooper();
|
||||
Handler handler = new Handler(looper);
|
||||
|
||||
Reference in New Issue
Block a user