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

Display location icon

Last Updated: 12/12/2016

Partners can hide the location icon in the system tray if they choose.

By default, the location icon in the system tray is displayed whenever an app requests the user's location. Users may override the setting in the Location settings screen.

Constraints: FirstVariationOnly

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="LocationIcon"  
                         Description="Use to configure the display of the location icon in the system tray."  
                         Owner=""  
                         OwnerType="OEM"> 
    
      <Static>  
    
        <Settings Path="Shell/SystemTray/Location">  
          <Setting Name="LocationIcon" Value="" />    
       </Settings>  
    
      </Static>
    
    </ImageCustomizations>
    
  2. Specify an Owner.

  3. Set the value of LocationIcon to one of the following:

    ValueDescription

    1 or 'Enabled'

    Displays the location icon in the system tray. This is the default.

    0 or 'Disabled'

    Hides the location icon in the system tray.

Testing steps:

  1. Flash a build containing this customization to a device.

  2. Depending on the value you set for LocationIcon, verify if the location icon is displayed or is hidden in the system tray if an app that requests the user's location is launched.

  3. Go to the Settings > Location screen. Change the value of the Show icon option and verify if the location icon is displayed or is hidden from the system tray based on the setting you chose.

Send comments about this topic to Microsoft

© 2017 Microsoft