Move setup to earlier boot phase.

Bug: 27764094
Change-Id: I2a01b47129a3ef2a4ae37fbf98eb9ebe81061e62
This commit is contained in:
Ruben Brunk
2016-03-21 12:10:38 -07:00
parent 4f29d45ad4
commit 8507004a35

View File

@@ -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);