Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2e6fcbbb authored by Reid Holland's avatar Reid Holland Committed by Gerrit Code Review
Browse files

Allow theming of lockscreen

Change-Id: I10799482e0b393746b4c9818f94862109fac6006
parent 063e4bc0
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -65,6 +65,7 @@ import android.view.animation.AnimationUtils;
import android.widget.RemoteViews.OnClickHandler;

import com.android.internal.R;
import com.android.internal.app.ThemeUtils;
import com.android.internal.policy.impl.keyguard.KeyguardSecurityModel.SecurityMode;
import com.android.internal.policy.impl.keyguard.KeyguardUpdateMonitor.DisplayClientState;
import com.android.internal.widget.LockPatternUtils;
@@ -981,7 +982,7 @@ public class KeyguardHostView extends KeyguardViewBase {
        }
        int layoutId = getLayoutIdFor(securityMode);
        if (view == null && layoutId != 0) {
            final LayoutInflater inflater = LayoutInflater.from(mContext);
            final LayoutInflater inflater = LayoutInflater.from(ThemeUtils.createUiContext(mContext));
            if (DEBUG) Log.v(TAG, "inflating id = " + layoutId);
            View v = inflater.inflate(layoutId, mSecurityViewContainer, false);
            mSecurityViewContainer.addView(v);