Fix zen panel theming
The theme of the panel might be different than sysui now, so it needs to use the right context. Test: visual Change-Id: Ic647421113f6721e63e69afc2b9c5d6c5b0e86f2 Fixes: 63530105
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user