I think my question is being mis-understood. Let me try to clarify.

First, I am asking only about the INTERNET permission.

Per the official Android documentation :
https://developer.android.com/preview/features/runtime-permissions.html

"

   - 
   
   *Limited Permissions Granted at Install Time:* When the user installs or 
   updates the app, the system grants the app all permissions that the app 
   requests that fall under PROTECTION_NORMAL 
   
<https://developer.android.com/reference/android/content/pm/PermissionInfo.html#PROTECTION_NORMAL>.
 
   For example, alarm clock and internet permissions fall under 
   PROTECTION_NORMAL 
   
<https://developer.android.com/reference/android/content/pm/PermissionInfo.html#PROTECTION_NORMAL>,
 
   so they are automatically granted at install time.
   
   The system may also grant the app signature and system permissions, as 
   described in System apps and signature permissions 
   
<https://developer.android.com/preview/features/runtime-permissions.html#system-apps>.
 
   The user is *not* prompted to grant any permissions at install time.
   
"

Particular note that it says "....the system grants the app all permissions 
that *the app requests*". So, if the app does not have INTERNET permission 
in its AndroidManifest.xml, it won't be granted access to INTERNET in that 
case ?


On Tuesday, June 9, 2015 at 2:27:14 AM UTC-7, luixal wrote:
>
> I think that depends if the play app asks for permissions when installing 
> or only when a permission is needed (at the moment, when the app is 
> running).
>
> If it works the second way, it wouldn't matter.
>
> El mar., 9 de junio de 2015 9:59, just a dev <[email protected] 
> <javascript:>> escribió:
>
>> "automatically added" as-in the APK's AndroidManifest.xml will contain 
>> android.permission.INTERNET automatically ? What if the app does not want 
>> to request that permission ?
>>
>>
>> On Monday, June 8, 2015 at 6:09:36 PM UTC-7, Jonathan S wrote:
>>>
>>> If you compiled against Android M, Internet will be automatically added.
>>>
>>> On Monday, June 8, 2015 at 8:03:36 PM UTC-4, just a dev wrote:
>>>>
>>>> Regarding the recent announcement on Google I/O about Android M and its 
>>>> new permission model, can anyone clarify if every app has INTERNET 
>>>> permission or only the ones that define INTERNET permission exclusively in 
>>>> their manifest have it ?
>>>>
>>>  -- 
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to [email protected] 
>> <javascript:>
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Android Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to