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

Commit 3c4a7e49 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "PowerManager: Add one prop to control the max brightness."

parents 294526af 81887700
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -399,8 +399,9 @@ public final class PowerManager {
     * @hide
     */
    public int getMaximumScreenBrightnessSetting() {
        return mContext.getResources().getInteger(
        int maxBrightness = mContext.getResources().getInteger(
                com.android.internal.R.integer.config_screenBrightnessSettingMaximum);
        return SystemProperties.getInt("persist.power.max.brightness", maxBrightness);
    }

    /**