super(context); mContext = context; mResolver = context.getContentResolver(); mDbHelper = new DatabaseHelper(context); mSoundTriggerHelper = new SoundTriggerHelper(context);
if (phase == PHASE_THIRD_PARTY_APPS_CAN_START) { mServiceStub.systemRunning(isSafeMode()); }
publishBinderService(Context.VOICE_INTERACTION_MANAGER_SERVICE, mServiceStub);
mServiceStub.initForUser(userHandle);
mServiceStub.switchUser(userHandle);