From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Fri, 21 Jul 2017 11:23:07 -0400 Subject: [PATCH] add a NETWORK permission group for INTERNET Ported from 10: b5c9f9407d5f5407686ea8c02fa67573ddc07824 Changes from 10: - Needed to run `m api-stubs-docs-non-updatable-update-current-api` to fix the "You have tried to change the API from what has been previously approved" errors. --- core/api/current.txt | 2 ++ core/res/AndroidManifest.xml | 8 ++++++++ core/res/res/values/strings.xml | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/core/api/current.txt b/core/api/current.txt index 1dd401d04e2b..8d0391a80193 100644 --- a/core/api/current.txt +++ b/core/api/current.txt @@ -203,6 +203,8 @@ package android { field public static final String LOCATION = "android.permission-group.LOCATION"; field public static final String MICROPHONE = "android.permission-group.MICROPHONE"; field public static final String NEARBY_DEVICES = "android.permission-group.NEARBY_DEVICES"; + field public static final String NETWORK = "android.permission-group.NETWORK"; + field public static final String OTHER_SENSORS = "android.permission-group.OTHER_SENSORS"; field public static final String PHONE = "android.permission-group.PHONE"; field public static final String SENSORS = "android.permission-group.SENSORS"; field public static final String SMS = "android.permission-group.SMS"; diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index 0526ce1ef25d..f70c541c5162 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -1730,10 +1730,18 @@ + + + diff --git a/core/res/res/values/strings.xml b/core/res/res/values/strings.xml index 166d6abd1809..27c9026c863a 100644 --- a/core/res/res/values/strings.xml +++ b/core/res/res/values/strings.xml @@ -837,6 +837,11 @@ access sensor data about your vital signs + + Network + + access the network + Retrieve window content