Android Q changes: Privacy appendix

This page contains more details about changes to specific classes and methods that help improve user privacy.

Methods that now require fine location access

If your app targets Android Q, the following methods within the Wi-Fi, Wi-Fi Aware, or Bluetooth APIs require the ACCESS_FINE_LOCATION permission:

Telephony

  • TelephonyManager
    • getCellLocation()
    • getAllCellInfo()
    • requestNetworkScan()
    • requestCellInfoUpdate()
    • getAvailableNetworks()
    • getServiceStateForSubscriber
    • getServiceState()
  • TelephonyScanManager
    • requestNetworkScan()
  • PhoneStateListener
    • onCellLocationChanged()
    • onCellInfoChanged()
    • onServiceStateChanged()
  • NetworkScanCallback
    • onResults()

Wi-Fi

  • WifiScanner
    • startScan()
  • WifiManager
    • startScan()
    • getScanResults()
  • WifiAwareManager
  • WifiP2pManager
  • WifiRTTManager

Bluetooth

  • BluetoothAdapter
    • startDiscovery()
    • startLeScan()
    • LeScanCallback()