Searched refs:mOnModeChangedListener (Results 1 – 1 of 1) sorted by relevance
358 private AudioManager.OnModeChangedListener mOnModeChangedListener; field in PhoneWindow2409 if (mOnModeChangedListener != null) { in onDestroy()2410 getAudioManager().removeOnModeChangedListener(mOnModeChangedListener); in onDestroy()2411 mOnModeChangedListener = null; in onDestroy()3349 if (controller != null && mOnModeChangedListener == null) {3351 mOnModeChangedListener = mode -> mAudioMode = mode;3353 mOnModeChangedListener);3354 } else if (mOnModeChangedListener != null) {3355 getAudioManager().removeOnModeChangedListener(mOnModeChangedListener);3356 mOnModeChangedListener = null;