diff options
| author | 2021-09-18 06:33:57 +0000 | |
|---|---|---|
| committer | 2021-09-18 06:33:57 +0000 | |
| commit | 98fa7d142f9dabf78bbe3c180ecee02a0f21525b (patch) | |
| tree | e8fc8a55d88738f62ddee281736e78d900615f74 | |
| parent | 50348e3120535ad08e93ed5cad3870f8ce34275a (diff) | |
| parent | 04a442e53639efcac948c36947c798d679d3279c (diff) | |
Merge "Prevent nesting of ContextThemeWrapper" into sc-qpr1-dev
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/policy/BrightnessMirrorController.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/policy/BrightnessMirrorController.java b/packages/SystemUI/src/com/android/systemui/statusbar/policy/BrightnessMirrorController.java index a0edc7c494bc..1e5251196379 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/policy/BrightnessMirrorController.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/policy/BrightnessMirrorController.java @@ -149,7 +149,7 @@ public class BrightnessMirrorController private void reinflate() { int index = mStatusBarWindow.indexOfChild(mBrightnessMirror); mStatusBarWindow.removeView(mBrightnessMirror); - mBrightnessMirror = (FrameLayout) LayoutInflater.from(mBrightnessMirror.getContext()) + mBrightnessMirror = (FrameLayout) LayoutInflater.from(mStatusBarWindow.getContext()) .inflate(R.layout.brightness_mirror_container, mStatusBarWindow, false); mToggleSliderController = setMirrorLayout(); mStatusBarWindow.addView(mBrightnessMirror, index); |