Configuring the LBS Root Repository Initialisation File (Optional)

This topic describes how to configure LBS so that the Privacy Controller is started when a privacy request is received and LBS is in the Standalone Privacy Mode configuration.

Implementing an observer class that derives from MLbsPrivacyObserver2 causes the licensee Privacy Controller to receive notification of an LBS subsystem shutdown so that it may free resources and then shut itself down. However this does not cause the Privacy Controller to be automatically started when the LBS subsystem is started (for example when a privacy request is received and the LBS subsystem is configured in the Standalone Privacy Mode configuration).

LBS Root is the process with responsibility for starting and monitoring all the other processes that are part of the LBS subsystem. LBS Root uses the Symbian platform Central Repository to store the identities of the processes that it manages. In order to start the Privacy Controller when LBS starts, it is necessary to record the UID (secure ID) of the Privacy Controller process in the LBS Root Central Repository initialisation file.

The LBS Root repository initialisation source file is stored in the LBS source tree at <source_dir>\LBS\lbsroot\group\10282266.txt (the binary file 10282266.cre is stored at the same location).

Note: The Privacy Controller UID must only be added to the LBSRoot repository initialisation file when the LBS subsystem is in the Standalone Privacy Mode configuration. For the Full LBS configuration (in which the LBS subsystem is started on device startup in order to be able to handle emergency requests) a licensee should use a different method of starting their Privacy Controller, such as the System Starter component. For the Full LBS configuration it is not the responsibility of LBS Root to ensure that the Privacy Controller remains available to handle privacy requests.

For details about how to configure the LBS Root repository file see the LBS Integration and Configuration Guide.