Table of contents
TOC
Collapse the table of content
Expand the table of content

Hide the auto brightness setting

Last Updated: 12/12/2016

OEMs can hide the automatic brightness setting for phones that do not have an ambient light sensor.

Constraints: ImageTimeOnly

Instructions:

  1. Create a customization answer file using the contents shown in the following code sample.

    <?xml version="1.0" encoding="utf-8" ?>  
    <ImageCustomizations xmlns="http://schemas.microsoft.com/embedded/2004/10/ImageUpdate"  
                         Name="HideAutoBrightness"  
                         Description="Use to hide the auto brightness setting for phones without an ambient light sensor."  
                         Owner=""  
                         OwnerType="OEM"> 
    
      <Static>  
    
        <Settings Path="Brightness">  
          <Setting Name="HideAutoBrightness" Value="" />
        </Settings>  
    
      </Static>
    
    </ImageCustomizations>
    
  2. Specify an Owner.

  3. Set Value to one of the following:

    ValueDescription

    0 or 'Show'

    Use to show the Automatically adjust setting in the Settings > brightness screen.

    1 or 'Hide'

    Use to hide the Automatically adjust setting in the Settings > brightness screen.

Testing:

  1. Flash the build that contains this customization to a phone.

  2. In Settings, go to the Brightness screen.

  3. Verify that the Automatically adjust toggle is hidden or visible depending on the Value that you set for HideAutoBrightness.

Send comments about this topic to Microsoft

© 2017 Microsoft