Decouple PolicyManager native initialization and registration with activities.