Display location icon
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.
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>
Set the value of
LocationIconto one of the following:
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.
Flash a build containing this customization to a device.
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.
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.