diff options
| author | 2022-11-29 01:45:38 +0000 | |
|---|---|---|
| committer | 2022-11-29 01:45:38 +0000 | |
| commit | 314ab915072b619646e3b10c43a62b28063b6a3c (patch) | |
| tree | 87de9fd8c90571277bc3018adf2a4d115a6621ff | |
| parent | 2ffb6c0784303773f940a8af698019e641565ed6 (diff) | |
| parent | 1b4e287609d092fda224c455c70c387ac3d8fc4f (diff) | |
Merge "Rename updateMediaLuma to updateMedianLuma." into tm-qpr-dev am: 1b4e287609
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20581907
Change-Id: Ie1bd0aa4d6c1927145b0c6fdf70c206550bdb14c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| -rw-r--r-- | packages/SystemUI/shared/src/com/android/systemui/shared/navigationbar/RegionSamplingHelper.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/SystemUI/shared/src/com/android/systemui/shared/navigationbar/RegionSamplingHelper.java b/packages/SystemUI/shared/src/com/android/systemui/shared/navigationbar/RegionSamplingHelper.java index 023ef319352e..6bc8faa29adf 100644 --- a/packages/SystemUI/shared/src/com/android/systemui/shared/navigationbar/RegionSamplingHelper.java +++ b/packages/SystemUI/shared/src/com/android/systemui/shared/navigationbar/RegionSamplingHelper.java @@ -117,7 +117,7 @@ public class RegionSamplingHelper implements View.OnAttachStateChangeListener, @Override public void onSampleCollected(float medianLuma) { if (mSamplingEnabled) { - updateMediaLuma(medianLuma); + updateMedianLuma(medianLuma); } } }; @@ -260,7 +260,7 @@ public class RegionSamplingHelper implements View.OnAttachStateChangeListener, } } - private void updateMediaLuma(float medianLuma) { + private void updateMedianLuma(float medianLuma) { mCurrentMedianLuma = medianLuma; // If the difference between the new luma and the current luma is larger than threshold |