Skip to content

Commit

Permalink
Add Activity recognition permission (#2645)
Browse files Browse the repository at this point in the history
  • Loading branch information
ale5000-git authored Dec 10, 2024
1 parent b1f0706 commit cc03a58
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions play-services-core/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@
android:label="@string/permission_service_writely_label"
android:protectionLevel="dangerous" />

<permission
android:name="com.google.android.gms.permission.ACTIVITY_RECOGNITION"
android:label="@string/perm_activity_recognition_label"
android:description="@string/perm_activity_recognition_description"
android:protectionLevel="normal" />

<permission
android:name="com.google.android.gms.permission.AD_ID"
android:label="@string/perm_ad_id_label"
Expand Down
3 changes: 3 additions & 0 deletions play-services-core/src/main/res/values/permissions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@
<string name="permission_service_YouTubeUser_label">YouTube usernames</string>
<string name="permission_service_YouTubeUser_description">Allows app to access YouTube username(s) used with any associated Google account.</string>

<string name="perm_activity_recognition_label">Activity recognition</string>
<string name="perm_activity_recognition_description">Allows an app to receive periodic updates of your activity level from Google, for example, if you are walking, driving, cycling, or stationary.</string>

<string name="permission_scope_www.googleapis.com_auth_activity">View the activity history of your Google Apps</string>
<string name="permission_scope_www.googleapis.com_auth_adexchange.buyer">Manage your Ad Exchange buyer account configuration</string>
<string name="permission_scope_www.googleapis.com_auth_adexchange.seller.readonly">View your Ad Exchange data</string>
Expand Down

0 comments on commit cc03a58

Please sign in to comment.