diff --git a/packages/SystemUI/src/com/android/systemui/volume/ZenModePanel.java b/packages/SystemUI/src/com/android/systemui/volume/ZenModePanel.java index ecdea4f442b27..4716552e94a16 100644 --- a/packages/SystemUI/src/com/android/systemui/volume/ZenModePanel.java +++ b/packages/SystemUI/src/com/android/systemui/volume/ZenModePanel.java @@ -144,7 +144,7 @@ public class ZenModePanel extends FrameLayout { super(context, attrs); mContext = context; mPrefs = new ZenPrefs(); - mInflater = LayoutInflater.from(mContext.getApplicationContext()); + mInflater = LayoutInflater.from(mContext); mForeverId = Condition.newId(mContext).appendPath("forever").build(); mConfigurableTexts = new ConfigurableTexts(mContext); mVoiceCapable = Util.isVoiceCapable(mContext);