• Bjorn Bringert's avatar
    Add geolocation permissions to BrowserProvider · e6c4bd8a
    Bjorn Bringert authored
    The old hidden Google-specific framework setting
    Settings.Secure.USE_LOCATION_FOR_SERVICES has been removed
    and replaced by a setting in GoogleSettingsProvider.
    
    Since Browser can't read from GoogleSettingsProvider,
    I've instead changed SetupWizard and the Google search settings
    (in GoogleQuickSearchBox) to write to this new geolocation
    content provider in the Browser.
    
    The geolocation permission content provider is write-only, and
    requires a signatureOrSystem permission to write to. So
    only system apps can add geolocation permissions,
    and the only system apps that do so are SetupWizard and
    GoogleQuickSearchBox.
    
    Bug: http://b/issue?id=2428694
    Change-Id: I0be5dbf4d99d07ca13b07fb299155c5aa17a51bd
    e6c4bd8a
AndroidManifest.xml 10.8 KB