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

Commit ce2942f0 authored by Xiaowen Lei's avatar Xiaowen Lei Committed by Android (Google) Code Review
Browse files

Merge "Rename updateMediaLuma to updateMedianLuma."

parents 4e1d9153 65555750
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -117,7 +117,7 @@ public class RegionSamplingHelper implements View.OnAttachStateChangeListener,
            @Override
            public void onSampleCollected(float medianLuma) {
                if (mSamplingEnabled) {
                    updateMediaLuma(medianLuma);
                    updateMedianLuma(medianLuma);
                }
            }
        };
@@ -261,7 +261,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