summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ScriptIntrinsic.java
diff options
context:
space:
mode:
authorRoshan Pius <rpius@google.com>2020-12-22 15:10:42 -0800
committerRoshan Pius <rpius@google.com>2021-03-11 18:27:18 -0800
commitd9c78f69929e619fb466ba317976c060901856c1 (patch)
tree956a8cb373b06b8097a87fcffc19b5aade505b5e /rs/java/android/renderscript/ScriptIntrinsic.java
parentc77293b7a92590e5583b9af0e4a6128d841f8c6f (diff)
ConnectivityManager: Provide API's to include location sensitive info
Existing NetworkCallback users will get NetworkCapabilities with location sensitive data removed (except for ownerUid which will be added for existing apps for backwards compatibility). Apps have to opt-in to receive location sensitive data. Note: This was chosen because WifiInfo is the only TransportInfo tha has location sensitive info & that was added only in Android 12. If we choose to default to true, all existings apps retrieving NetworkCapabilities for wifi networks will be blamed for location access unnecessarily. Changes: i) Add a flag in NetworkCallback creation to retrieve NetworkCapabilities with location sensitive info in their callback. (More flags are being planned for NetworkCallback for throttling callback frequency, etc) ii) For NetworkCapabilities.getOwnerUid(), we will continue to send the data for apps targeting older SDK (since this is an existing field and the new flag defaults location sensitive data to off). Bug: 156867433 Test: atest android.net Test: atest com.android.server Change-Id: If70b5ea6f5c8885f0c353c8df08a826d55fe7f7a
Diffstat (limited to 'rs/java/android/renderscript/ScriptIntrinsic.java')
0 files changed, 0 insertions, 0 deletions